forked from espressif/arduino-esp32
more example fixes
This commit is contained in:
@ -51,7 +51,7 @@ License (MIT license):
|
|||||||
#define STR(tok) tok
|
#define STR(tok) tok
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// static void _on_sys_event(system_event_t *event){
|
// static void _on_sys_event(arduino_event_t *event){
|
||||||
// mdns_handle_system_event(NULL, event);
|
// mdns_handle_system_event(NULL, event);
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
@ -12,16 +12,6 @@ This example allows Arduino user to choose either BLE or SOFTAP as a mode of tra
|
|||||||
|
|
||||||
Using this API user can register to receive WiFi Events and Provisioning Events
|
Using this API user can register to receive WiFi Events and Provisioning Events
|
||||||
|
|
||||||
#### Parameters passed
|
|
||||||
|
|
||||||
A function with following signature
|
|
||||||
* void SysProvEvent(system_event_t * , wifi_prov_event_t * );
|
|
||||||
|
|
||||||
#### structure [ wifi_prov_event_t ]
|
|
||||||
|
|
||||||
* wifi_prov_cb_event_t event;
|
|
||||||
* void * event_data;
|
|
||||||
|
|
||||||
## WiFi.beginProvision()
|
## WiFi.beginProvision()
|
||||||
|
|
||||||
WiFi.beginProvision(void ( * scheme_cb)(), wifi_prov_scheme_event_handler_t scheme_event_handler, wifi_prov_security_t security, char * pop, char * service_name, char * service_key, uint8_t * uuid);
|
WiFi.beginProvision(void ( * scheme_cb)(), wifi_prov_scheme_event_handler_t scheme_event_handler, wifi_prov_security_t security, char * pop, char * service_name, char * service_key, uint8_t * uuid);
|
||||||
|
@ -32,8 +32,8 @@
|
|||||||
#define WIFI_AP WIFI_MODE_AP
|
#define WIFI_AP WIFI_MODE_AP
|
||||||
#define WIFI_AP_STA WIFI_MODE_APSTA
|
#define WIFI_AP_STA WIFI_MODE_APSTA
|
||||||
|
|
||||||
#define WiFiEvent_t system_event_id_t
|
#define WiFiEvent_t arduino_event_id_t
|
||||||
#define WiFiEventInfo_t system_event_info_t
|
#define WiFiEventInfo_t arduino_event_info_t
|
||||||
#define WiFiEventId_t wifi_event_id_t
|
#define WiFiEventId_t wifi_event_id_t
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user