|
地板
楼主 |
发表于 2020-5-26 08:49:26
|
只看该作者
“配网没有触发”是不是指配网键(如长按GPIO2)没有有效按下或按下时间太短?我按下GPIO2,约3秒后才放开。
下面是部分日志:
connected with CMCC-nRKg, channel 10
dhcp client start...
[022816][WiFiEvent] connect to ssid CMCC-nRKg, channel 10
#### key2 long press, airlink mode
[023304][NWK] NWK_WIFI_ONBOARDING_UP
[023304][NWK] NWK_WIFI_STA_DOWN
state: 5 -> 0 (0)
rm 0
SC version: V2.5.4
[023240][WiFiEvent] OpenAirlink...
[zs] callback long key: [2][1]
[023240][WiFiEvent] disconnect from ssid CMCC-nRKg, reason 8
[023240][FR] Onboarding mode, don't reconnect router.
[023296][NWK] gagentNwkEventCB event: 0x0040
[023296][Local] GAgentStatus change, lastGAgentStatus:0x000A, newGAgentStatus:0x000C
@@@@ GAgentStatus[hex]:0c | [Bin]:0,0,1,1,0,0
OnBoarding: AirLink mode
@@@@ RSSI 0
[023296][FR] Cancle router connect monitor.
[023296][Dev] Save gagent config data
[023296][NWK] haiNwkStatus: 0x000C, gagentStatus: 0x000C
[023256][NWK] gagentNwkEventCB event: 0x0008
[023256][NWK] haiNwkStatus: 0x000C, gagentStatus: 0x000C
scandone
valuehumidity Changed
valuetemperature Changed
getConnectM2MStatus = 0 ###$$$###
[020344][Simulator] gagentUploadData start 20344 bytes++++++++++++++++++++++++++++++++++++++++++++++++++
[020344][Simulator] gagentUploadData NULL==szDID upload by GAgent
[020344][Simulator] GAgent not in WIFI_STATION_CONNECTED,gagentUploadData error
[uploadDataCBFunc]: result -2 |
|