feat: REST-API mit Routing, Auth und Handlern
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#ifndef FAKE_API_CTX_H
|
||||
#define FAKE_API_CTX_H
|
||||
|
||||
#include "net/nl_api.h"
|
||||
|
||||
extern nl_api_ctx_t fake_ctx;
|
||||
extern nl_light_state_t fake_state;
|
||||
extern nl_settings_t fake_settings;
|
||||
extern nl_sys_info_t fake_info;
|
||||
extern nl_light_change_t fake_last_change;
|
||||
extern nl_ctrl_err_t fake_apply_result;
|
||||
extern int fake_apply_calls, fake_save_calls, fake_save_result;
|
||||
extern int fake_wifi_calls, fake_wifi_result;
|
||||
extern char fake_wifi_ssid[NL_SSID_LEN], fake_wifi_pass[NL_PASS_LEN];
|
||||
extern int fake_factory_calls, fake_ping_calls, fake_fw_result;
|
||||
extern char fake_fw_url[256];
|
||||
extern bool fake_open;
|
||||
|
||||
void fake_api_reset(const char *board_id);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user