Search found 46 matches

by it_zzc
Mon Jul 29, 2019 2:57 am
Forum: ESP32 MDF
Topic: ESP32 Mesh with another ESP32 set as AP (no router)
Replies: 2
Views: 1557

Re: ESP32 Mesh with another ESP32 set as AP (no router)

ESP32 runs as an AP: https://github.com/espressif/esp-idf/tree/4a9f339447cd5b3143f90c2422d8e1e1da9da0a4/examples/wifi/getting_started/softAP ESP-MESH networking connection operation: https://github.com/espressif/esp-mdf/tree/master/examples/function_demo/mwifi/router At present, this scheme has prov...
by it_zzc
Mon Jul 22, 2019 6:31 am
Forum: ESP32 MDF
Topic: "wireless debug" -- how I think it works -- wifi congestion, limitations
Replies: 3
Views: 1259

Re: "wireless debug" -- how I think it works -- wifi congestion, limitations

Under what circumstances will sniffer send failure, we hope that you can provide detailed recurring steps and complete log, if there is this problem we will fix it
by it_zzc
Thu Jul 18, 2019 10:33 am
Forum: ESP32 MDF
Topic: problem with simple esp_mesh_send command
Replies: 5
Views: 1446

Re: problem with simple esp_mesh_send command

The reason for the error is due to the parameter type mismatch, and your usage is also wrong.
We recommend that you develop on ESP-MDF, and there are rich examples on ESP-MDF.
https://gitlab.espressif.cn:6688/application/esp-mdf

Image
by it_zzc
Thu Jul 18, 2019 10:18 am
Forum: ESP32 MDF
Topic: "wireless debug" -- how I think it works -- wifi congestion, limitations
Replies: 3
Views: 1259

Re: "wireless debug" -- how I think it works -- wifi congestion, limitations

http://static.zybuluo.com/zzc/w3ms9jwow3o1zllj1o8tyjhe/image.png 1. In the current design, the node will also send wrover / sniffer, even if worover/sniffer is offline. Note: The node will only send packets in ESP-NOW unicast mode and will not send broadcasts.   2. If the destination address of the...
by it_zzc
Thu Jul 18, 2019 9:33 am
Forum: ESP32 MDF
Topic: OTA Problems
Replies: 6
Views: 2232

Re: OTA Problems

1. I hope to provide a complete log of the problem. https://docs.espressif.com/projects/esp-mdf/en/latest/api-guides/general-notes.html#feedback 2. Set the mupgrade log level to reduce log output           Esp_log_level_set("*", ESP_LOG_INFO);      Esp_log_level_set("mupgrade_node", ESP_LOG_INFO);  ...
by it_zzc
Thu Jul 18, 2019 9:25 am
Forum: ESP32 MDF
Topic: Using the MDF with C++
Replies: 22
Views: 6626

Re: Using the MDF with C++

You don't need to modify esp-mdf, you just need to add a type cast before MALLOC, please refer to: get_start.cpp
by it_zzc
Mon Jul 15, 2019 7:27 am
Forum: ESP32 MDF
Topic: mesh "wireless debug" (esp now) -- do i need to be connected to wifi router?
Replies: 2
Views: 832

Re: mesh "wireless debug" (esp now) -- do i need to be connected to wifi router?

Use wifi_config to configure the channel, not the router.
Replace wifi_config -s "esp-liyin" -p "password" with wifi_config -c 11
by it_zzc
Fri Jul 12, 2019 3:12 am
Forum: ESP32 MDF
Topic: Using the MDF with C++
Replies: 22
Views: 6626

Re: Using the MDF with C++

C++ does not support automatic void type conversion, so you need to add a cast before MDF_XALLOC,
for example: char *data = (char *)MDF_MALLOC(MWIFI_PAYLOAD_LEN);
by it_zzc
Fri Jul 12, 2019 2:17 am
Forum: ESP32 MDF
Topic: OTA Problems
Replies: 6
Views: 2232

Re: OTA Problems

Please provide the code of `node_handle_task`
by it_zzc
Wed Jul 10, 2019 9:41 am
Forum: ESP32 MDF
Topic: OTA Problems
Replies: 6
Views: 2232

Re: OTA Problems

This problem is caused by insufficient memory. ``` E (23801) [mwifi, 815]: <ESP_ERR_NO_MEM> Realloc size: 1456, new_ptr: 0x0, heap free: 10816 ``` 1. Check if your configuration is as follows: http://static.zybuluo.com/zzc/wnxewbdxh4hbi4anhn5cdiyh/image.png 2. If you can't provide a complete log of ...