ESP8266 Developer Zone The Official ESP8266 Forum 2014-12-11T08:06:44+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=72 2014-12-11T08:06:44+08:00 2014-12-11T08:06:44+08:00 https://bbs.espressif.com:443/viewtopic.php?t=72&p=270#p270 <![CDATA[Re: wifi_station_connect() api call behavior in esp_iot_rtos]]>
Thank you very much for the info. I look forward to seeing the new features in the rtos sdk soon.

Kind regards,
Jonathan

Statistics: Posted by jmg5150 — Thu Dec 11, 2014 8:06 am


]]>
2014-12-10T19:51:36+08:00 2014-12-10T19:51:36+08:00 https://bbs.espressif.com:443/viewtopic.php?t=72&p=267#p267 <![CDATA[Re: wifi_station_connect() api call behavior in esp_iot_rtos]]> 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.

Statistics: Posted by jackon — Wed Dec 10, 2014 7:51 pm


]]>
2014-12-09T02:42:11+08:00 2014-12-09T02:42:11+08:00 https://bbs.espressif.com:443/viewtopic.php?t=72&p=254#p254 <![CDATA[wifi_station_connect() api call behavior in 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

Statistics: Posted by jmg5150 — Tue Dec 09, 2014 2:42 am


]]>