make state bits available
This commit is contained in:
parent
82f88e28cb
commit
d941435cb8
2 changed files with 4 additions and 3 deletions
|
@ -7,6 +7,10 @@ void wifi_manager_save_config();
|
|||
void wifi_manager_load_config();
|
||||
void wifi_manager_reset_store();
|
||||
|
||||
const int WIFI_CONNECTED = BIT0;
|
||||
const int WIFI_CONNECTING = BIT1;
|
||||
const int AP_AVAILABLE = BIT2;
|
||||
|
||||
uint8_t wifi_manager_ap_count();
|
||||
uint8_t wifi_manager_add_ap(char *essid, char *password);
|
||||
|
||||
|
|
|
@ -41,9 +41,6 @@ typedef struct ap_store_base {
|
|||
|
||||
ap_store_t ap_store;
|
||||
static EventGroupHandle_t wm_event_group;
|
||||
const int WIFI_CONNECTED = BIT0;
|
||||
const int WIFI_CONNECTING = BIT1;
|
||||
const int AP_AVAILABLE = BIT2;
|
||||
|
||||
uint8_t wifi_manager_ap_count() {
|
||||
return ap_store.count;
|
||||
|
|
Loading…
Reference in a new issue