Search found 89 matches

by cmorgan
Sun Oct 22, 2017 11:07 pm
Forum: ESP-IDF
Topic: OTA clarification
Replies: 32
Views: 44789

Re: OTA clarification

imtiaz wrote:Hi hybrid,

sorry I have been away from the forums - do you still need this?
I could use it here, I'm in a similar spot and would like to re-use the 'boot' mode switch to initiate a factory image boot.
by cmorgan
Thu Oct 19, 2017 12:33 pm
Forum: ESP-IDF
Topic: ESP32 web server with AJAX functionality
Replies: 9
Views: 20628

Re: ESP32 web server with AJAX functionality

Hello, I use the web server from sprite on an esp32 with html and javascript files to get data to the browser with ajax as you described it. Also some self promotion, I have a fork of Sprite's server with a range of changes collected from other forks of the same project, https support etc: https://...
by cmorgan
Thu Oct 19, 2017 1:22 am
Forum: ESP-IDF
Topic: Does anyone have an example of how to use the wifi persistence to nvs?
Replies: 1
Views: 4247

Re: Does anyone have an example of how to use the wifi persistence to nvs?

Some results from testing: - Calling esp_wifi_set_config() appears to result in the nvs (non-volatile storage) being updated with the new settings - There is no requirement to set the wifi configuration before calling esp_wifi_start() - The wifi code appears to handle an erased nvs well. After calli...
by cmorgan
Wed Oct 18, 2017 4:15 pm
Forum: ESP-IDF
Topic: libesphttpd Kconfig opinions
Replies: 2
Views: 4092

Re: libesphttpd Kconfig opinions

Instead of captive portal catch-all you could have a specific dns name to access the device That's actually not a bad idea. The goal is to simplify the initial configuration. If it were as simple as: - Connect to AP - Browse to https://configure (or something like that) That could work.... Any thou...
by cmorgan
Wed Oct 18, 2017 3:40 pm
Forum: ESP-IDF
Topic: Does anyone have an example of how to use the wifi persistence to nvs?
Replies: 1
Views: 4247

Does anyone have an example of how to use the wifi persistence to nvs?

Hello. I have an esp-idf project that makes use of wifi, ap+sta mode. I'm looking to go from a hardcoded approach to making use of nvs. Looking at the api, http://esp-idf.readthedocs.io/en/v2.1/api-reference/wifi/esp_wifi.html, I don't see a way to determine if a configuration was loaded from nvs. I...
by cmorgan
Mon Oct 16, 2017 11:01 pm
Forum: Report Bugs
Topic: Getting real FlashID
Replies: 10
Views: 24608

Re: Getting real FlashID

Any efforts to get this folded into esp-idf proper? While I like the approach and really would like the flashid value I'm hesitant to carry around patches if they aren't in mainline.
by cmorgan
Mon Oct 16, 2017 1:43 pm
Forum: ESP-IDF
Topic: libesphttpd Kconfig opinions
Replies: 2
Views: 4092

libesphttpd Kconfig opinions

Hello. I'm using libesphttpd with https support. I have a system where the esp32 is in both station and AP mode. On the AP interface I'm using a captive portal that responds to DNS requests with the IP of the esp32, redirecting all traffic to the esp23. When libesphttpd is operating in https mode th...
by cmorgan
Wed Sep 27, 2017 1:42 am
Forum: ESP-IDF
Topic: Private unique id?
Replies: 3
Views: 9416

Re: Private unique id?

Thank you for your replies. I'll try to make sure to let you know how I make out when I get back to doing so.
by cmorgan
Sun Sep 24, 2017 7:02 pm
Forum: ESP-IDF
Topic: Private unique id?
Replies: 3
Views: 9416

Private unique id?

Hi all.

I'm looking for either a private unique id or a good idea for where one should store such unique id. Looked at the mac address but imo that is visible if you sniff packets over the network so it wouldn't be private. I'd also like it to persist across a code load if possible.

Thoughts?

Chris
by cmorgan
Sat Sep 23, 2017 8:06 pm
Forum: ESP-IDF
Topic: Looking for help with component.mk warnings in libesphttpd
Replies: 7
Views: 9634

Re: Looking for help with component.mk warnings in libesphttpd

This helped a ton. I was able to fix those issues and additional ones, most of them cleanly even! Thank you again.