lzzqwer008 发表于 2024-1-18 16:33:13

esp01s进入Airlink模式,总是连接不上,请大神看看是什么问题。

SC_STATUS_FIND_CHANNEL
#### key1 long press, default setup
NWK_WIFI_ONBOARDING_UP
SC version: V2.5.4
OpenAirlink...
callback long key:
gagentNwkEventCB event: 0x0040
Cancle router connect monitor.
Save gagent config data,start erase flash.
Flash erase failed, err: 1
haiNwkStatus: 0x000C, gagentStatus: 0x000C
scandone
scandone
SC_STATUS_FIND_CHANNEL
TYPE: ESPTOUCH
SC_STATUS_GETTING_SSID_PSWD
SC_TYPE:SC_TYPE_ESPTOUCH
F|pswd: ****
F|ssid: *******
SC_STATUS_LINK
NWK_WIFI_ONBOARDING_DOWN
gagentTimerDel <null> has not linked.
gatConfigDataParse config data:
**************** 0064 ***************
38 38 38 39 31 33 31 34 00 1b 30 1b 38 30 1b 33 30 39 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00

pwd:******.
cmd:0.
info:309.
app set timezone szTZ1=8 szTZ2=0 timeZoneSec=28800
GAgent got locationId = 309.
The same as current gserver,don't update to GAgent.

Save gagent config data,start erase flash.
Flash erase failed, err: 1
AirLink result ssid:****** key:****
bssid_set=1 bssid:d076e70e8c75.
gagentNwkEventCB event: 0x0080
GAgentStatus change, lastGAgentStatus:0x000C, newGAgentStatus:0x0008
@@@@ GAgentStatus:08 | :0,0,1,0,0,0
@@@@ RSSI 0
Receive OnBoarding data.
Save gagent config data,start erase flash.
Flash erase failed, err: 1
NWK_WIFI_STA_UP
gagentDevRestart 1259 GAGENT_RESTART_CONFIG
some net err occur,do nothing !!!
Please restart GAgent !!!
scandone
del if0
usl
haiNwkStatus: 0x000A, gagentStatus: 0x000A
gagentNwkEventCB event: 0x0004
GAgentStatus change, lastGAgentStatus:0x0008, newGAgentStatus:0x000A
@@@@ GAgentStatus:0a | :0,0,1,0,1,0
OnBoarding: Station mode
@@@@ RSSI 0
haiNwkStatus: 0x000A, gagentStatus: 0x000A

ets Jan8 2013,rst cause:2, boot mode:(3,0)

load 0x40100000, len 2408, room 16
tail 8
chksum 0xe5
load 0x3ffe8000, len 776, room 0
tail 8
chksum 0x84
load 0x3ffe8310, len 632, room 0
tail 8
chksum 0xd8
csum 0xd8

2nd boot version : 1.6
SPI Speed      : 40MHz
SPI Mode       : DIO
SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user1 @ 1000

勩鋻{皿n<膌{$屸s抣刲 l`勩{沝靌僵┅┅┅┅┅┅﹊E-乿ersion:2.0.0(5a875ba)--------------
system_get_free_heap_size=33464
reset reason: 4
---UPGRADE_FW_BIN1---
default szWechatDeviceType    : gh_35dd1e10ab57
default szGAgentSoftApName    : XPG-GAgent-a0fa
default szGAgentSoftApPwd   : 123456789
default szGAgentSever         : api.gizwits.com
default gagentSeverPort       : 80
default localHBIntervalS      : 40
default localTransIntervalMS: 450
default m2mKeepAliveS         : 150
default m2mHBIntervalS      : 50
default timeZoneS             : 0
default configMode            : 2
default tScanNum            : 0
default tCon                  : 0
GAgent_DevGetConfigData Flash data Error.
Magic number different : 0. GAgent creat new passcode : XTP***GYH
Save gagent config data,start erase flash.
Flash erase failed, err: 1
gatLogGetBufOffset finding header error...
gatLogErrorProess :has error data,erase flash!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.
gatLogGetBufOffset finding header error...
gagentLogInit wOffset:0 rOffset:0.
Domain:api.gizwits.com:80.
tz in sec:28800,timezone:8.0
lanOTAInit ...... ok
GAgent lib Time:Jan 15 2021 12:40:23
GAgent Start...
GAgent_WiFiInit preSetWifiMode:1 expectWifiMode:2.
NWK_WIFI_ONBOARDING_UP
SC version: V2.5.4
OpenAirlink...
MCU old product_key: need to Refresh
GAgent creat new passcode : DVH***VEO
Save gagent config data,start erase flash.
Flash erase failed, err: 1
----------------------------------------- GAGENT INFO --------------------------------------
GAgent Work in GAGENT_SOC.
GAgent Product Soft Version:04020A25.
GAgent Product Hard Version:00ESP826.
GAgent Compiled Time       :Jan 15 2021, 12:40:24.
GAgent cache first ssid    :.
GAgent backup ssid         :.
GAgent mac               :2cf43219a0fa
No authkey in this flash,need to create.
Save gagent config data,start erase flash.
Flash erase failed, err: 1
auth key create success.
GAgent authKey             :330******************f83
GAgent passcodelen:10      :DVH***VEO
GAgent did               :
GAgent old passcode      :XTP***GYH
GAgent old_did             :
GAgent old pk            :8151d5242b7447c6a813ca8dfb75754a len:32
GAgent AP name             :XPG-GAgent-a0fa
GAgent 3rd cloud         :
GAgent M2M Host            : , IP :0.0.0.0
GAgent Default GServer Host:api.gizwits.com port:80
GAgent GService Host       : , Port :0 , IP :0.0.0.0
GAgent BizLogLev         :00,SysLogLev:00
GAgent tz_offset         :28800
GAgent location_id         :0
GAgent MCU Protocol Vertion:00000004.
GAgent MCU P0 Vertion      :00000002.
GAgent MCU Hard Vertion    :03000001.
GAgent MCU Soft Vertion    :03030000.
GAgent WeChat Device Type:gh_******b57
Flash Size:FLASH_SIZE_32Mbit .
--------------------------------------------------------------------------------------

devAuthResultCb
gizwitsInit OK
gpio_name 2
--- system_free_size = 25312 ---
mode : sta(2c:f4:32:19:a0:fa)
add if0
scandone
gagentNwkEventCB event: 0x0040
GAgentStatus change, lastGAgentStatus:0x0000, newGAgentStatus:0x000C
@@@@ GAgentStatus:0c | :0,0,1,1,0,0
OnBoarding: AirLink mode
WiFi status: in binding mode
@@@@ RSSI 0
Cancle router connect monitor.
Save gagent config data,start erase flash.
Flash erase failed, err: 1
haiNwkStatus: 0x000C, gagentStatus: 0x000C
scandone
scandone
SC_STATUS_FIND_CHANNEL
TYPE: ESPTOUCH
SC_STATUS_GETTING_SSID_PSWD
SC_TYPE:SC_TYPE_ESPTOUCH
F|pswd: 88891314
F|ssid: TP-LINK_2.4G
SC_STATUS_LINK
NWK_WIFI_ONBOARDING_DOWN
gagentTimerDel <null> has not linked.
gatConfigDataParse config data:
**************** 0064 ***************
38 38 38 39 31 33 31 34 00 1b 30 1b 38 30 1b 33 30 39 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00

pwd:88891314.
cmd:0.
info:309.
app set timezone szTZ1=8 szTZ2=0 timeZoneSec=28800
GAgent got locationId = 309.
The same as current gserver,don't update to GAgent.

Save gagent config data,start erase flash.
Flash erase failed, err: 1
AirLink result ssid:TP-LINK_2.4G key:88891314
bssid_set=1 bssid:d076e70e8c75.
gagentNwkEventCB event: 0x0080
GAgentStatus change, lastGAgentStatus:0x000C, newGAgentStatus:0x0008
@@@@ GAgentStatus:08 | :0,0,1,0,0,0
@@@@ RSSI 0
Receive OnBoarding data.
Save gagent config data,start erase flash.
Flash erase failed, err: 1
NWK_WIFI_STA_UP
gagentDevRestart 1259 GAGENT_RESTART_CONFIG
some net err occur,do nothing !!!
Please restart GAgent !!!
scandone
del if0
usl
haiNwkStatus: 0x000A, gagentStatus: 0x000A
gagentNwkEventCB event: 0x0004
GAgentStatus change, lastGAgentStatus:0x0008, newGAgentStatus:0x000A
@@@@ GAgentStatus:0a | :0,0,1,0,1,0
OnBoarding: Station mode
@@@@ RSSI 0
haiNwkStatus: 0x000A, gagentStatus: 0x000A

ets Jan8 2013,rst cause:2, boot mode:(3,0)

load 0x40100000, len 2408, room 16
tail 8
chksum 0xe5
load 0x3ffe8000, len 776, room 0
tail 8
chksum 0x84
load 0x3ffe8310, len 632, room 0
tail 8
chksum 0xd8
csum 0xd8

2nd boot version : 1.6
SPI Speed      : 40MHz
SPI Mode       : DIO
SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user1 @ 1000

屸僩錄r凔g|莤sd屻r踠宒 l`屸s抣鋖]┅┅┅┅┅┅┅iE-乿ersion:2.0.0(5a875ba)--------------
system_get_free_heap_size=33464
reset reason: 4
---UPGRADE_FW_BIN1---
default szWechatDeviceType    : gh_35dd1e10ab57
default szGAgentSoftApName    : XPG-GAgent-a0fa
default szGAgentSoftApPwd   : 123456789
default szGAgentSever         : api.gizwits.com
default gagentSeverPort       : 80
default localHBIntervalS      : 40
default localTransIntervalMS: 450
default m2mKeepAliveS         : 150
default m2mHBIntervalS      : 50
default timeZoneS             : 0
default configMode            : 2
default tScanNum            : 0
default tCon                  : 0
GAgent_DevGetConfigData Flash data Error.
Magic number different : 0. GAgent creat new passcode : URL***BAX
Save gagent config data,start erase flash.
Flash erase failed, err: 1
gatLogGetBufOffset finding header error...
gatLogErrorProess :has error data,erase flash!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.
gatLogGetBufOffset finding header error...
gagentLogInit wOffset:0 rOffset:0.
Domain:api.gizwits.com:80.
tz in sec:28800,timezone:8.0
lanOTAInit ...... ok
GAgent lib Time:Jan 15 2021 12:40:23
GAgent Start...
GAgent_WiFiInit preSetWifiMode:1 expectWifiMode:2.
NWK_WIFI_ONBOARDING_UP
SC version: V2.5.4
OpenAirlink...
MCU old product_key: need to Refresh
GAgent creat new passcode : BTB***QDG
Save gagent config data,start erase flash.
Flash erase failed, err: 1
----------------------------------------- GAGENT INFO --------------------------------------
GAgent Work in GAGENT_SOC.
GAgent Product Soft Version:04020A25.
GAgent Product Hard Version:00ESP826.
GAgent Compiled Time       :Jan 15 2021, 12:40:24.
GAgent cache first ssid    :.
GAgent backup ssid         :.
GAgent mac               :2cf43219a0fa
No authkey in this flash,need to create.
Save gagent config data,start erase flash.
Flash erase failed, err: 1
auth key create success.
GAgent authKey             :330******************f83
GAgent passcodelen:10      :BTB***QDG
GAgent did               :
GAgent old passcode      :URL***BAX
GAgent old_did             :
GAgent old pk            :8151d5242b7447c6a813ca8dfb75754a len:32
GAgent AP name             :XPG-GAgent-a0fa
GAgent 3rd cloud         :
GAgent M2M Host            : , IP :0.0.0.0
GAgent Default GServer Host:api.gizwits.com port:80
GAgent GService Host       : , Port :0 , IP :0.0.0.0
GAgent BizLogLev         :00,SysLogLev:00
GAgent tz_offset         :28800
GAgent location_id         :0
GAgent MCU Protocol Vertion:00000004.
GAgent MCU P0 Vertion      :00000002.
GAgent MCU Hard Vertion    :03000001.
GAgent MCU Soft Vertion    :03030000.
GAgent WeChat Device Type:gh_******b57
Flash Size:FLASH_SIZE_32Mbit .
--------------------------------------------------------------------------------------

devAuthResultCb
gizwitsInit OK
gpio_name 2
--- system_free_size = 25312 ---
mode : sta(2c:f4:32:19:a0:fa)
add if0
scandone
gagentNwkEventCB event: 0x0040
GAgentStatus change, lastGAgentStatus:0x0000, newGAgentStatus:0x000C
@@@@ GAgentStatus:0c | :0,0,1,1,0,0
OnBoarding: AirLink mode
WiFi status: in binding mode
@@@@ RSSI 0
Cancle router connect monitor.
Save gagent config data,start erase flash.
Flash erase failed, err: 1
haiNwkStatus: 0x000C, gagentStatus: 0x000C
scandone
scandone
SC_STATUS_FIND_CHANNEL
TYPE: ESPTOUCH
SC_STATUS_GETTING_SSID_PSWD
SC_TYPE:SC_TYPE_ESPTOUCH
smartconfig restart
SC version: V2.5.4
scandone
scandone
SC_STATUS_FIND_CHANNEL

冯俊波 发表于 2024-1-18 17:33:20

模块电源提供稳定一点的,尽量使用稳定一点的esp12s或者esp32c3作为soc开发
页: [1]
查看完整版本: esp01s进入Airlink模式,总是连接不上,请大神看看是什么问题。