Search found 1122 matches

by kolban
Tue Feb 20, 2018 5:36 am
Forum: ESP32 SDK
Topic: Building and running a module beyond the original image file
Replies: 4
Views: 134

Building and running a module beyond the original image file

When I compile a C application for the ESP32 this results in an ELF file which we then process with "esptool elf2image" that produces a binary. I then flash that binary to the flash storage of my ESP32. I then reboot my ESP32 and the program runs. Excellent. Now imagine that I have a sourc...
by kolban
Tue Feb 20, 2018 1:48 am
Forum: General Discussion
Topic: Write to output port of ESP-WROOM-32
Replies: 3
Views: 77

Re: WRITE TO OUTPUT PORT ESP-WROOM-32

At the highest level, one might use the GPIO APIs provided by the ESP-IDF as documented here: http://esp-idf.readthedocs.io/en/latest/api-reference/peripherals/gpio.html From there, one could set each of the individual bits of your data to the output pins. Once the values have been set, you could th...
by kolban
Tue Feb 20, 2018 1:43 am
Forum: General Discussion
Topic: Saving WiFi credentials in the EEPROM
Replies: 2
Views: 89

Re: Saving WiFi credentials in the EEPROM

There is a subsystem in the ESP32 ESP-IDF called "Non Volatile Storage" (NVS) which allows one to save arbitrary data in named locations. Once saved, they can be restored/read on a subsequent boot. This would be the easiest way to explicitly save and subsequently restore values. However, i...
by kolban
Mon Feb 19, 2018 5:14 am
Forum: ESP32 Arduino
Topic: trap ICMP ping
Replies: 3
Views: 99

Re: trap ICMP ping

The TCP/IP stack is a rich protocol. It commonly manifests itself at the higher levels through the API known as sockets. However, sockets is just the programming veneer on the surface. Underneath the surface there is much, much more to the protocols. For example TCP and UDP are layers on top of IP a...
by kolban
Mon Feb 19, 2018 5:00 am
Forum: General Discussion
Topic: Transmission and Reception time of two ESP32
Replies: 3
Views: 128

Re: Transmission and Reception time of two ESP32

I doubt there is going to be a published figure. My best recommendation would be to measure it. If we assume App A which is a BLE server that has a characteristic and App B which is a BLE client that wishes to change the value of the characteristic then the answer will be something along the lines o...
by kolban
Mon Feb 19, 2018 4:48 am
Forum: ESP32 SDK
Topic: Socket outgoing buffer overflow
Replies: 3
Views: 92

Re: Socket outgoing buffer overflow

I would have imagined that a call to send() to transmit data outbound from an ESP32 would block if it didn't have enough buffer space to accept a copy of the data to transmit. If it were me, I'd create a very simple and illustrative ESP32 application that connects to a remote data sink and attempts ...
by kolban
Mon Feb 19, 2018 4:44 am
Forum: General Discussion
Topic: Basic Issue: Wifi Scanning returns no access point even when the APs are present
Replies: 4
Views: 468

Re: Basic Issue: Wifi Scanning returns no access point even when the APs are present

If we look at the parameters to a WiFi scan, we see that it is of type "wifi_scan_config_t". Looking at the current structure definition here ...: https://github.com/espressif/esp-idf/blob/release/v3.0/components/esp32/include/esp_wifi_types.h#L130 We see that it contains more fields that ...
by kolban
Fri Feb 16, 2018 10:56 pm
Forum: ESP32 SDK
Topic: esp-idf version...
Replies: 4
Views: 226

Re: esp-idf version...

We also appear to have a function called esp_get_idf_version() that is available at runtime which returns a NULL terminated string. This might be useful in logging / diagnostics to report the version used. See: https://github.com/espressif/esp-idf/blob/master/components/esp32/include/esp_system.h#L257
by kolban
Mon Feb 12, 2018 3:34 am
Forum: ESP32 Arduino
Topic: Confusion On Memory For Programming?
Replies: 2
Views: 107

Re: Confusion On Memory For Programming?

Here is the data sheet for the WROOM: https://www.espressif.com/sites/default/files/documentation/esp-wroom-32_datasheet_en.pdf At the highest level, you have 4MBytes of flash and 512KBytes of RAM. Without doing anything special, you should assume about 3MBytes of flash for your application binaries...

Go to advanced search