在使用sony c3 手機 在使用EspTouch (smart config) 對esp8266 的板子 .
發現 在多人使用 ap 基地台 條件下( 很多手機跟NB 連這這個ap 基地台)
會只收到 smart config uart 打印訊息 如下
SC_STATUS_FIND_CHANNEL
SC_STATUS_GETTING_SSID_PSWD
SC_TYPE:SC_TYPE_ESPTOUCH
然後 就一直沒有其它訊息出來了.
再過了一會 會再收到
SC_STATUS_FIND_CHANNEL
此時 應該代表 已經是失敗的了.
但若是 ap基地台 很少人使用 (只剩1台 android手機 與 esp8266)
此條件下 , 就100% 成功 , 只是 所花時間要40s 以上.
所以 想請問 , 已經可以收到 SC_STATUS_GETTING_SSID_PSWD 的訊息了.
怎麼在 收到這個訊息時 就先 得到 ssid 與 passwd .
這樣子 就可以 只收到 SC_STATUS_GETTING_SSID_PSWD 就夠了 , 剩下 部份 再加程式處理.
十分感謝 回覆.
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.