Search found 62 matches

by MalteJ
Fri Aug 25, 2017 9:18 am
Forum: ESP-IDF
Topic: I2C master + slave on same pins
Replies: 0
Views: 2834

I2C master + slave on same pins

Hi, is it possible to run an I2C master and slave on the same pins? Additionally to the esp32 I have multiple I2C slave sensors on my bus and I have another microcontroller on the bus. The other microcontroller should act as a master and write to the slave esp32. But the esp32 should be able to read...
by MalteJ
Tue Jun 20, 2017 2:49 pm
Forum: ESP-IDF
Topic: Getting ECONNABORTED when trying to connect()
Replies: 12
Views: 19871

Re: Getting ECONNABORTED when trying to connect()

I have updated to the latest esp-idf SDK.
The problem disappeared.

Thanks.
by MalteJ
Tue Jun 20, 2017 2:48 pm
Forum: ESP-IDF
Topic: Documentation for WiFi Logs
Replies: 0
Views: 3021

Documentation for WiFi Logs

Hi, I wonder if there is a documentation about WiFi log output. I get a lot of these messages and don't know what they mean: I (699881) wifi: n:11 2, o:11 0, ap:255 255, sta:11 2, prof:1 I (700081) wifi: n:11 0, o:11 2, ap:255 255, sta:11 0, prof:1 I (700181) wifi: n:11 2, o:11 0, ap:255 255, sta:11...
by MalteJ
Thu Jun 15, 2017 3:59 pm
Forum: ESP-IDF
Topic: Getting ECONNABORTED when trying to connect()
Replies: 12
Views: 19871

Re: Getting ECONNABORTED when trying to connect()

the connect() call takes quite a time. Before it returns an error I get this line in the log: I (16465) wifi: pm start, type:0 so it looks like this: I (7304) HTTP: created socket with socket_id = 0x2 I (7405) HTTP: socket_id = 0x2 I (7405) HTTP: connect()... I (16465) wifi: pm start, type:0 E (2490...
by MalteJ
Thu Jun 15, 2017 3:52 pm
Forum: ESP-IDF
Topic: Getting ECONNABORTED when trying to connect()
Replies: 12
Views: 19871

Getting ECONNABORTED when trying to connect()

Hi,

I have problems connecting to a remote server.
In one project my code works flawlessly, in the other the connect() call brings an ECONNABORTED error.
What can be the reason for a ECONNABORTED?

Thank you!

Best,
Malte
by MalteJ
Wed Jun 07, 2017 8:02 am
Forum: ESP-IDF
Topic: Core board OK, naked wroom-32 bad - what am I missing?
Replies: 8
Views: 12780

Re: Core board OK, naked wroom-32 bad - what am I missing?

Somewhere was mentioned that a 3,3V power supply with 500mA is recommended when using WiFi.
by MalteJ
Wed Jun 07, 2017 7:32 am
Forum: ESP-IDF
Topic: NVS functions thread-safe?
Replies: 4
Views: 7630

NVS functions thread-safe?

Hi,

are the NVS access functions for writing and reading thread safe or do I have to use a mutex in my user code when accessing/committing the flash to prevent concurrent access?

Thank you!

Best,
Malte
by MalteJ
Wed Apr 19, 2017 2:15 pm
Forum: ESP-IDF
Topic: Homekit authentication co-processor
Replies: 7
Views: 11863

Re: Homekit authentication co-processor

BuddyCasino wrote:Finally someone makes a secure IoT protocol, and its all locked away behind NDAs sad. Or at least I guess that this is the reason for not making that discussion public?
You'll find more information at
https://developer.apple.com/programs/mfi/
by MalteJ
Sat Apr 08, 2017 12:15 am
Forum: ESP-IDF
Topic: HTTP Requests - Example
Replies: 6
Views: 16450

Re: HTTP Requests - Example

Great! :)

I have created a pull request to fix this issue:
https://github.com/espressif/esp-idf/pull/500

Best,
Malte
by MalteJ
Fri Apr 07, 2017 9:54 am
Forum: ESP-IDF
Topic: HTTP Requests - Example
Replies: 6
Views: 16450

Re: HTTP Requests - Example

also the new lines in the request must be \r\n instead of \n like this: static const char *REQUEST = "GET " WEB_URL " HTTP/1.0\r\n" "Host: "WEB_SERVER"\r\n" "User-Agent: esp-idf/1.0 esp32\r\n" "\r\n"; If this doesn't help, can you paste your whole C file in a pastebin or gist? https://gist.github.co...