Open FayeY opened 5 years ago
想用啊,但是新的工程跑起来卡在了I (238) boot: Loaded app from partition at offset 0x10000 这里,是什么原因呀?
@microponts 先擦除一下 flash 后, 再试试看呢.
make erase_flash && make flash monitor
esp-aliyun 这个项目是用你们的esp-mqtt么?
@FayeY hi,我试了一下,发现主干的代码是能正常编译跑起来的。但是我只要勾选了spiffs选项后,跑起来就卡在了I (249) boot: Loaded app from partition at offset 0x10000 boot加载程序这里。之后就算去掉了spiffs选项后,编译跑起来 依旧卡 I (249) boot: Loaded app from partition at offset 0x10000 boot ,会不会跟分区表有关? -------下面是我的分区表------- nvs, data, nvs, 0x9000, 0x4000, otadata, data, ota, 0xd000, 0x2000 phy_init, data, phy, 0xf000, 0x1000, factory, app, factory, 0x10000, 3M, storage, data, spiffs, 0x310000, 0xEC000,
@FayeY 请问这个 mqtt 组件啥时候可以更新到 3.1分支
@xuhongv ,你好, 原则上来说,对旧版本只做 bug fix 更新,不考虑增加新功能。建议可以后续使用我们发布的新版本。 如果给您带来不便,深感抱歉。 请知悉。谢谢!
@FayeY 请问用着用着时不时就会挂掉,一般是什么引起的?SDK用的是3.2
Task stack [tiT] stack from [0x3fff1e00] to [0x3fff25fc], total [2048] size
0 4 8 c 10 14 18 1c 20 24 28 2c 30 34 38 3c
3fff2540 0x00000060 0x40108508 0x401083d4 0x4023334d 0x40108508 0x40108508 0x40108508 0x40106e28 0x40105e3c 0x4010841c 0x4010841c 0x4024d49a 0x40105e3c 0x4010841c 0x40108508 0x40237674 0x4023334d: sys_mbox_trypost at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/port/esp8266/freertos/sys_arch.c:392
0x40105e3c: xthal_set_intset at ??:?
0x4024d49a: recv_tcp at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/lwip/src/api/api_msg.c:1562 (discriminator 6)
0x40105e3c: xthal_set_intset at ??:?
0x40237674: tcp_input at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/lwip/src/core/tcp_in.c:435 (discriminator 1)
3fff2580 0x3ffec60c 0x40108508 0x40106e28 0x40232a0d 0x00000001 0x00000014 0x3fff25e0 0x40233399 0x402115f8 0x40230264 0x4010593c 0x40106e28 0x00000096 0x00000008 0x40108508 0x40233169 0x40232a0d: ip4_input at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/lwip/src/core/ipv4/ip4.c:685
0x40233399: sys_arch_mbox_fetch at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/port/esp8266/freertos/sys_arch.c:392
0x40230264: cyclic_timer at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/lwip/src/core/timeouts.c:387
0x4010593c: xthal_set_intset at ??:?
0x40233169: ethernet_input at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/lwip/src/netif/ethernet.c:182
3fff25c0 0x00000000 0x3fff25e0 0x4010593c 0x00000000 0x00000000 0x00000000 0x3fff3420 0x402339ad 0x4010852c 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x4010593c: xthal_set_intset at ??:?
0x402339ad: tcpip_thread at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/lwip/src/api/tcpip.c:459
PC: 0x4010bffb PS: 0x00000030 A0: 0x4024d4ac A1: 0x3fff2570
0x4024d4ac: recv_tcp at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/lwip/src/api/api_msg.c:1562 (discriminator 6)
A2: 0x401083d4 A3: 0x00000000 A4: 0x00000060 A5: 0x4010bff8
A6: 0x40108508 A7: 0x00000000 A8: 0x00000020 A9: 0x00000001
A10: 0x00000014 A11: 0x3ffec634 A12: 0x401083d4 A13: 0x00000000
A14: 0x00000060 A15: 0x40106e28 SAR: 0x0000001d EXCCAUSE: 0x00000000
Task stack [tiT] stack from [0x3fff1e00] to [0x3fff25fc], total [2048] size
register map is 3ffed940 error 0 4 8 c 10 14 18 1c 20 24 28 2c 30 34 38 3c
3fff1e00 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a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xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 3fff2100 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 3fff2140 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 3fff2180 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 3fff21c0 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0xa5a5a5a5 0x401052d0 0x4010038e 0x00000030 0x4022e53e 0x401052d0: _xt_user_exit at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/port/esp8266/xtensa_vectors.S:715
0x4010038e: vPortExitCritical at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/port/esp8266/port.c:368
0x4022e53e: xQueueGenericSend at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/freertos/queue.c:2332
3fff2200 0x3fff2240 0x00000020 0x00000000 0x401063b4 0x401063b4 0x00000002 0x00000000 0x00000003 0x00000001 0x00000000 0xffffffff 0x3fff0518 0x00000000 0x00000000 0x3fff22a0 0x0000001b 0x401063b4: xthal_set_intset at ??:?
0x401063b4: xthal_set_intset at ??:?
3fff2240 0x00000000 0x00000000 0x3fff0518 0x4022e53e 0x401063b4 0x00000001 0x4010038e 0x00000003 0x401052d0 0x4010038e 0x00000030 0x4022f332 0x3fff22b0 0x00000020 0x00000000 0x401064fc 0x4022e53e: xQueueGenericSend at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/freertos/queue.c:2332
0x401063b4: xthal_set_intset at ??:?
0x4010038e: vPortExitCritical at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/port/esp8266/port.c:368
0x401052d0: _xt_user_exit at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/port/esp8266/xtensa_vectors.S:715
0x4010038e: vPortExitCritical at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/port/esp8266/port.c:368
0x4022f332: xTaskResumeAll at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/freertos/tasks.c:3747 (discriminator 4)
0x401064fc: xthal_set_intset at ??:?
3fff2280 0x401064fc 0x00000002 0x00000000 0x00000003 0x00000001 0x00000000 0xffffffff 0x00000001 0x401052d0 0x4010038e 0x00000030 0x4022e53e 0x401052d0 0x4010038e 0x00000030 0x4022e53e 0x401064fc: xthal_set_intset at ??:?
0x401052d0: _xt_user_exit at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/port/esp8266/xtensa_vectors.S:715
0x4010038e: vPortExitCritical at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/port/esp8266/port.c:368
0x4022e53e: xQueueGenericSend at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/freertos/queue.c:2332
0x401052d0: _xt_user_exit at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/port/esp8266/xtensa_vectors.S:715
0x4010038e: vPortExitCritical at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/port/esp8266/port.c:368
0x4022e53e: xQueueGenericSend at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/freertos/queue.c:2332
3fff22c0 0x3fff2300 0x00000020 0x00000000 0x401063b4 0x401063b4 0x00000002 0x00000000 0x00000003 0x00000001 0x00000000 0xffffffff 0x3fff0518 0x00000000 0x00000000 0x3fff2360 0x0000001b 0x401063b4: xthal_set_intset at ??:?
0x401063b4: xthal_set_intset at ??:?
3fff2300 0x00000000 0x00000000 0x3fff0518 0x4022e53e 0x00000000 0x00000000 0x3fff2380 0x0000001b 0x401052d0 0x4010038e 0x00000030 0x4022f332 0x3fff2370 0x00000020 0x00000000 0x401064fc 0x4022e53e: xQueueGenericSend at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/freertos/queue.c:2332
0x401052d0: _xt_user_exit at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/port/esp8266/xtensa_vectors.S:715
0x4010038e: vPortExitCritical at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/port/esp8266/port.c:368
0x4022f332: xTaskResumeAll at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/freertos/tasks.c:3747 (discriminator 4)
0x401064fc: xthal_set_intset at ??:?
3fff2340 0x401064fc 0x00000002 0x00000000 0x00000003 0x00000001 0x00000000 0xffffffff 0x00000001 0x3fff0edc 0x3fff3580 0x3ffe910c 0x0000001b 0x3ffe9e90 0x000c0254 0x3ffe910c 0x4022f332 0x401064fc: xthal_set_intset at ??:?
0x4022f332: xTaskResumeAll at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/freertos/tasks.c:3747 (discriminator 4)
3fff2380 0x3fff0edc 0x3ffe8c60 0x00000001 0x4021dbbc 0x3fff3580 0x3ffe8c60 0x00000001 0x402242f8 0xc4c13178 0xcf5cbedd 0x4c07c87f 0xcf5c0008 0x4c07c87f 0x3ffe8c60 0x00000001 0x402242f8 0x4021dbbc: __wifi_task_resume_all at /Users/sw/esp/ESP8266_RTOS_SDK/components/esp8266/source/esp_wifi_os_adapter.c:82
0x402242f8: ieee80211_output_pbuf at ??:?
0x402242f8: ieee80211_output_pbuf at ??:?
3fff23c0 0x3ffe8c60 0x00000078 0x00000000 0x00000000 0x3ffee8ec 0x3ffeeb78 0x00000002 0x40106e28 0x3ffe8c60 0x00000078 0x00000000 0x40106e28 0x40106e28 0x3ffeeb5c 0x00000000 0x4024e03c 0x4024e03c: low_level_output at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/port/esp8266/netif/ethernetif.c:357
3fff2400 0x00000000 0x3ffeeb92 0x00000036 0x4024df7c 0x3ffeeb5c 0x00000000 0x00000000 0x4024e03c 0x3ffeeb5c 0x3ffeeb92 0x00000006 0x402331fc 0x40106e5b 0x40105840 0x00000006 0x40108420 0x4024df7c: low_level_send_cb at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/port/esp8266/netif/ethernetif.c:217
0x4024e03c: low_level_output at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/port/esp8266/netif/ethernetif.c:357
0x402331fc: ethernet_output at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/lwip/src/netif/ethernet.c:305
0x40105840: xthal_set_intset at ??:?
3fff2440 0x3ffeefcc 0x3ffef002 0x00000006 0x40108420 0x3ffeeb5c 0x40106e28 0x00000003 0x40231da0 0x3ffeeb5c 0x40106e28 0x40108420 0x40232038 0x3ffeefcc 0x40106e28 0x00000003 0x4010043c 0x40231da0: etharp_output_to_arp_index at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/lwip/src/core/ipv4/etharp.c:768
0x40232038: etharp_output at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/lwip/src/core/ipv4/etharp.c:865
0x4010043c: vPortETSIntrUnlock at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/port/esp8266/port.c:368
3fff2480 0x3ffeeb5c 0x000077c9 0x3ffeeba0 0x40232c84 0x4021181c 0x00000176 0x00000006 0x4010043c 0x000000ff 0x00000000 0x00000006 0x4010841c 0x00000014 0x4010841c 0x00000000 0x40234ef2 0x40232c84: ip4_output_if_opt_src at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/lwip/src/core/ipv4/ip4.c:961
0x4010043c: vPortETSIntrUnlock at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/port/esp8266/port.c:368
0x40234ef2: pbuf_alloc at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/lwip/src/core/pbuf.c:1321
3fff24c0 0x00000000 0x00000046 0x00000006 0x40106e28 0x40108420 0x3ffeeb5c 0x4010841c 0x40232cd4 0x40106e28 0x00000000 0x00000000 0x40106e28 0x401052d0 0x4010038e 0x00000030 0x401003da 0x40232cd4: ip4_output_if_opt at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/lwip/src/core/ipv4/ip4.c:788
0x401052d0: _xt_user_exit at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/port/esp8266/xtensa_vectors.S:715
0x4010038e: vPortExitCritical at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/port/esp8266/port.c:368
0x401003da: PendSV at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/port/esp8266/port.c:368
3fff2500 0x00000000 0x00000000 0x3ffeef64 0x4022e53e 0x401063e4 0x00003897 0x00003887 0x40106da4 0x00000000 0x0000000e 0x3ffebfc8 0x3fff1d30 0x00000074 0x3fff25e0 0x00000000 0x40106e28 0x4022e53e: xQueueGenericSend at /Users/sw/esp/ESP8266_RTOS_SDK/components/freertos/freertos/queue.c:2332
0x401063e4: xthal_set_intset at ??:?
3fff2540 0x00000060 0x40108508 0x401083d4 0x4023334d 0x40108508 0x40108508 0x40108508 0x40106e28 0x40105e3c 0x4010841c 0x4010841c 0x4024d49a 0x40105e3c 0x4010841c 0x40108508 0x40237674 0x4023334d: sys_mbox_trypost at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/port/esp8266/freertos/sys_arch.c:392
0x40105e3c: xthal_set_intset at ??:?
0x4024d49a: recv_tcp at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/lwip/src/api/api_msg.c:1562 (discriminator 6)
0x40105e3c: xthal_set_intset at ??:?
0x40237674: tcp_input at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/lwip/src/core/tcp_in.c:435 (discriminator 1)
3fff2580 0x3ffec60c 0x40108508 0x40106e28 0x40232a0d 0x00000001 0x00000014 0x3fff25e0 0x40233399 0x402115f8 0x40230264 0x4010593c 0x40106e28 0x00000096 0x00000008 0x40108508 0x40233169 0x40232a0d: ip4_input at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/lwip/src/core/ipv4/ip4.c:685
0x40233399: sys_arch_mbox_fetch at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/port/esp8266/freertos/sys_arch.c:392
0x40230264: cyclic_timer at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/lwip/src/core/timeouts.c:387
0x4010593c: xthal_set_intset at ??:?
0x40233169: ethernet_input at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/lwip/src/netif/ethernet.c:182
3fff25c0 0x00000000 0x3fff25e0 0x4010593c 0x00000000 0x00000000 0x00000000 0x3fff3420 0x402339ad 0x4010852c 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x4010593c: xthal_set_intset at ??:?
0x402339ad: tcpip_thread at /Users/sw/esp/ESP8266_RTOS_SDK/components/lwip/lwip/src/api/tcpip.c:459
PC: 0x3ffee654 PS: 0x00000033 A0: 0x3ffee654 A1: 0x3ffed940
A2: 0x3ffed764 A3: 0x00000001 A4: 0x0000001c A5: 0x000000a0
A6: 0x00000000 A7: 0x40211428 A8: 0x40211510 A9: 0x00000001
A10: 0x00000014 A11: 0x3ffec634 A12: 0x3ffe92ec A13: 0x00000000
A14: 0x0000001c A15: 0x00000008 SAR: 0x0000001e EXCCAUSE: 0x00000002
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x40100000, len 7204, room 16 0x40100000: _stext at ??:?
tail 4 chksum 0xa1 load 0x3ffe8408, len 24, room 4 tail 4 chksum 0x28 load 0x3ffe8420, len 3548, room 4 tail 8 chksum 0x16
新版MQTT非常容易掉线,何解"E (121975) MQTT_CLIENT: No PING_RESP, disconnected", 而2.0SDK版本同样网络条件下没问题啊
对,会经常掉线。严重的时候会自动重启,收发几十个数据后一般都会掉一次线
我的mqtt也经常掉线" E (2889055) MQTT_CLIENT: No PING_RESP, disconnected",我以为是心跳问题,但mqtt_config.keepalive如何设置都会掉.
font{
line-height: 1.6;
}
ul,ol{
padding-left: 20px;
list-style-position: inside;
}
我使用阿里云的SDK, 这个SDK在linux主机里, 不会掉线. 我把阿里云的sdk一直到ESP8266_RTOS_SDK上, 还是会掉线. 估计跟ESP8266_RTOS_SDK 有关. 可能是网络不稳定导致的.
font{
line-height: 1.5;
}
----------------------------wanghui0574xs@sina.com
在2019年10月25日 16:39,Jerry-zo<notifications@github.com> 写道:
我的mqtt也经常掉线" E (2889055) MQTT_CLIENT: No PING_RESP, disconnected",我以为是心跳问题,但mqtt_config.keepalive如何设置都会掉.
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.
我的mqtt也经常掉线" E (2889055) MQTT_CLIENT: No PING_RESP, disconnected",我以为是心跳问题,但mqtt_config.keepalive如何设置都会掉.
@Jerry-zo , I'm also facing this issue. Have you been able to find a fix for this issue? In my case it drops after publishing a few messages and fails to reconnect. Mbedtls throws -0x4310 error
@FayeY any resolution for this?
Any updates?
It always happen..., how to fix this problem
MQTT_CLIENT: Error write data or timeout, written len = 0
你写了一个空帧吧 ---------------------------- wanghui0574xs@sina.com 在2020年01月14日 15:47,Gavin 写道: It always happen..., how to fix this problem MQTT_CLIENT: Error write data or timeout, written len = 0 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
@wanghui0574xs , 没有空桢,不是每次都是出现这个,网速可能也不好,但是出现这个也太多了,mqtt老断,publish不成功。因为我要定时上报数据,非常容易出现mqtt disconnected。这个esp-mqtt的正确使用流程是啥?
len=0,你的内容为空了吧,mqtt部分,我用了阿里云的SDK ---------------------------- wanghui0574xs@sina.com 在2020年01月14日 22:05,Gavin 写道: @wanghui0574xs , 没有空桢,不是每次都是出现这个,网速可能也不好,但是出现这个也太多了,mqtt老断,publish不成功。因为我要定时上报数据,非常容易出现mqtt disconnected。这个esp-mqtt的正确使用流程是啥? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Hello, Please help. MQTT example does not work for me:
` user@pc:~/bin/espressif/ESP8266_RTOS_SDK/examples/protocols/mqtt/tcp$ make -j4 flash Toolchain path: /home/user/bin/espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc Toolchain version: crosstool-ng-1.22.0-100-ge567ec7 Compiler version: 5.2.0 Python requirements from /home/user/bin/espressif/ESP8266_RTOS_SDK/requirements.txt are satisfied. Flashing binaries to serial port /dev/ttyUSB1 (app at offset 0x10000)... esptool.py v2.4.0 Connecting.... Chip is ESP8266EX Features: WiFi MAC: 18:fe:34:a0:f3:13 Uploading stub... Running stub... Stub running... Configuring flash size... Compressed 9616 bytes to 6785... Wrote 9616 bytes (6785 compressed) at 0x00000000 in 0.6 seconds (effective 128.2 kbit/s)... Hash of data verified. Compressed 499216 bytes to 340424... Wrote 499216 bytes (340424 compressed) at 0x00010000 in 30.0 seconds (effective 133.1 kbit/s)... Hash of data verified. Compressed 3072 bytes to 83... Wrote 3072 bytes (83 compressed) at 0x00008000 in 0.0 seconds (effective 2042.0 kbit/s)... Hash of data verified.
Leaving... Hard resetting via RTS pin... nechet@andrey-pc:~/bin/espressif/ESP8266_RTOS_SDK/examples/protocols/mqtt/tcp$ make monitor Toolchain path: /home/user/bin/espressif/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc Toolchain version: crosstool-ng-1.22.0-100-ge567ec7 Compiler version: 5.2.0 Python requirements from /home/user/bin/espressif/ESP8266_RTOS_SDK/requirements.txt are satisfied. MONITOR --- idf_monitor on /dev/ttyUSB1 74880 --- --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
`
It is suggested to use our esp-mqtt which also support SSL MQTT. The esp-mqtt will be the one we mainly focus on in future development.
推荐使用我们最新的 esp-mqtt,它支持了 SSL MQTT,会是后续我们主要维护的 MQTT 版本。
请知悉。谢谢!