Hello, I have a few questions about the behavior of the wifi_station_connect() api call, using the esp_iot_rtos_sdk.
1)
When calling the wifi_station_connect(), if the network is not found, the chip continues to retry connecting every 1 second. Is there a way to change this behavior? For example, it would be great to disable auto-retry, and detect the failure and handle it within my own code. Please let me know if this is possible.
2)
is it possible to modify/suppress the output of the wifi_station_connect()? [it'd be great to be able to suppress the output of all system/api commands so that uart contains only data sent from my within my application code.]
Any insight you have on these two items would be greatly appreciated.
Thank you very much!
-Jonathan
wifi_station_connect() api call behavior in esp_iot_rtos_sdk
Re: wifi_station_connect() api call behavior in esp_iot_rtos
Postby jackon » Wed Dec 10, 2014 7:51 pm
hi,jmg5150
A1: We will support this feature later. Some events will be post to user side, such as CONNECT, DISCONNECT, SCAN_DONE etc., so you can handler what you want by yourself.
A2: Esp8266 has two UART, UART0 is used to output log by default, but you can change to use UART1 by using os_install_putc1 function, then use UART0 to transmit your data.
A1: We will support this feature later. Some events will be post to user side, such as CONNECT, DISCONNECT, SCAN_DONE etc., so you can handler what you want by yourself.
A2: Esp8266 has two UART, UART0 is used to output log by default, but you can change to use UART1 by using os_install_putc1 function, then use UART0 to transmit your data.
Who is online
Users browsing this forum: No registered users and 91 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.