connected with ENG01, channel 6
dhcp client start...
ip:192.168.31.172,mask:255.255.255.0,gw:192.168.31.1
<ALINK/DEBUG> [create_thread#324]: name:wsf_worker_thread stack_size=2688,handle=3fff2520
<ALINK/DEBUG> [create_thread#325]: after create task heap size:36576
<ALINK/DEBUG> [create_thread#324]: name:send_worker stack_size=1920,handle=3fff7518
<ALINK/DEBUG> [create_thread#325]: after create task heap size:33648
<ALINK/DEBUG> [wsf_main_worker#588]: wsf_main_worker starts...
D esp_alink_data<ALINK/DEBUG> [ssl_connect#216]: ssl_connect:30720
<ALINK/DEBUG> [ssl_init#117]: ret = 0
<ALINK/DEBUG> [ssl_connect#228]: ssl connection established.
<ALINK/DEBUG> [wsf_establish_connection#463]: ssl_connect 3fff87e0 0
strlen(g_cert_str):1351 ssl_err:0
<ALINK/DEBUG> [wsf_send_impl#190]: wsf len=17 send impl directly..., ret=17
<ALINK/DEBUG> [process_received_buf#295]: message type 5 length 15
<ALINK/DEBUG> [process_register_response#234]: WSF register response received.result_code: 0
<ALINK/DEBUG> [send_worker#712]: send_worker waiting on queue 3fff25c8
<ALINK/DEBUG> [__notify_dev_status_change#52]: __notify_dev_status_change :1
e[0;32mI alink_connect_ap: ALINK_STATUS_INITED, mac 2c:3a:e8:22:06:2f uuid BU%@pZ?n[0m
<ALINK/DEBUG> [alink_time#1119]: synchronzing server time...
<ALINK/DEBUG> [get_uuid_by_id#57]: main device uuid:
<ALINK/DEBUG> [alink_time_request_json_system#516]: cid [000000000000000002229807] uuid []
<ALINK/DEBUG> [alink_time_request_json_system#533]: request: [cid:000000000000000002229807,target:,uuid:,time:,secret:7VMWsIozNZQAEgI3]
<ALINK/DEBUG> [alink_time#1126]: alink_time: {"system": { "alink": "1.0", "jsonrpc": "2.0", "lang": "en", "sign": "bd5308d1e97e41ab2360e4f8d23142ab", "key": "a1YlE7nXfNW", "time": "" },"request":{"cid":"000000000000000002229807", "target":"", "uuid":""},"method": "getAlinkTime", "params": {}, "id": 0}
<ALINK/DEBUG> [wsf_msg_queue_push#58]: req_queue->length 1
<ALINK/DEBUG> [send_worker#723]: TEST: post data msgid=7
<ALINK/DEBUG> [wsf_invoke#113]: +++++++++++ begin wait for invoke session +++++++++++
<ALINK/DEBUG> [wsf_send_impl#190]: wsf len=305 send impl directly..., ret=305
<ALINK/DEBUG> [process_received_buf#295]: message type 1 length 121
<ALINK/DEBUG> [process_msg_response#89]: TEST: receive response msgid=7
<ALINK/DEBUG> [wsf_msg_queue_push#58]: req_queue->length 1
<ALINK/DEBUG> [send_worker#766]: get response msg id:7
<ALINK/DEBUG> [wsf_invoke#116]: ----------- end wait for invoke session -----------
<ALINK/DEBUG> [send_worker#712]: send_worker waiting on queue 3fff25c8
<ALINK/DEBUG> [wsf_invoke#128]: result code 0
<ALINK/DEBUG> [wsf_invoke#152]: wsf_msg_session_destroy
<ALINK/DEBUG> [alink_response_get_code#644]: [{"result":{"code":2004,"msg":"sign verify error"},"id":0}]
<ALINK/DEBUG> [get_uuid_by_id#57]: main device uuid:
<ALINK/DEBUG> [alink_register#879]: registerDevice buf: {"system": { "alink": "1.0", "jsonrpc": "2.0", "lang": "en", "sign": "bd5308d1e97e41ab2360e4f8d23142ab", "key": "a1YlE7nXfNW", "time": "" },"request":{"cid":"000000000000000002229807", "target":"", "uuid":""},"method": "registerDevice", "params": { "name": "鏅鸿兘鎻掑骇", "model": "ALINKTEST_LIVING_PowerSwitch_SMARTLED", "type": "PowerSwitch", "category": "LIVING", "sn": "SV_KUYI", "mac": "2c:3a:e8:22:06:2f", "manufacturer": "ueue_push#58]: req_queue->length 1
<ALINK/DEBUG> [send_worker#723]: TEST: post data msgid=11
<ALINK/DEBUG> [wsf_invoke#113]: +++++++++++ begin wait for invoke session +++++++++++
<ALINK/DEBUG> [wsf_send_impl#190]: wsf len=649 send impl directly..., ret=649
"[0;32mI sample_json: read down cmd paramr[0m
<ALINK/DEBUG> [process_received_buf#295]: message type 1 length 121
<ALINK/DEBUG> [process_msg_response#89]: TEST: receive response msgid=11
<ALINK/DEBUG> [wsf_msg_queue_push#58]: req_queue->length 1
<ALINK/DEBUG> [send_worker#766]: get response msg id:11
<ALINK/DEBUG> [wsf_invoke#116]: ----------- end wait for invoke session -----------
<ALINK/DEBUG> [send_worker#712]: send_worker waiting on queue 3fff25c8
<ALINK/DEBUG> [wsf_invoke#128]: result code 0
<ALINK/DEBUG> [wsf_invoke#152]: wsf_msg_session_destroy
<ALINK/DEBUG> [alink_register#886]: registerDevice response code: 0
<ALINK/DEBUG> [alink_register#890]: registerDevice response buf: {"result":{"code":2004,"msg":"sign verify error"},"id":1}
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。