Updated zh_network

This commit is contained in:
2024-06-01 08:00:49 +03:00
parent a8cd9202c5
commit 1690f864a0
4 changed files with 181 additions and 186 deletions

View File

@ -21,9 +21,8 @@
## Attention
1. The definition of ZH_NETWORK_MAX_MESSAGE_SIZE in the zh_network.h can be changed between 1 and 218. Smaller size - higher transmission speed. All devices on the network must have the same ZH_NETWORK_MAX_MESSAGE_SIZE.
2. For correct operation in ESP-NOW + STA mode, your WiFi router must be set to the same channel as ESP-NOW.
3. All devices on the network must have the same WiFi channel.
4. The ZHNetwork and the zh_network are incompatible.
2. For correct work at ESP-NOW + STA mode your WiFi router must be set on channel 1.
3. The ZHNetwork and the zh_network are incompatible.
## Testing
@ -85,7 +84,7 @@ typedef struct
void app_main(void)
{
esp_log_level_set("zh_vector", ESP_LOG_NONE);
// esp_log_level_set("zh_network", ESP_LOG_NONE);
esp_log_level_set("zh_network", ESP_LOG_NONE);
nvs_flash_init();
esp_netif_init();
esp_event_loop_create_default();