|
GrowNode
|
Macros | |
| #define | TAG "gn_network" |
Functions | |
| void | _gn_wifi_event_handler (void *arg, esp_event_base_t event_base, int32_t event_id, void *event_data) |
| void | _gn_wifi_init_sta (void) |
| void | _gn_wifi_get_device_service_name (char *service_name, size_t max) |
| esp_err_t | _gn_wifi_custom_prov_data_handler (uint32_t session_id, const uint8_t *inbuf, ssize_t inlen, uint8_t **outbuf, ssize_t *outlen, void *priv_data) |
| esp_err_t | _gn_init_wifi (gn_config_handle_intl_t conf) |
| esp_err_t | _gn_init_time_sync (gn_config_handle_t conf) |
| void | _gn_ota_task (void *pvParameter) |
Variables | |
| const int | GN_WIFI_CONNECTED_EVENT = BIT0 |
| const int | GN_WIFI_FAIL_EVENT = BIT2 |
| const int | GN_PROV_END_EVENT = BIT1 |
| EventGroupHandle_t | _gn_event_group_wifi |
| int | s_retry_num = 0 |
| gn_config_handle_intl_t | _conf |
| #define TAG "gn_network" |
| esp_err_t _gn_init_time_sync | ( | gn_config_handle_t | conf | ) |
| esp_err_t _gn_init_wifi | ( | gn_config_handle_intl_t | conf | ) |
| void _gn_ota_task | ( | void * | pvParameter | ) |
| esp_err_t _gn_wifi_custom_prov_data_handler | ( | uint32_t | session_id, |
| const uint8_t * | inbuf, | ||
| ssize_t | inlen, | ||
| uint8_t ** | outbuf, | ||
| ssize_t * | outlen, | ||
| void * | priv_data | ||
| ) |
| void _gn_wifi_event_handler | ( | void * | arg, |
| esp_event_base_t | event_base, | ||
| int32_t | event_id, | ||
| void * | event_data | ||
| ) |
| void _gn_wifi_get_device_service_name | ( | char * | service_name, |
| size_t | max | ||
| ) |
| void _gn_wifi_init_sta | ( | void | ) |
| gn_config_handle_intl_t _conf |
| EventGroupHandle_t _gn_event_group_wifi |
| const int GN_PROV_END_EVENT = BIT1 |
| const int GN_WIFI_CONNECTED_EVENT = BIT0 |
| const int GN_WIFI_FAIL_EVENT = BIT2 |
| int s_retry_num = 0 |