Search found 89 matches

by cmorgan
Sat Nov 18, 2017 2:37 am
Forum: ESP-IDF
Topic: Possible to use RMT for simultaneous input and output on the same gpio line, for 1-wire?
Replies: 6
Views: 8681

Re: Possible to use RMT for simultaneous input and output on the same gpio line, for 1-wire?

Why heavily modified? Why did you take out the open drain, active drive stuff? The idea was to support the gpio and rmt implementation in parallel until the rmt implementation was known to be working well. esp32-owb also seemed to have a cleaner search implementation. I also wanted to encapsulate t...
by cmorgan
Sat Nov 18, 2017 1:26 am
Forum: ESP-IDF
Topic: Possible to use RMT for simultaneous input and output on the same gpio line, for 1-wire?
Replies: 6
Views: 8681

Possible to use RMT for simultaneous input and output on the same gpio line, for 1-wire?

Hello. I'm working with David Antliff to implement hardware support in esp32-owb, 1-Wire component for esp32/esp-idf. I have a preliminary driver, originally based on the nodemcu rmt driver but heavily modified at https://github.com/chmorgan/esp32-owb/commit/f3a9dbadbdb84912fc986c23df5266c2ec93b025 ...
by cmorgan
Mon Nov 13, 2017 6:11 pm
Forum: ESP-IDF
Topic: Adding timeouts to the wifi event loop (adding user defined system events)
Replies: 1
Views: 4097

Re: Adding timeouts to the wifi event loop (adding user defined system events)

In case anyone is interested I ended up marshalling the events over to another task and processing them there. I could have kept the processing in the other task but the errors on the console were making it difficult to see when real errors occurred. The event code could have been modified to add an...
by cmorgan
Thu Nov 09, 2017 3:20 am
Forum: ESP-IDF
Topic: Adding timeouts to the wifi event loop (adding user defined system events)
Replies: 1
Views: 4097

Adding timeouts to the wifi event loop (adding user defined system events)

Hello. As the ESP32 has a softAP, the AP channel has to follow the radio channel. This means that in APSTA mode when scanning to join a STA the connections to the AP are lost. To handle this I'm adding a higher level state machine to the wifi event loop and switching between AP, STA, and APSTA mode ...
by cmorgan
Tue Oct 31, 2017 6:52 pm
Forum: ESP-IDF
Topic: Rest Interface support for ESP32
Replies: 9
Views: 13137

Re: Rest Interface support for ESP32

Hi @ritesh. I had some time and updated Sprite's example to work for ESP32 and the latest libesphttpd. You can find it here:

https://github.com/chmorgan/esphttpd-freertos
by cmorgan
Sun Oct 29, 2017 7:18 pm
Forum: ESP-IDF
Topic: Rest Interface support for ESP32
Replies: 9
Views: 13137

Re: Rest Interface support for ESP32

Hello @cmorgan I tried your both examples as you suggested 1) https://github.com/chmorgan/libesphttpd_linux_ In this example, even if i followed read-me steps properly ,but when I tried to run make file its following error. [ 4%] Performing configure step for 'esphttpd' CMake Error at /usr/local/sh...
by cmorgan
Thu Oct 26, 2017 1:25 pm
Forum: ESP-IDF
Topic: Inconsistent behavior with AP+STA mode
Replies: 0
Views: 2224

Inconsistent behavior with AP+STA mode

I'm seeing some inconsistent behavior here with AP+STA mode. I'm using a passphrase of >= 8 characters and esp-idf from master from about a week and a half ago (sha 3a271a4ae7df8). It looks like the AP works much better when the STA is connected to my wifi router but that when the STA isn't connecte...
by cmorgan
Tue Oct 24, 2017 4:07 pm
Forum: ESP-IDF
Topic: Rest Interface support for ESP32
Replies: 9
Views: 13137

Re: Rest Interface support for ESP32

Hi, We are working on ESP32 product and we have one requirement in which our device will be working into AP mode and Mobile Application will be connected with device for command Request and Response. So, Our client Requirement is to communicate using Rest Server Interface and Rest APIs. So, Does an...
by cmorgan
Tue Oct 24, 2017 2:08 am
Forum: ESP-IDF
Topic: Embedding application build time/date (maybe git hash)
Replies: 2
Views: 4755

Embedding application build time/date (maybe git hash)

Hello. I'm looking to embed the application build time/date into my binary and maybe the git hash. Any recommendations for how to properly integrate that kind of thing into the build process? I've reviewed http://esp-idf.readthedocs.io/en/v2.1/api-guides/build-system.html?highlight=build%20system bu...
by cmorgan
Mon Oct 23, 2017 5:31 pm
Forum: ESP-IDF
Topic: Rest Interface support for ESP32
Replies: 9
Views: 13137

Re: Rest Interface support for ESP32

Hi, We are working on ESP32 product and we have one requirement in which our device will be working into AP mode and Mobile Application will be connected with device for command Request and Response. So, Our client Requirement is to communicate using Rest Server Interface and Rest APIs. So, Does an...