Search found 1007 matches

by kolban
Tue Oct 24, 2017 12:07 am
Forum: ESP32 SDK
Topic: Rest Interface support for ESP32
Replies: 3
Views: 51

Re: Rest Interface support for ESP32

Ritesh,
Form my usage I liked to work in C++ so am using:

https://github.com/nkolban/esp32-snippe ... Server.pdf
by kolban
Mon Oct 23, 2017 2:37 pm
Forum: General Discussion
Topic: BLEclient
Replies: 1
Views: 40

Re: BLEclient

I think your question is a good one. My mind didn't go to "wow 100K ... thats too much" .... but rather wen't to "How much RAM does a BLE stack normally use?". Obviously, we don't get something for nothing. If we want a BLE environment, we should expect to pay some RAM for its ex...
by kolban
Mon Oct 23, 2017 8:27 am
Forum: ESP32 SDK
Topic: C++11 Support. Function stoi() error
Replies: 1
Views: 40

Re: C++11 Support. Function stoi() error

One possibility is to use atoi...

Code: Select all

std::string x = "123";
int i = atoi(x.c_str());
by kolban
Sun Oct 22, 2017 10:47 pm
Forum: ESP32 SDK
Topic: Notes on using Windows Subsystem for Linux with ESP-IDF
Replies: 2
Views: 60

Notes on using Windows Subsystem for Linux with ESP-IDF

The great news is that the latest versions of Windows 10 support excellent integration between a Linux distribution and windows. Here are some of the core links: https://msdn.microsoft.com/en-us/commandline/wsl/about What this means for us in ESP32 land is that we can configure Windows Subsystem for...
by kolban
Sun Oct 22, 2017 7:00 pm
Forum: ESP32 Arduino
Topic: Directly writing control registers- new programmer feeling pretty lost
Replies: 4
Views: 82

Re: Directly writing control registers- new programmer feeling pretty lost

Device register programming is a complicated topic and really requires a pretty solid grounding in both theory and architecture. In a nutshell, the ESP32 is an MCU with a lot of embedded peripherals. These peripherals are controlled by reading and writing memory locations. Each peripheral has a set ...
by kolban
Sat Oct 21, 2017 4:30 am
Forum: General Discussion
Topic: NVS and wear leveling
Replies: 2
Views: 84

Re: NVS and wear leveling

Assuming NVS doesn't support wear leveling (and I don't believe it does), have you considered saving your data as records in one or more SPIFFS or FATFS files which do support wear leveling? It doesn't feel like it would be that difficult to create a wrapping API that would look/behave just like NVS...
by kolban
Wed Oct 18, 2017 11:14 pm
Forum: ESP32 SDK
Topic: std::thread stack size
Replies: 2
Views: 74

Re: std::thread stack size

There may already be an open issue on this one ... is this close:

https://github.com/espressif/esp-idf/issues/988
by kolban
Mon Oct 16, 2017 4:12 am
Forum: General Discussion
Topic: How to Visually Tell New from Old Silicon?
Replies: 16
Views: 4638

Re: How to Visually Tell New from Old Silicon?

Reading through exposed APIs, I seem to find an ESP-IDF API called "esp_chip_info" which now reports a variety of items include: * model * features * number of cores * revision I believe the revision fields is the silicon revision described in this post. This is a high level API and is pro...
by kolban
Sat Oct 14, 2017 8:30 pm
Forum: ESP32 SDK
Topic: Notice of upcoming change: ESP-IDF will assume 40MHz XTAL frequency by default
Replies: 1
Views: 710

Re: Notice of upcoming change: ESP-IDF will assume 40MHz XTAL frequency by default

A little bit more detail on this post. The SDKCONFIG entry is called "CONFIG_ESP32_XTAL_FREQ_SEL".

It can be set in "make menuconfig" under "Component Config" -> ESP32-Specific -> Main XTAL frequency.

Choices are:
40 MHZ
26 MHz
Autodetect
by kolban
Sat Oct 14, 2017 8:25 pm
Forum: ESP32 SDK
Topic: Communicating to ESP32 from PC Host - Designing for Production
Replies: 4
Views: 120

Re: Communicating to ESP32 from PC Host - Designing for Production

Depending on the nature of your application, a protocol such as MQTT over TCP/IP over WiFi might be suitable. One of the strengths of MQTT is that it is a queuing mechanism meaning that if there is a disruption in communication, messages need not be lost and can be locally queued for either pickup o...

Go to advanced search