Search found 46 matches

by it_zzc
Thu Oct 10, 2019 12:01 pm
Forum: ESP32 MDF
Topic: ESP32 Mesh Mlink protocol
Replies: 4
Views: 1356

Re: ESP32 Mesh Mlink protocol

The device sends a UDP broadcast notification via `mlink_notice_write()`.
The client needs to start a udp sever to receive,
The default port for UDP broadcast is 1025, you can modify it with `make menuconfig`
by it_zzc
Thu Oct 10, 2019 11:51 am
Forum: ESP-MDF 中文讨论版
Topic: 按照官网的mesh 人工组网例子manual_networking,出现持续201错误
Replies: 1
Views: 527

Re: 按照官网的mesh 人工组网例子manual_networking,出现持续201错误

1. 201 是 WIFI_REASON_NO_AP_FOUND, 找不到父节点的 AP, 你可以查看一下与父节点之间的信号强度
2. 人工组网的方式你用在哪一种场景中? 一般情况使用自组就可以了 参考:https://github.com/espressif/esp-mdf
by it_zzc
Thu Oct 10, 2019 11:41 am
Forum: ESP-MDF 中文讨论版
Topic: 增加http server handlers及Mesh之间传文件咨询
Replies: 1
Views: 495

Re: 增加http server handlers及Mesh之间传文件咨询

你的图片是多大,如果小于 8KB, 可以直接放在 http 的 body 中传输
by it_zzc
Tue Sep 17, 2019 9:33 am
Forum: ESP32 MDF
Topic: ESP32 Mesh Mlink protocol
Replies: 4
Views: 1356

Re: ESP32 Mesh Mlink protocol

UDP and mDNS are only used for device discovery, that is, the IP address of the root node of the ESP-MESH network is obtained. If you need to control the device you need to send an http request http://static.zybuluo.com/zzc/67dx49vyi2fv1h4nooofii92/image.png POST /device_request HTTP/1.1 Host: 192.1...
by it_zzc
Tue Sep 10, 2019 3:44 am
Forum: ESP-MDF 中文讨论版
Topic: esp_wifi_start_scan() 使用条件
Replies: 1
Views: 413

Re: esp_wifi_start_scan() 使用条件

请参考: https://gitlab.espressif.cn:6688/applic ... est.c#L278

1. 首先你需要停止 ESP-MESH 自组网的功能和停止上一次 wifi_scan
2. 当扫描不到数据时,需要重试
by it_zzc
Tue Sep 10, 2019 3:39 am
Forum: ESP-MDF 中文讨论版
Topic: esp_mesh_set_parent 重新连接问题
Replies: 3
Views: 564

Re: esp_mesh_set_parent 重新连接问题

如果你使用自组网方案, ESP-MESH 默认不会重连, 当断开时你需要调用 esp_wifi_scan_start ,获取可以连接的设备重新设置父节点.参见: https://github.com/espressif/esp-idf/tr ... networking
我们推荐你使用自组网的方案进行开发
by it_zzc
Thu Sep 05, 2019 3:38 am
Forum: ESP-MDF 中文讨论版
Topic: esp_mesh_recv 收数据机制
Replies: 1
Views: 535

Re: esp_mesh_recv 收数据机制

设备向上发送(子节点 --> 根节点) 是有流控的,因此不会出现这个问题,
但向下发送是目前没有流控的,如果 根节点给子节点发包子节点 RX 满是会丢包的,后期我们也会增加向下流控的功能
by it_zzc
Thu Sep 05, 2019 3:32 am
Forum: ESP-MDF 中文讨论版
Topic: 关于暂停Mwifi 及树的深度问题
Replies: 1
Views: 371

Re: 关于暂停Mwifi 及树的深度问题

1. 你可以使用 mwifi_stop/ mwifi_start 暂停/开始 mesh. 可以参见: https://github.com/espressif/esp-mdf/bl ... est.c#L278
2. 我们已经完成开发路灯的方案的开发,其最大支持 1024 层, 现正在测试中
by it_zzc
Thu Sep 05, 2019 3:27 am
Forum: ESP32 MDF
Topic: Internet Access over Mesh network
Replies: 2
Views: 1126

Re: Internet Access over Mesh network

ESP-MESH is a networking solution for iot devices and cannot connect to the Internet via ESP-MESH
by it_zzc
Thu Sep 05, 2019 3:23 am
Forum: ESP32 MDF
Topic: Is there a document explain how to form the mupgrade packets
Replies: 1
Views: 580

Re: Is there a document explain how to form the mupgrade packets

You don't need to care about the packet format of the communication during mupgrade. You only need to send the firmware to the root node. The subsequent process will be maintained by mupgrade. You can refer to https://github.com/espressif/esp-mdf/tree /master/examples/function_demo/mupgrade