Search found 416 matches

by pratik
Tue Aug 08, 2017 3:58 pm
Forum: ESP8266 SDK
Topic: Light sleep and timers
Replies: 4
Views: 329

Re: Light sleep and timers

Light sleep turns the CPU off, so timed light sleep is a bit of an issue. Also, to use light sleep, wifi radio must be in NULL mode (radio off!). So modem sleep is what you should use. When ESP is the AP, power saving is not practical. An AP must stay up all the time. You can lower the transmit stre...
by pratik
Tue Aug 08, 2017 3:53 pm
Forum: General Q&A
Topic: [error]Esp8266 bcn_timeout and reset
Replies: 3
Views: 164

Re: [error]Esp8266 bcn_timeout and reset

You can use the os_timer functions for any amount of time, even thousands of seconds. But note that FreeRTOS API has specific programming techniques for creating tasks that execute in intervals. You should use that, do consult the FreeRTOS API guide for reference. It is important that you do not sta...
by pratik
Tue Aug 08, 2017 3:50 pm
Forum: Report Bugs
Topic: (RTOS_SDK) mbedtls_ssl_write low memory issue
Replies: 9
Views: 468

Re: (RTOS_SDK) mbedtls_ssl_write low memory issue

I've never encountered such issues, it would be nice if you could share the code that is causing the problem. All WiFi networking functions will return with error instead of waiting for resource allocation. You can look at the code for LwIP or mbedTLS (they are open), if that would help. With FreeRT...
by pratik
Tue Aug 08, 2017 3:45 pm
Forum: AT+ Commands
Topic: Receive Buffer Clear TimeOut
Replies: 3
Views: 182

Re: Receive Buffer Clear TimeOut

The ESP-12 will manage all data in internal queues, so you cannot really overwhelm the UART unless you are REALLY forcing data on it.
Are you using the latest SDK?
by pratik
Tue Aug 08, 2017 3:41 pm
Forum: ESP8266 SDK
Topic: I2C Communication Fails with DS3231 RTC Module
Replies: 6
Views: 461

Re: I2C Communication Fails with DS3231 RTC Module

The WiFi and related peripheral registers are not declared publicly for good reason. Even if we allow management packets to be sent out using pkt_freedom APIs, I'm sure people will find a way to disrupt wireless traffic or hack other networks (not something we would like! Because that is easy to do ...
by pratik
Tue Aug 08, 2017 3:35 pm
Forum: AT+ Commands
Topic: AT+WPS in SoftAP
Replies: 1
Views: 89

Re: AT+WPS in SoftAP

The SDK APIs only support WPS functions when ESP8266 radio is in station mode ONLY. So this is not supported yet, it might be in future releases.
by pratik
Tue Aug 08, 2017 1:25 pm
Forum: ESP8266 SDK
Topic: Image built at QIO but programmed as DIO (ESP12-F not compatible ESP-12E)
Replies: 4
Views: 142

Re: Image built at QIO but programmed as DIO (ESP12-F not compatible ESP-12E)

I work remotely with Espressif, I'm based in India. I have ESP-12E and ESP-12F modules labeled AI Thinker that work in both DIO and QIO very well. They should not change flash in recent versions without labeling it as a different part. QIO programs will be bricked if run on DIO board! Can't they sup...
by pratik
Mon Aug 07, 2017 12:58 pm
Forum: ESP8266 SDK
Topic: I2C Communication Fails with DS3231 RTC Module
Replies: 6
Views: 461

Re: I2C Communication Fails with DS3231 RTC Module

That is great! If you want to, you can create a merge request on nonOS SDK code on GitHub/espressif. I will recommend the I2C code internally and we will merge it to the SDK in the next release if approved internally. Yes, the ESP8266 datasheet has some issues like that. There is not hardware suppor...
by pratik
Mon Aug 07, 2017 12:46 pm
Forum: ESP8266 SDK
Topic: Image built at QIO but programmed as DIO (ESP12-F not compatible ESP-12E)
Replies: 4
Views: 142

Re: Image built at QIO but programmed as DIO (ESP12-F not compatible ESP-12E)

That's sad. Are you directly getting your modules from AI-Thinker? We would strongly suggets using just QIO or just DIO for ALL modules. I personally like to compile all programs for DIO mode, and it runs a little slower than QIO but it will always run on both DIO and QIO flash. If you compile and e...
by pratik
Mon Aug 07, 2017 12:37 pm
Forum: AT+ Commands
Topic: How to enable AT interface in your programs ?
Replies: 2
Views: 163

Re: How to enable AT interface in your programs ?

https://github.com/espressif/ESP8266_NONOS_SDK/tree/master/examples/at You should compile this example first, then remove all the custom command registrations. Then you can use AT commands and also have your own custom program. Calling at_init enables all default AT commands. You can use the comman...

Go to advanced search