llltong

Results 5 comments of llltong

> @llltong 你可以使用这个 /usr/bin/python3', '-m', 'virtualenv', '--seeder', 'pip', '/root/.espressif/python_env/idf4.3_py3.6_env' 指令安装一下,看是否可以解决?这个应该是你的这个版本缺少了组件导致的。 你这个命令我看不懂,不知道怎么输入,请问下具体步骤,谢谢了

发现他掉网了以后,在这个if (!mwifi_is_connected())中一直打印error,有什么方法让设备重新连接上原来的网络吗? static void node_write_task(void *arg) { size_t size = 0; char *data = NULL; mdf_err_t ret = MDF_OK; mwifi_data_type_t data_type = {0}; MDF_LOGI("NODE task is running"); for (;;) {...

> @llltong 在 `mwifi_start()` 之后调用 [esp_mesh_send_block_time()](https://github.com/espressif/esp-idf/blob/master/components/esp_wifi/include/esp_mesh.h#L696-L706) 设置发包超时时间,可以解决 WND 满造成组网失败的问题: 好的,谢谢,请问下我是把这个时间设置大一点就好还是小一点, 我看那个报错是300ms的,那我设置成500ms,例如esp_mesh_send_block_time(500),这样是不是就解决这个问题了?

> 因为 light_examples.c 本身就已经调用了 [mwifi_read](https://github.com/espressif/esp-mdf/blob/master/examples/development_kit/light/main/light_example.c#L202) ,你不能重复调用它 不是 mwifi_read函数,是mwifi_write函数,我有两台设备,A是root节点,B是node节点,B节点中,我移植了node_write_task任务,他无法通过mwifi_write函数发送数据给root节点。

串口打印出来的数据,mwifi_write函数发送三次数据成功后,就开始显示以下数据,一直就发这个了,不能在正常发送数据了。 I (4287) [light_example, 776]: event_loop_cb, event: 0xb I (4293) [light_example, 776]: event_loop_cb, event: 0xe I (4300) [light_example, 727]: NODE task is running I (4300) [light_example, 677]: Note read task...