Search found 15 matches

by edmund-huber
Sat Jun 03, 2017 6:47 am
Forum: ESP-IDF
Topic: how to check that the wifi is idle?
Replies: 4
Views: 7747

Re: how to check that the wifi is idle?

Check out "port/netif/wlanif.c". This is the arch-specific implementation of the "wlan" interface for lwip. "low_level_output" is the function that gets called by lwip when lwip has an IP packet to send, such as when your program wants to send a UDP datagram. "esp_wifi_internal_tx" is the function (...
by edmund-huber
Sat Jun 03, 2017 1:20 am
Forum: ESP-IDF
Topic: make monitor error
Replies: 2
Views: 5058

Re: make monitor error

Duplicate of: https://github.com/espressif/esp-idf/issues/665 . Please don't post the exact same question in two places if you can avoid it - it fragments the discussion and makes it hard to follow.
by edmund-huber
Sat Jun 03, 2017 1:12 am
Forum: ESP-IDF
Topic: BLE implementation
Replies: 3
Views: 7443

Re: BLE implementation

Instead of pairing, try just connecting.

To check if it is working (independent of your program): if you have Android, try using something like https://play.google.com/store/apps/deta ... scan&hl=en to scan for the esp32, look at the service and its attributes.
by edmund-huber
Fri Jun 02, 2017 12:23 am
Forum: ESP-IDF
Topic: Minimizing power consumption while connected to WiFi
Replies: 6
Views: 19310

Minimizing power consumption while connected to WiFi

Hello, I've been trying to characterize, and minimize, the energy used by the ESP32. Particularly when it is "idle", and all it needs to be doing is maintaining a WiFi connection. The datasheet claims that modem sleep should achieve 20 mA (at worst?). However, in my experiment I have found that curr...
by edmund-huber
Thu Jun 01, 2017 1:37 am
Forum: General Discussion
Topic: Available sram
Replies: 1
Views: 4406

Re: Available sram

Out of the 512KB SRAM how much will be available to applications? This is greatly dependent on what features you enable. When you enable features like WiFi or BLE, in addition to whatever additional code must be linked in to the binary, these features also have a measurable impact in terms of run-t...