有幾個問題想請問,
1. 如何知道我已經建立 station 連結,或是 soft-ap 已經準備好可以讓人家連線,這個有回呼可以使用嗎?
2. 在知道已經建立好 station 連結,我開啟一個 UDP server 後,如何知道 UDP 連線已經建立好?
UDP 並沒有 espconn_regist_connectcb 可以使用。
3. 我們目的是在裝置連上網路後對網路廣播,說 8266 已經可以連結了。
如何在 soft-ap 與 station 連線後,udp 廣播一個封包
Re: 如何在 soft-ap 與 station 連線後,udp 廣播一個封包
Postby ESP_Faye » Tue Jun 16, 2015 1:50 pm
您好,
您可以通过发 UDP 广播包, ESP8266 连上网络后, 会收到这个 UDP 广播包, ESP8266 回复响应.
可以参考 demo http://bbs.espressif.com/viewtopic.php?f=21&t=440
感谢您对 ESP8266 的关注 !
您可以通过发 UDP 广播包, ESP8266 连上网络后, 会收到这个 UDP 广播包, ESP8266 回复响应.
可以参考 demo http://bbs.espressif.com/viewtopic.php?f=21&t=440
感谢您对 ESP8266 的关注 !
Who is online
Users browsing this forum: No registered users and 22 guests
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.