Download ESP8266 Book
Transcript
• DHCP_STARTED Includes: • user_interface.h wifi_station_set_reconnect_policy What should happen when the ESP gets disconnected from the AP bool wifi_station_set_reconnect_policy(bool set) Includes: • user_interface.h wifi_station_get_rssi Get the received signal strength indication (rssi) sint8 wifi_station_get_rssi() Includes: • user_interface.h wifi_station_set_hostname bool wifi_station_set_hostname(char *name) Includes: • user_interface.h wifi_station_get_hostname char* wifi_station_get_hostname() Includes: • user_interface.h wifi_softap_get_config Retrieve the current softAP configuration details. bool wifi_softap_get_config(struct softap_config *pConfig) When called, the struct softap_config pointed to be pConfig will be filled in with the details of the current softAP configuration. The details returned are those actually in use and may differ from the ones saved for default. Page 166