TUYA SDK 版本: TuyaOS V:6.1.6
在裝置上執行 ./tuyaos_demo_ipc -c /tuya/
/tuya/裡面有放 tuya_device_cfg.json
填寫pid/uuid/authkey/... etc.
有詢問過tuya工程師, 他是說這樣執行就可以了,
執行後, 還是出現蠻多error 詳細如附檔。
底下是列出有印fail的log:
[01-01 00:00:00 ty E][ws_db_gw.c:84] wd_protected_read fails gw_bi -6
[01-01 00:00:00 ty D][simplekv.c:1203] __read_kv_raw fail. -3
[01-01 00:00:00 ty D][simplekv.c:1242] __read_kv_with_decode fail. -3
[01-01 00:00:00 ty E][ws_db_gw.c:84] wd_protected_read fails gw_bi -6
[01-01 00:00:00 ty D][simplekv.c:1203] __read_kv_raw fail. -3
[01-01 00:00:00 ty D][simplekv.c:1242] __read_kv_with_decode fail. -3
[01-01 00:00:00 ty D][simplekv.c:1203] __read_kv_raw fail. -3
[01-01 00:00:00 ty D][simplekv.c:1242] __read_kv_with_decode fail. -3
[01-01 00:00:00 ty D][simplekv.c:1203] __read_kv_raw fail. -3
[01-01 00:00:00 ty D][simplekv.c:1242] __read_kv_with_decode fail. -3
[01-01 00:00:01 ty D][simplekv.c:1203] __read_kv_raw fail. -3
[01-01 00:00:01 ty D][simplekv.c:1242] __read_kv_with_decode fail. -3
[01-01 00:00:01 ty E][tuya_ws_db.c:319] kvs_read fails gw_di -6
[01-01 00:00:01 ty D][simplekv.c:1203] __read_kv_raw fail. -3
[01-01 00:00:01 ty D][simplekv.c:1242] __read_kv_with_decode fail. -3
[01-01 00:00:01 ty E][tuya_ws_db.c:319] kvs_read fails gw_di -6
[01-01 00:00:01 ty D][simplekv.c:1203] __read_kv_raw fail. -3
[01-01 00:00:01 ty D][simplekv.c:1242] __read_kv_with_decode fail. -3
[01-01 00:00:01 ty D][simplekv.c:1203] __read_kv_raw fail. -3
[01-01 00:00:01 ty D][simplekv.c:1242] __read_kv_with_decode fail. -3
[01-01 00:00:01 ty E][tuya_ws_db.c:319] kvs_read fails gw_ai -6
[01-01 00:00:01 ty D][simplekv.c:1203] __read_kv_raw fail. -3
[01-01 00:00:01 ty D][simplekv.c:1242] __read_kv_with_decode fail. -3
[01-01 00:00:02 ty D][simplekv.c:1203] __read_kv_raw fail. -3
[01-01 00:00:02 ty D][simplekv.c:1242] __read_kv_with_decode fail. -3
[01-01 00:00:02 ty D][simplekv.c:1203] __read_kv_raw fail. -3
[01-01 00:00:02 ty D][simplekv.c:1242] __read_kv_with_decode fail. -3
[01-01 00:00:02 ty D][simplekv.c:1203] __read_kv_raw fail. -3
[01-01 00:00:02 ty D][simplekv.c:1242] __read_kv_with_decode fail. -3
[01-01 00:00:02 ty D][tuya_cert_manager.c:463] load tls_ca_cnt fail. no ca in local db
[01-01 00:00:02 ty D][simplekv.c:1203] __read_kv_raw fail. -3
[01-01 00:00:02 ty D][simplekv.c:1242] __read_kv_with_decode fail. -3
[01-01 00:00:02 ty D][simplekv.c:1203] __read_kv_raw fail. -3
-01 00:00:02 ty D][simplekv.c:1242] __read_kv_with_decode fail. -3
ERROR: 544, process_kill: open pid file failed
ERROR: 544, process_kill: open pid file failed
pid file failed
[ 138.532000] RTW: ERROR Free disconnecting network of scanned_queue failed due to pwlan == NULL
et_ap_start: WIFI prepare hostapd.conf failed
ERROR: 482, tkl_gen_ap_start: start ap failed
i_start_ap: WIFI start ap failed
tart ap failed:-1
ERROR: 305, tkl_gen_wifi_get_ip: WiFi : get ip failed
ERROR: 138, tkl_wifi_get_ip: get ip failed
[01-01 00:00:04 ty E][ap_netcfg.c:1156] get ip fail:-1
可以請教哪裡設定錯誤嗎?
或是需要更動SDK的內容嗎?
謝謝。