|
文档只说硬件收到{"get":"state"},返回{"state":"online"}就会显示在线,但是在烧录Arduino例程后的调试信息来看,硬件返回的确是:{"state":"online","timer":"000","version":"0.1.0"},这与文档描述严重不符。
[287408] parse data: {"get":"state"}
[287408] defined BLINKER_ARDUINOJSON
[287409] autoManager begin: 0 0
[287410] autoFormatData key: state, json: "state":"online"
[287415] new.
[287417] timer codes: 000
[287419] autoFormatData key: timer, json: "timer":"000"
[287424] add.
[287425] autoFormatData key: version, json: "version":"0.1.0"
[287431] add.
[287432] print: {"state":"online","timer":"000","version":"0.1.0"}
[287438] Proto print...
[287440] Freeheap: 35000
[287442] isJson: {"data":{"state":"online","timer":"000","version":"0.1.0"},"fromDevice":"10B79FA0YSGCHQKAE0B3KV9R","toDevice":"edde88f5828711eb89785254","deviceType":"OwnApp"}
[287458] MQTT Publish...
[287460] Freeheap: 35000
[287464] {"data":{"state":"online","timer":"000","version":"0.1.0"},"fromDevice":"10B79FA0YSGCHQKAE0B3KV9R","toDevice":"edde88f5828711eb89785254","deviceType":"OwnApp"}
[287477] ...OK!
|
|