收藏官网首页
查看: 1315|回复: 1

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

1

主题

5

帖子

2040

积分

金牌会员

Rank: 6Rank: 6

积分
2040
跳转到指定楼层
楼主
 楼主| 发表于 2024-1-18 16:33:13 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
免费使用STM32、APP自动代码生成工具
[020432][WiFiEvent] SC_STATUS_FIND_CHANNEL
#### key1 long press, default setup
[022352][NWK] NWK_WIFI_ONBOARDING_UP
SC version: V2.5.4
[023976][WiFiEvent] OpenAirlink...
[zs] callback long key: [2][0]
[023976][NWK] GAgentNwkEventCB event: 0x0040
[023976][FR]  Cancle router connect monitor.
[023976][Dev]  Save gagent config data,start erase flash.
[023976][Dev]  Flash erase failed, err: 1
[023976][NWK] haiNwkStatus: 0x000C, gagentStatus: 0x000C
scandone
scandone
[020976][WiFiEvent] SC_STATUS_FIND_CHANNEL
TYPE: ESPTOUCH
[021904][WiFiEvent] SC_STATUS_GETTING_SSID_PSWD
[021904][WiFiEvent] SC_TYPE:SC_TYPE_ESPTOUCH
F|pswd: ****
F|ssid: *******
[021792][WiFiEvent] SC_STATUS_LINK
[021792][NWK] NWK_WIFI_ONBOARDING_DOWN
[021792][Timer] gagentTimerDel <null> has not linked.
[021792][GAgent] gatConfigDataParse config data:
[021792]**************** 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

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

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

ets Jan  8 2013,rst cause:2, boot mode3,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---
[030344][Local] default szWechatDeviceType    : gh_35dd1e10ab57
[030344][Local] default szGAgentSoftApName    : XPG-GAgent-a0fa
[030344][Local] default szGAgentSoftApPwd     : 123456789
[030344][Local] default szGAgentSever         : api.gizwits.com
[030344][Local] default gagentSeverPort       : 80
[030344][Local] default localHBIntervalS      : 40
[030344][Local] default localTransIntervalMS  : 450
[030344][Local] default m2mKeepAliveS         : 150
[030344][Local] default m2mHBIntervalS        : 50
[030344][Local] default timeZoneS             : 0
[030344][Local] default configMode            : 2
[030344][Local] default tScanNum              : 0
[030344][Local] default tCon                  : 0
[026744][Dev] GAgent_DevGetConfigData Flash data Error.
[026744][Dev]  Magic number different : 0.[026744][Local] GAgent creat new passcode : XTP***GYH
[026744][Dev]  Save gagent config data,start erase flash.
[026744][Dev]  Flash erase failed, err: 1
[025712][Log] gatLogGetBufOffset finding header error...
[025712][Log] gatLogErrorProess :has error data,erase flash!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.
[025712][Log] gatLogGetBufOffset finding header error...
[025712][Log] gagentLogInit wOffset:0 rOffset:0.
[025712][Dev] Domain:api.gizwits.com:80.
[025712][Dev] tz in sec:28800,timezone:8.0
[025648][LanOTA] lanOTAInit ...... ok
[025600][Simulator] GAgent lib Time:Jan 15 2021 12:40:23
[025600][GAgent] GAgent Start...
[025600][WiFiEvent] GAgent_WiFiInit preSetWifiMode:1 expectWifiMode:2.
[025600][NWK] NWK_WIFI_ONBOARDING_UP
SC version: V2.5.4
[025336][WiFiEvent] OpenAirlink...
[025336][Local] MCU old product_key: need to Refresh
[025336][Local] GAgent creat new passcode : DVH***VEO
[025336][Dev]  Save gagent config data,start erase flash.
[025336][Dev]  Flash erase failed, err: 1
[025336][Local] ----------------------------------------- GAGENT INFO --------------------------------------
[025336][Local] GAgent Work in GAGENT_SOC.
[025336][Local] GAgent Product Soft Version:04020A25.
[025336][Local] GAgent Product Hard Version:00ESP826.
[025336][Local] GAgent Compiled Time       :Jan 15 2021, 12:40:24.
[025336][Local] GAgent cache first ssid    :.
[025336][Local] GAgent backup ssid         :.
[025336][Local] GAgent mac                 :2cf43219a0fa
[025336][025336][Auth] No authkey in this flash,need to create.
[025336][Dev]  Save gagent config data,start erase flash.
[025336][Dev]  Flash erase failed, err: 1
[025336][Auth] auth key create success.
[Local] GAgent authKey             :330******************f83
[025336][Local] GAgent passcodelen:10      VH***VEO
[025336][Local] GAgent did                 :
[025336][Local] GAgent old passcode        :XTP***GYH
[025336][Local] GAgent old_did             :
[025336][Local] GAgent old pk              :8151d5242b7447c6a813ca8dfb75754a len:32
[025336][Local] GAgent AP name             :XPG-GAgent-a0fa
[025336][Local] GAgent 3rd cloud           :
[025336][Local] GAgent M2M Host            : , IP :0.0.0.0
[025336][Local] GAgent Default GServer Host:api.gizwits.com port:80
[025336][Local] GAgent GService Host       : , Port :0 , IP :0.0.0.0
[025336][Local] GAgent BizLogLev           :00,SysLogLev:00
[025336][Local] GAgent tz_offset           :28800
[025336][Local] GAgent location_id         :0
[025336][Local] GAgent MCU Protocol Vertion:00000004.
[025336][Local] GAgent MCU P0 Vertion      :00000002.
[025336][Local] GAgent MCU Hard Vertion    :03000001.
[025336][Local] GAgent MCU Soft Vertion    :03030000.
[025336][Local] GAgent WeChat Device Type:gh_******b57
[025336][Local] Flash Size:FLASH_SIZE_32Mbit .
[025336][Local] --------------------------------------------------------------------------------------

devAuthResultCb
gizwitsInit OK
gpio_name 2
--- system_free_size = 25312 ---
mode : sta(2c:f4:32:19:a0:fa)
add if0
scandone
[023752][NWK] gagentNwkEventCB event: 0x0040
[023752][Local] GAgentStatus change, lastGAgentStatus:0x0000, newGAgentStatus:0x000C
@@@@ GAgentStatus[hex]:0c | [Bin]:0,0,1,1,0,0
OnBoarding: AirLink mode
WiFi status: in binding mode
@@@@ RSSI 0
[023752][FR]  Cancle router connect monitor.
[023752][Dev]  Save gagent config data,start erase flash.
[023752][Dev]  Flash erase failed, err: 1
[023752][NWK] haiNwkStatus: 0x000C, gagentStatus: 0x000C
scandone
scandone
[020832][WiFiEvent] SC_STATUS_FIND_CHANNEL
TYPE: ESPTOUCH
[021976][WiFiEvent] SC_STATUS_GETTING_SSID_PSWD
[021976][WiFiEvent] SC_TYPE:SC_TYPE_ESPTOUCH
F|pswd: 88891314
F|ssid: TP-LINK_2.4G
[021720][WiFiEvent] SC_STATUS_LINK
[021720][NWK] NWK_WIFI_ONBOARDING_DOWN
[021720][Timer] gagentTimerDel <null> has not linked.
[021720][GAgent] gatConfigDataParse config data:
[021720]**************** 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

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

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

ets Jan  8 2013,rst cause:2, boot mode3,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---
[030344][Local] default szWechatDeviceType    : gh_35dd1e10ab57
[030344][Local] default szGAgentSoftApName    : XPG-GAgent-a0fa
[030344][Local] default szGAgentSoftApPwd     : 123456789
[030344][Local] default szGAgentSever         : api.gizwits.com
[030344][Local] default gagentSeverPort       : 80
[030344][Local] default localHBIntervalS      : 40
[030344][Local] default localTransIntervalMS  : 450
[030344][Local] default m2mKeepAliveS         : 150
[030344][Local] default m2mHBIntervalS        : 50
[030344][Local] default timeZoneS             : 0
[030344][Local] default configMode            : 2
[030344][Local] default tScanNum              : 0
[030344][Local] default tCon                  : 0
[026744][Dev] GAgent_DevGetConfigData Flash data Error.
[026744][Dev]  Magic number different : 0.[026744][Local] GAgent creat new passcode : URL***BAX
[026744][Dev]  Save gagent config data,start erase flash.
[026744][Dev]  Flash erase failed, err: 1
[025712][Log] gatLogGetBufOffset finding header error...
[025712][Log] gatLogErrorProess :has error data,erase flash!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.
[025712][Log] gatLogGetBufOffset finding header error...
[025712][Log] gagentLogInit wOffset:0 rOffset:0.
[025712][Dev] Domain:api.gizwits.com:80.
[025712][Dev] tz in sec:28800,timezone:8.0
[025648][LanOTA] lanOTAInit ...... ok
[025600][Simulator] GAgent lib Time:Jan 15 2021 12:40:23
[025600][GAgent] GAgent Start...
[025600][WiFiEvent] GAgent_WiFiInit preSetWifiMode:1 expectWifiMode:2.
[025600][NWK] NWK_WIFI_ONBOARDING_UP
SC version: V2.5.4
[025336][WiFiEvent] OpenAirlink...
[025336][Local] MCU old product_key: need to Refresh
[025336][Local] GAgent creat new passcode : BTB***QDG
[025336][Dev]  Save gagent config data,start erase flash.
[025336][Dev]  Flash erase failed, err: 1
[025336][Local] ----------------------------------------- GAGENT INFO --------------------------------------
[025336][Local] GAgent Work in GAGENT_SOC.
[025336][Local] GAgent Product Soft Version:04020A25.
[025336][Local] GAgent Product Hard Version:00ESP826.
[025336][Local] GAgent Compiled Time       :Jan 15 2021, 12:40:24.
[025336][Local] GAgent cache first ssid    :.
[025336][Local] GAgent backup ssid         :.
[025336][Local] GAgent mac                 :2cf43219a0fa
[025336][025336][Auth] No authkey in this flash,need to create.
[025336][Dev]  Save gagent config data,start erase flash.
[025336][Dev]  Flash erase failed, err: 1
[025336][Auth] auth key create success.
[Local] GAgent authKey             :330******************f83
[025336][Local] GAgent passcodelen:10      :BTB***QDG
[025336][Local] GAgent did                 :
[025336][Local] GAgent old passcode        :URL***BAX
[025336][Local] GAgent old_did             :
[025336][Local] GAgent old pk              :8151d5242b7447c6a813ca8dfb75754a len:32
[025336][Local] GAgent AP name             :XPG-GAgent-a0fa
[025336][Local] GAgent 3rd cloud           :
[025336][Local] GAgent M2M Host            : , IP :0.0.0.0
[025336][Local] GAgent Default GServer Host:api.gizwits.com port:80
[025336][Local] GAgent GService Host       : , Port :0 , IP :0.0.0.0
[025336][Local] GAgent BizLogLev           :00,SysLogLev:00
[025336][Local] GAgent tz_offset           :28800
[025336][Local] GAgent location_id         :0
[025336][Local] GAgent MCU Protocol Vertion:00000004.
[025336][Local] GAgent MCU P0 Vertion      :00000002.
[025336][Local] GAgent MCU Hard Vertion    :03000001.
[025336][Local] GAgent MCU Soft Vertion    :03030000.
[025336][Local] GAgent WeChat Device Type:gh_******b57
[025336][Local] Flash Size:FLASH_SIZE_32Mbit .
[025336][Local] --------------------------------------------------------------------------------------

devAuthResultCb
gizwitsInit OK
gpio_name 2
--- system_free_size = 25312 ---
mode : sta(2c:f4:32:19:a0:fa)
add if0
scandone
[023752][NWK] gagentNwkEventCB event: 0x0040
[023752][Local] GAgentStatus change, lastGAgentStatus:0x0000, newGAgentStatus:0x000C
@@@@ GAgentStatus[hex]:0c | [Bin]:0,0,1,1,0,0
OnBoarding: AirLink mode
WiFi status: in binding mode
@@@@ RSSI 0
[023752][FR]  Cancle router connect monitor.
[023752][Dev]  Save gagent config data,start erase flash.
[023752][Dev]  Flash erase failed, err: 1
[023752][NWK] haiNwkStatus: 0x000C, gagentStatus: 0x000C
scandone
scandone
[021360][WiFiEvent] SC_STATUS_FIND_CHANNEL
TYPE: ESPTOUCH
[022192][WiFiEvent] SC_STATUS_GETTING_SSID_PSWD
[022192][WiFiEvent] SC_TYPE:SC_TYPE_ESPTOUCH
smartconfig restart
SC version: V2.5.4
scandone
scandone
[022648][WiFiEvent] SC_STATUS_FIND_CHANNEL
沙发
发表于 2024-1-18 17:33:20 来自手机 | 只看该作者
模块电源提供稳定一点的,尽量使用稳定一点的esp12s或者esp32c3作为soc开发
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

加入Q群 返回顶部

版权与免责声明 © 2006-2024 Gizwits IoT Technology Co., Ltd. ( 粤ICP备11090211号 )

快速回复 返回顶部 返回列表