固件升级报错重启,升级失败
Got: {"deviceType":"ProDevice","data":{"set":{"upgrade":true}},"fromDevice":"5fbb9c00e50811ea9a675254","toDevice":"92E36714DECAB07REX34IOPK"}data: {"set":{"upgrade":true}}
fromDevice: 5fbb9c00e50811ea9a675254
Authority uuid
checkAvail: 1
parse data: {"set":{"upgrade":true}}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 1
otaParse isParsed
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
Exception (28):
epc1=0x4000deed epc2=0x00000000 epc3=0x00000000 excvaddr=0x0000098f depc=0x00000000
>>>stack>>>
ctx: cont
sp: 3ffffc10 end: 3fffffc0 offset: 0190
3ffffda0:3ffffe54 00001000 3fff0dd0 40223834
3ffffdb0:3ffffe54 00000001 3fff0dd0 4020534a
3ffffdc0:00000001 402807cc 3fff08c4 40203036
3ffffdd0:00007d0a 3ffe8b75 3ffefd98 4021227d
3ffffde0:00000000 00000000 3ffefd98 4021230f
3ffffdf0:80000000 3fffafec 3fffaff4 3fffb3dc
3ffffe00:3fffb3ec 3fffb3dc 3fffb3dc 00100020
3ffffe10:3fff3d54 0010001f 00fffe60 3ffffde4
3ffffe20:00007d00 3ffffe04 3ffefd98 00000000
3ffffe30:00000000 00000000 3ffefd98 402123f0
3ffffe40:3ffe9786 3fffabe4 3fffabf0 3fffafc4
3ffffe50:3fffafe4 3fffafd4 3fffafd4 00000020
3ffffe60:00000000 00000000 80fe9784 40223f74
3ffffe70:40223f68 3fff0e0c 3ffe9784 40216fc5
3ffffe80:3ffffe54 3ffffe44 3fff08c4 00000000
3ffffe90:402819d4 00000001 3fff08c4 40215639
3ffffea0:00000001 402819d4 3fff08c4 40206fe2
3ffffeb0:402819d4 00000001 3fff08c4 40207018
3ffffec0:00000001 402819d4 00000001 4020704a
3ffffed0:00000000 00000001 3ffefd98 00000001
3ffffee0:00000001 3fff0098 3ffefd98 40212f55
3ffffef0:00000000 3fffdad0 3fff0f68 00000030
3fffff00:3fff36fc 40281194 3fff08c4 40205fce
3fffff10:40105229 00650984 3fff3894 4024049c
3fffff20:007a1200 742ad81e 00650900 00000000
3fffff30:401054ad 006fd155 3fff0fc8 00000000
3fffff40:00000000 4bc6a7f0 000113cd 3fff0f68
3fffff50:00000000 00000000 4bc6a7f0 00000000
3fffff60:3ffefe98 54e1272c 401004fa 170a3d70
3fffff70:00000000 0000003c 0000012b 3fff0f68
3fffff80:3fffdad0 00000000 3ffefca0 402131a2
3fffff90:3fffdad0 00000000 3fff0f28 4021336c
3fffffa0:feefeffe feefeffe 3fff0f28 40225fc0
3fffffb0:feefeffe feefeffe 3ffe8608 40100f31
<<<stack<<<
last failed alloc call: 40223820(4096)
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
ets Jan8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 3584, room 16
tail 0
chksum 0xb0
csum 0xb0
v2843a5ac
~ld
pixels_init
_power_count: 1
__ __ __
/\ \ /\ \ __ /\ \ v0.3.6
\ \ \___ \ \ \/\_\ ___\ \ \/'\ __ _ __
\ \ '__`\\ \ \ \/\ \ /' _ `\ \ , < /'__`\/\`'__\
\ \ \L\ \\ \ \_\ \ \/\ \/\ \ \ \\`\ /\__/\ \ \./
\ \_,__/ \ \__\\ \_\ \_\ \_\ \_\ \_\ \____\\ \_\
\/___/ \/__/ \/_/\/_/\/_/\/_/\/_/\/____/ \/_/每次升级都是这个原因,没成功过。然后用了Exception Decoder.
下面是代码
Decoding stack results
0x40223834: EEPROMClass::begin(unsigned int) at /home/wx/snap/arduino/50/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/libraries/EEPROM/EEPROM.cpp line 80
0x4020534a: BlinkerOTA::saveOTARun() at /home/wx/snap/arduino/current/Arduino/libraries/blinker-library-master/src/Blinker/../Functions/BlinkerOTA.h line 503
0x40203036: _Z13BLINKER_LOG_TIPK19__FlashStringHelperIEEvT_DpT0_ at /home/wx/snap/arduino/current/Arduino/libraries/blinker-library-master/src/Adapters/../Blinker/BlinkerDebug.h line 78
0x4021227d: BlinkerApi::ota() at /home/wx/snap/arduino/current/Arduino/libraries/blinker-library-master/src/Blinker/BlinkerApi.h line 7642
0x4021230f: BlinkerApi::otaParse(ArduinoJson6111_00000::ObjectRef const&) at /home/wx/snap/arduino/50/Arduino/libraries/blinker-library-master/src/modules/ArduinoJson/ArduinoJson/Document/BasicJsonDocument.hpp line 56
0x402123f0: BlinkerApi::parse(char*, bool) at /home/wx/snap/arduino/current/Arduino/libraries/blinker-library-master/src/Blinker/BlinkerApi.h line 4617
0x40223f74: HardwareSerial::write(unsigned char const*, unsigned int) at /home/wx/snap/arduino/50/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/HardwareSerial.h line 165
0x40223f68: HardwareSerial::write(unsigned char const*, unsigned int) at /home/wx/snap/arduino/50/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/HardwareSerial.h line 164
0x40216fc5: Print::write(char const*) at /home/wx/snap/arduino/50/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/Print.h line 62
0x40215639: BLINKER_LOG_T() at /home/wx/snap/arduino/current/Arduino/libraries/blinker-library-master/src/Blinker/BlinkerDebug.cpp line 129
0x40206fe2: BLINKER_LOG_T (bool) at /home/wx/snap/arduino/current/Arduino/libraries/blinker-library-master/src/Adapters/../Blinker/BlinkerDebug.h line 78
0x40207018: _Z13BLINKER_LOG_TIPK19__FlashStringHelperIbEEvT_DpT0_ at /home/wx/snap/arduino/current/Arduino/libraries/blinker-library-master/src/Adapters/../Blinker/BlinkerDebug.h line 78
0x4020704a: BLINKER_LOG_ALL__FlashStringHelper const*, bool>(__FlashStringHelper const*, bool) at /home/wx/snap/arduino/current/Arduino/libraries/blinker-library-master/src/Adapters/../Blinker/BlinkerDebug.h line 109
0x40212f55: BlinkerApi::run() at /home/wx/snap/arduino/current/Arduino/libraries/blinker-library-master/src/Blinker/BlinkerApi.h line 3102
0x40205fce: BLINKER_LOG_T (unsigned char) at /home/wx/snap/arduino/current/Arduino/libraries/blinker-library-master/src/Adapters/../Blinker/BlinkerDebug.h line 78
0x4024049c: mem_malloc at core/mem.c line 210
0x401004fa: millis() at /home/wx/snap/arduino/50/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/core_esp8266_wiring.cpp line 188
0x402131a2: blinker_run() at /tmp/arduino_build_373134/sketch/Blinker_api.cpp line 125
0x4021336c: loop() at /home/wx/Desktop/FloorLED/FloorLED.ino line 75
0x40225fc0: loop_wrapper() at /home/wx/snap/arduino/50/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/core_esp8266_main.cpp line 197
没看懂是什么原因造成的,请大佬帮忙解决,谢谢!
这不是中文,你翻下字典。或者找身边成功的人,他们的代码提示如何,毕竟这么长的代码,头要看晕,其实就是操作不规范导致的。实在不行,用钞能力吧。:) OTA正常升级流程
1.APP发送的OTA指令
2.设备收到指令后设置OTA并重启
3.重启后拉取OTA固件
4.拉取固件成功/失败后,设备上报服务器OTA状态并重启
从你给出的调试信息看是处于阶段2的正常重启,建议给出更多的调试信息。 三水 发表于 2021-3-10 14:01
OTA正常升级流程
1.APP发送的OTA指令
2.设备收到指令后设置OTA并重启
根据我之前测试成功过的来看,重启前最后一条会打印OTA RUN:1,也不会出现Exception (28):错误提示。重启后才能正常执行3、4。
你说这个是正常的话,我过会在试试全流程,上电后会不会执行3、4.再把完整打印发上来 三水 发表于 2021-3-10 14:01
OTA正常升级流程
1.APP发送的OTA指令
2.设备收到指令后设置OTA并重启
Exception 28: LoadProhibited: A load referenced a page mapped with an attribute that does not permit loads
PC: 0x4000deed
EXCVADDR: 0x0000098f
Memory allocation of 4096 bytes failed at 0x40223828: EEPROMClass::begin(unsigned int) at /home/wx/snap/arduino/50/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/libraries/EEPROM/EEPROM.cpp line 69
Decoding stack results
0x4022673d: __delay(unsigned long) at /home/wx/snap/arduino/50/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/core_esp8266_wiring.cpp line 57
0x40226732: __delay(unsigned long) at /home/wx/snap/arduino/50/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/core_esp8266_wiring.cpp line 54
0x40205353: BlinkerOTA::saveOTARun() at /home/wx/snap/arduino/current/Arduino/libraries/blinker-library-master/src/Blinker/../Functions/BlinkerOTA.h line 504
0x40203036: _Z13BLINKER_LOG_TIPK19__FlashStringHelperIEEvT_DpT0_ at /home/wx/snap/arduino/current/Arduino/libraries/blinker-library-master/src/Adapters/../Blinker/BlinkerDebug.h line 78
0x40212285: BlinkerApi::ota() at /home/wx/snap/arduino/current/Arduino/libraries/blinker-library-master/src/Blinker/BlinkerApi.h line 7642
0x40212317: BlinkerApi::otaParse(ArduinoJson6111_00000::ObjectRef const&) at /home/wx/snap/arduino/50/Arduino/libraries/blinker-library-master/src/modules/ArduinoJson/ArduinoJson/Document/BasicJsonDocument.hpp line 56
0x402123f8: BlinkerApi::parse(char*, bool) at /home/wx/snap/arduino/current/Arduino/libraries/blinker-library-master/src/Blinker/BlinkerApi.h line 4617
0x40223f7c: HardwareSerial::write(unsigned char const*, unsigned int) at /home/wx/snap/arduino/50/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/HardwareSerial.h line 165
0x40223f70: HardwareSerial::write(unsigned char const*, unsigned int) at /home/wx/snap/arduino/50/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/HardwareSerial.h line 164
0x40216fcd: Print::write(char const*) at /home/wx/snap/arduino/50/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/Print.h line 62
0x40215641: BLINKER_LOG_T() at /home/wx/snap/arduino/current/Arduino/libraries/blinker-library-master/src/Blinker/BlinkerDebug.cpp line 129
0x40206fea: BLINKER_LOG_T (bool) at /home/wx/snap/arduino/current/Arduino/libraries/blinker-library-master/src/Adapters/../Blinker/BlinkerDebug.h line 78
0x40207020: _Z13BLINKER_LOG_TIPK19__FlashStringHelperIbEEvT_DpT0_ at /home/wx/snap/arduino/current/Arduino/libraries/blinker-library-master/src/Adapters/../Blinker/BlinkerDebug.h line 78
0x40207052: BLINKER_LOG_ALL__FlashStringHelper const*, bool>(__FlashStringHelper const*, bool) at /home/wx/snap/arduino/current/Arduino/libraries/blinker-library-master/src/Adapters/../Blinker/BlinkerDebug.h line 109
0x40212f5d: BlinkerApi::run() at /home/wx/snap/arduino/current/Arduino/libraries/blinker-library-master/src/Blinker/BlinkerApi.h line 3102
0x40100c77: free(void*) at /home/wx/snap/arduino/50/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/umm_malloc/umm_malloc.cpp line 398
0x40223f70: HardwareSerial::write(unsigned char const*, unsigned int) at /home/wx/snap/arduino/50/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/HardwareSerial.h line 164
0x40216fcd: Print::write(char const*) at /home/wx/snap/arduino/50/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/Print.h line 62
0x40224d7d: String::invalidate() at /home/wx/snap/arduino/50/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/WString.cpp line 140
0x40224d9c: String::~String() at /home/wx/snap/arduino/50/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/WString.cpp line 125
0x401004fa: millis() at /home/wx/snap/arduino/50/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/core_esp8266_wiring.cpp line 188
0x402131aa: blinker_run() at /tmp/arduino_build_473616/sketch/Blinker_api.cpp line 125
0x40213374: loop() at /home/wx/Desktop/FloorLED/FloorLED.ino line 76
0x40225fc8: loop_wrapper() at /home/wx/snap/arduino/50/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/core_esp8266_main.cpp line 197
这是exception Decoder 看像是内存不足
升级后重启也没有固件升级成功,没拉固件,就是正常的重启 完整打印信息如下 MQTT Publish...
Freeheap: 5376
{"data":{"state":"online","timer":"000","version":"0.1.1"},"fromDevice":"92E36714DECAB07REX34IOPK","toDevice":"5fbb9c00e50811ea9a675254","deviceType":"OwnApp"}
...OK!
Freeheap: 5376
Freeheap: 6448
heartBeat isParsed 1
_fresh need flush
isParsed
Got: {"deviceType":"ProDevice","data":{"set":{"upgrade":true}},"fromDevice":"5fbb9c00e50811ea9a675254","toDevice":"92E36714DECAB07REX34IOPK"}
data: {"set":{"upgrade":true}}
fromDevice: 5fbb9c00e50811ea9a675254
Authority uuid
checkAvail: 1
parse data: {"set":{"upgrade":true}}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 1
otaParse isParsed
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
Exception (28):
epc1=0x4000deed epc2=0x00000000 epc3=0x00000000 excvaddr=0x0000098f depc=0x00000000
>>>stack>>>
ctx: cont
sp: 3ffffc10 end: 3fffffc0 offset: 0190
3ffffda0:3ffffe54 00001000 3fff0988 4021f398
3ffffdb0:3ffffe54 00000001 3fff0988 40204d9a
3ffffdc0:00000001 4027af30 3fff047c 40202846
3ffffdd0:00007d0a 3ffe8930 3ffef960 4020fcf1
3ffffde0:00000000 00000000 3ffef960 4020fd83
3ffffdf0:80000000 3fffabfc 3fffac04 3fffafec
3ffffe00:3fffaffc 3fffafec 3fffafec 00100020
3ffffe10:3fff3724 0010001f 00fffe60 3ffffde4
3ffffe20:00007d00 3ffffe04 3ffef960 00000000
3ffffe30:00000000 00000000 3ffef960 4020fe64
3ffffe40:3ffe93fe 3fffa7f4 3fffa800 3fffabd4
3ffffe50:3fffabf4 3fffabe4 3fffabe4 00000020
3ffffe60:00000000 00000000 80fe93fc 4021fd7c
3ffffe70:4021fd70 3fff09c4 3ffe93fc 40212b41
3ffffe80:3ffffe54 3ffffe44 3fff047c 00000000
3ffffe90:4027c098 00000001 3fff047c 402111b5
3ffffea0:00000001 4027c098 3fff047c 4020573a
3ffffeb0:4027c098 00000001 3fff047c 40205770
3ffffec0:00000001 4027c098 00000001 402057a2
3ffffed0:00000000 00000001 3ffef960 00000001
3ffffee0:00000001 3ffefc60 3ffef960 402109cd
3ffffef0:3fff8500 0016001f 80ff0b20 00000030
3fffff00:3fff04ba 00000000 3fff047c 3fff0b20
3fffff10:00002278 3fff09c4 3fff342c 4023ac7c
3fffff20:4021fd70 3fff09c4 3ffe93fc 40230e99
3fffff30:3ffe8c9f 00000000 0021216b 40222fd5
3fffff40:00000000 4bc6a7f0 0000d754 3fff0b20
3fffff50:00000000 00000000 4bc6a7f0 00000000
3fffff60:3ffefa60 06db3509 401004fa f6872b02
3fffff70:00000000 3fff09c4 3ffe8c95 3fff0b20
3fffff80:3fffdad0 00000000 3fff0ae0 40210c0a
3fffff90:3fffdad0 00000000 3fff0ae0 40210d28
3fffffa0:feefeffe feefeffe 3fff0ae0 40221d20
3fffffb0:feefeffe feefeffe 3ffe85dc 40100ef5
<<<stack<<<
last failed alloc call: 4021F384(4096)
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
ets Jan8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 3584, room 16
tail 0
chksum 0xb0
csum 0xb0
v2843a5ac
~ld
pixels_init
_power_count: 1
__ __ __
/\ \ /\ \ __ /\ \ v0.3.6
\ \ \___ \ \ \/\_\ ___\ \ \/'\ __ _ __
\ \ '__`\\ \ \ \/\ \ /' _ `\ \ , < /'__`\/\`'__\
\ \ \L\ \\ \ \_\ \ \/\ \/\ \ \ \\`\ /\__/\ \ \./
\ \_,__/ \ \__\\ \_\ \_\ \_\ \_\ \_\ \____\\ \_\
\/___/ \/__/ \/_/\/_/\/_/\/_/\/_/\/____/ \/_/
To better use blinker with your IoT project!
Download latest blinker library here!
=> https://github.com/blinker-iot/blinker-library
===========================================================
================= Blinker PRO mode init ! =================
EEPROM address 1280-1535 is used for PRO ESP Mode!
========= PLEASE AVOID USING THESE EEPROM ADDRESS! ========
===========================================================
API deviceType: TIVGVmuWKIbc
===========================================================
================== Blinker Timer loaded! ==================
EEPROM address 1536-2431 is used for Blinker Timer!
========= PLEASE AVOID USING THESE EEPROM ADDRESS! ========
===========================================================
countdown state: false
_cdRunState: 0
_totalTime: 0
_runTime: 0
_action:
loop state: false
_lpRunState: 0
_times: 0
_tri_times: 0
_time1: 0
_action1:
_time2: 0
_action2:
_lpData: 0
ESP_PRO initialized...
setup ok!! check wlan config
wlan config check,success
SSID: bb PASWD: 1323811540
Connecting to bb
erase power count
WiFi connected
IP address:
192.168.3.25
SSID: bb PSWD: 1323811540
PRO deviceType: TIVGVmuWKIbc
WiFi.localIP: 192.168.3.25
mDNS responder started
webSocket_PRO server started
ws://F4CFA2F6EECD.local:81
conn begin, fresh _initTime: 6867
authCheck start
authCheck end
is auth, conn deviceRegister
HTTPS begin: https://iot.diandeng.tech/api/v1/user/device/auth/get?deviceType=TIVGVmuWKIbc&typeKey=61fO1qpDZowr&deviceName=F4CFA2F6EECD&aliType=light&miType=light&version=0.1.1&protocol=mqtts
GET... code: 200
reply was:
==============================
{"detail": {"authKey": "6biyrlrhwwo3"}, "message": 1000}
==============================
====================
AUTHKEY_PRO: 6biyrlrhwwo3
====================
begin: https://iot.diandeng.tech/api/v1/user/device/auth?authKey=6biyrlrhwwo3&aliType=light&miType=light&version=0.1.1&protocol=mqtts
GET... code: 200
reply was:
==============================
{"detail": {"broker": "aliyun", "deviceName": "92E36714DECAB07REX34IOPK", "host": "mqtts://public.iot-as-mqtt.cn-shanghai.aliyuncs.com", "iotId": "OO9VuQAxMMBy9oF2JGmf000000", "iotToken": "^1^1615396429532^c48ede6e14c8ca4", "port": "1883", "productKey": "a13w5LGskGs", "uuid": "5fbb9c00e50811ea9a675254"}, "message": 1000}
==============================
====================
====================
==========AUTH CHECK==========
====================
DEVICE_NAME: F4CFA2F6EECD
MQTT_PRODUCTINFO_PRO: a13w5LGskGs
MQTT_DEVICEID_PRO: 92E36714DECAB07REX34IOPK
MQTT_ID_PRO: 92E36714DECAB07REX34IOPK
MQTT_NAME_PRO: OO9VuQAxMMBy9oF2JGmf000000
MQTT_KEY_PRO: ^1^1615396429532^c48ede6e14c8ca4
MQTT_BROKER: aliyun
HOST: public.iot-as-mqtt.cn-shanghai.aliyuncs.com
PORT: 1883
UUID_PRO: 5fbb9c00e50811ea9a675254
AUTHKEY_PRO: 6biyrlrhwwo3
====================
BLINKER_PUB_TOPIC_PRO: /a13w5LGskGs/92E36714DECAB07REX34IOPK/s
BLINKER_SUB_TOPIC_PRO: /a13w5LGskGs/92E36714DECAB07REX34IOPK/r
WiFi.localIP: 192.168.3.25
mDNS responder started
webSocket_PRO server started
ws://92E36714DECAB07REX34IOPK.local:81
Freeheap: 29608
Connecting to MQTT...
Freeheap: 29632
MQTT Connected!
Freeheap: 7952
OTA load: 0.1.1
OTA Check: 0
loadVersion: 0.1.1
OTA FAIL OR NOT START OTA
Current time: Wed Mar 10 17:14:01 2021
NTP time: 1615367641
check ntp init
OTA Check: 0
==== needInit ====
message: /share/device?deviceName=92E36714DECAB07REX34IOPK&key=6biyrlrhwwo3
blinker server begin
Freeheap: 28272
HTTPS begin: https://iot.diandeng.tech/api/v1/user/device/share/device?deviceName=92E36714DECAB07REX34IOPK&key=6biyrlrhwwo3
HTTPS payload: /share/device?deviceName=92E36714DECAB07REX34IOPK&key=6biyrlrhwwo3
status... code: 200
{"detail": {"users": []}, "message": 1000}
_type: 16
payload: {"users":[]}
sharers data: {"users":[]}
load timing
load timing taskCount: 0
freshTiming wDay: 4, nowMins: 74, nowSeconds: 4442
nextTask: 10apartSeconds: 81958 wDay: 4
cbackData: 10
change apartSeconds: 3600
Connecting to MQTT...
Freeheap: 28656
MQTT Connected!
Freeheap: 7536
=======================================================
=========== Blinker Auto Control mode init! ===========
EEPROM address 0-1279 is used for Auto Control!
======= PLEASE AVOID USING THESE EEPROM ADDRESS! ======
=======================================================
_______autoStart_______
_aCount: 1
new BlinkerAUTO() _num: 0
_haveAuto: 0
_autoState: 0
_logicType: 0
_compareType: 0
Got: {"deviceType":"ProDevice","data":{"get":"state"},"fromDevice":"5fbb9c00e50811ea9a675254","toDevice":"92E36714DECAB07REX34IOPK"}
data: {"get":"state"}
fromDevice: 5fbb9c00e50811ea9a675254
Authority uuid
checkAvail: 1
parse data: {"get":"state"}
defined BLINKER_ARDUINOJSON
autoManager begin: 0 0
autoFormatData key: state, json: "state":"online"
new.
timer codes: 000
autoFormatData key: timer, json: "timer":"000"
add.
autoFormatData key: version, json: "version":"0.1.1"
add.
print: {"state":"online","timer":"000","version":"0.1.1"}
Proto print...
Freeheap: 4496
isJson: {"data":{"state":"online","timer":"000","version":"0.1.1"},"fromDevice":"92E36714DECAB07REX34IOPK","toDevice":"5fbb9c00e50811ea9a675254","deviceType":"OwnApp"}
MQTT Publish...
Freeheap: 4456
{"data":{"state":"online","timer":"000","version":"0.1.1"},"fromDevice":"92E36714DECAB07REX34IOPK","toDevice":"5fbb9c00e50811ea9a675254","deviceType":"OwnApp"}
...OK!
如果ram不够可以更新最新的库使用非加密接入进行测试
页:
[1]