DEBUG GAgent Hal ReSet wifiStatus0001
DEBUG GAgent Hal wifiStatus :0004
DEBUG GAgent Hal Set wifiStatus0002
DEBUG GAgent Hal wifiStatus :0006 SC version: V2.4.7
f 0,
INFO OpenAirlink... //WiFi模块进入Airlink模式
DEBUG GAgent Get Hal wifiStatus :0006
INFO wifiStatus : 000d new:0006
DEBUG Logsystem: WIFI_MODE_AP AP DOWN!
DEBUG GAgent Hal ReSet wifiStatus0020
DEBUG GAgent Hal wifiStatus :0006
INFO WIFI_MODE_STATION UP.
INFO GAgentStatus change, lastGAgentStatus=0x000d, newGAgentStatus=0x000e
INFO not in WIFI_STATION_CONNECTED
DEBUG read=0, write=0
INFO Get ACK ok!
DEBUG GAgent Hal Set wifiStatus0004
DEBUG GAgent Hal wifiStatus :0006
INFO AirLink Timeout ... //Airlink模式超时,模块下一步自动进入softap模式
INFO Into SoftAp Config...mode : sta(5c:cf:**:**:15:**) + softAP(5e:cf:**:**:15:**)
add if1
dhcp server startip:10.10.100.254,mask:255.255.255.0,gw:10.10.100.254)
bcn 100
INFO soft_ap.ssid XPG-GAgent-15**
DEBUG GAgent Hal Set wifiStatus0001
DEBUG GAgent Hal wifiStatus :0007
DEBUG GAgent Hal Set wifiStatus0004
DEBUG GAgent Hal wifiStatus :0007
DEBUG GAgent Get Hal wifiStatus :0006
INFO wifiStatus : 000e new:0006
INFO not in WIFI_STATION_CONNECTED
DEBUG read=0, write=0
T|SCAN SSID: G**t
T|pswd: ** //给WiFi模块配置的password
T|ssid: G**t //给WiFi模块配置的ssid
SC_STATUS_LINK //Airlink配置成功
f 0,
CRITICAL AirLink result ssid:G**t key:**
DEBUG GAgent Hal ReSet wifiStatus0004
DEBUG GAgent Hal wifiStatus :0002
DEBUG GAgent Get Hal wifiStatus :0002
INFO wifiStatus : 000e new:0002
INFO WIFI_MODE_ONBOARDING DOWN.
INFO Receive OnBoarding data.
INFO GAgent_DRVBootConfigWiFiMode ReStart.
CRITICAL Please restart GAgent !!! //WiFi模块自动重启
DEBUG GAgent Get Hal wifiStatus :0005
INFO wifiStatus : 000d new:0005
INFO free xpg aplist...
INFO not in WIFI_STATION_CONNECTED
DEBUG read=0, write=0
DEBUG file:gagent.c function:GAgent_Config line:543
DEBUG GAgent Hal Set wifiStatus0004
DEBUG GAgent Hal wifiStatus :0005
DEBUG GAgent Get Hal wifiStatus :0005
INFO wifiStatus : 000d new:0005
INFO free xpg aplist...
INFO not in WIFI_STATION_CONNECTED
DEBUG read=0, write=0add 1
aid 1
station: 64:**:**:**:**:12 join, AID = 1 // 64:**:**:**:**:12 这个是手机的物理地址
event 4
station: 64:**:**:**:**:12join, AID = 1 // AID = 1 这个是手机的链接数量
DEBUG GAgent Get Hal wifiStatus :0005
INFO wifiStatus : 000d new:0005
INFO free xpg aplist...
INFO not in WIFI_STATION_CONNECTED
DEBUG read=0, write=0
DEBUG ReSet Data Type : 90C89D11 - LOCAL_DATA_IN
DEBUG Set Data Type : 90C89D98 - CLOUD_DATA_OUT & LAN_TCP_DATA_OUT
DEBUG OUT packet type : 90C89D98
DEBUG file:lanudp.c functionan_dispatchUdpData line:158
DEBUG GAgent Hal ReSet wifiStatus0004
DEBUG GAgent Hal wifiStatus :0001
DEBUG GAgent Hal ReSet wifiStatus0001
DEBUG GAgent Hal wifiStatus :0000 station: 64:**:**:**:**:12 leave, AID = 1
event 5
station: 64:**:**:**:**:12 leave, AID = 1
rm 1
bcn 0
del if1
mode : sta(5c:**:**:**:**:67)
DEBUG GAgent Hal Set wifiStatus0002
DEBUG GAgent Hal wifiStatus :0002
DEBUG GAgent Hal ReSet wifiStatus0001
DEBUG GAgent Hal wifiStatus :0002 f -180,
INFO Station ssid:G**t StaPass:**
ERROR send onboarding response fail,len:8.ret:0xfffffff4
DEBUG ReSet Data Type : 90C89D11 - LOCAL_DATA_IN
DEBUG Set Data Type : 90C89D98 - CLOUD_DATA_OUT & LAN_TCP_DATA_OUT
DEBUG OUT packet type : 90C89D98
5)设备登录成功链接进入云端的标识log如下(红色log部分):
DEBUG Go to MQTT_STATUS_RES_LOGINTOPIC3.
INFO MQTT Send packet
INFO LOGIN T3 sub topic is:app2dev/yRw7NEofoNo4afgNyHanao/#
INFO MQTT_STATUS_LOGINTOPIC3
DEBUG m2m sent succeed !!!
DEBUG Data from M2M!!!
DEBUG MQTT message type 144
CRITICAL GAgent Cloud Working... // 设备成功登录云的log信息
CRITICAL system_get_free_heap_size = 8232
INFO Send passcode(**) to client[1][send data len:0] //绑定信息
DEBUG tcp sent cb
DEBUG GAgent Get Hal wifiStatus :0032
INFO wifiStatus : 013a new:0032
DEBUG read=0, write=0
DEBUG GAgent_Log_Channel=0.
DEBUG Gagent_ReadLogbuf
INFO LAN login success! clientid[0]//局域网登陆部分,clientid[0] 里面的“0”为链接的数量,数量从0开始。
DEBUG GAgent Get Hal wifiStatus :0032
INFO wifiStatus : 093a new:0032
INFO GAgentStatus change, lastGAgentStatus=0x013a, newGAgentStatus=0x093a
DEBUG read=0, write=0
DEBUG GAgent_Log_Channel=0.
DEBUG Gagent_ReadLogbuf
DEBUG Data from M2M!!!
DEBUG MQTT message type 48
INFO wanclient_num = 1 //远程登录部分,“1”为链接的个数
DEBUG GAgent Get Hal wifiStatus :0032
INFO wifiStatus : 093a new:0032
INFO GAgentStatus change, lastGAgentStatus=0x013a, newGAgentStatus=0x093a
DEBUG read=0, write=0
DEBUG GAgent_Log_Channel=0.
DEBUG Gagent_ReadLogbuf
7)局域网通信数据(红色log部分),远程通信数据(蓝色log部分)
DEBUG tcp sent cb
DEBUG m2m sent succeed !!!
INFO Get ACK ok!
DEBUG ReSet Data Type : E8B9534 - LAN_TCP_DATA_IN // 小循环发进来的数据
DEBUG Set Data Type : E8B9532 - LOCAL_DATA_OUT // 数据发送给串口
DEBUG OUT packet type : E8B9532
DEBUG Data from M2M!!!
DEBUG MQTT message type 48
INFO Cloud CMD =0090
INFO CLOUD_DATA_IN cmd : 0090
DEBUG ReSet Data Type : BE979560 - CLOUD_DATA_IN // 大循环发送进来的数据
DEBUG Set Data Type : BE979522 - LOCAL_DATA_OUT // 数据发送给串口