ESP8266_RTOS_SDK v3.1 mqtt deel program

xinyi_cz
Posts: 2
Joined: Mon Jul 01, 2019 11:51 am

ESP8266_RTOS_SDK v3.1 mqtt deel program

Postby xinyi_cz » Fri Aug 09, 2019 10:07 am

hello:
I use esp8266 to connect aliyun.
I can send aliyun parameter to esp8266 through the uart.
First I can connect to aliyun and I can publish message to aliyun ok,and subscribe the topic and also can receive the aliyun publish the same topic message ok.
I disconnect the aliyun ,the device is also outline ,maybe is ok. IF I want to connect aliyun again,how can I do?
Just only use (IOT_MQTT_Destroy(&pclient);)? I want to reset the mqtt to initial state.and can init again.
Because when I do several times,the program is crash.and I can not find address.

Task stack [mqtt_example] stack from [0x3fff50e0] to [0x3fff78dc], total [10240] size

0 4 8 c 10 14 18 1c 20 24 28 2c 30 34 38 3c

3fff7880 0x40106570 0xffffffff 0x3fff4cf0 0x3fff78a0 0x00000001 0x00000000 0xffffffff 0x3ffeeb04 0x00000020 0x00000000 0x3fff3490 0x4025dd15 0x00000000 0x00000000 0x40211890 0x4023f610
3fff78c0 0x40211894 0x40211ce8 0x00000002 0x3fff78c0 0x00000000 0x00000000 0x00000000 0x00000000


PC: 0x40100a3a PS: 0x00000030 A0: 0x402351d4 A1: 0x3fff78a0
A2: 0xbfff348c A3: 0x39e8e893 A4: 0x39e8e893 A5: 0x39e8e893
A6: 0xffffffff A7: 0x3fff4cf0 A8: 0x3fff78a0 A9: 0x00000001
A10: 0x00000000 A11: 0xffffffff A12: 0xbfff3488 A13: 0xbfff348c
A14: 0x00000000 A15: 0x00000000 SAR: 0x00000020 EXCCAUSE: 0x00000009

Who is online

Users browsing this forum: Baidu [Spider] and 7 guests