1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- #pragma once
- #include "network_manager.h"
- #include "cJSON.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- char* network_status_alloc_get_ip_info_json();
- bool network_status_lock_json_buffer(TickType_t xTicksToWait);
- void network_status_unlock_json_buffer();
- bool network_status_lock_sta_ip_string(TickType_t xTicksToWait);
- void network_status_unlock_sta_ip_string();
- char* network_status_get_sta_ip_string();
- void network_status_safe_update_sta_ip_string(esp_ip4_addr_t * ip4);
- void network_status_update_ip_info(update_reason_code_t update_reason_code);
- void init_network_status();
- void destroy_network_status();
- cJSON* network_status_get_basic_info(cJSON** old);
- void network_status_update_basic_info();
- void network_status_clear_ip();
- void network_status_safe_reset_sta_ip_string();
- #ifdef __cplusplus
- }
- #endif
|