I'm guessing there is no support for IP over serial in the SDK. Do you have an application on your PC that supports TCP/IP over a serial port? Is there any reason you can't do data xfers by simply talking to the serial port?
John A
Search found 606 matches
- Thu Jun 07, 2018 4:49 pm
- Forum: General Discussion
- Topic: uart via built in usb on esp board
- Replies: 14
- Views: 25151
- Wed Jun 06, 2018 9:29 pm
- Forum: General Discussion
- Topic: where to download mkspiffs binary?
- Replies: 8
- Views: 11457
Re: where to download mkspiffs?
I edited my post to more clearly state I request the mkspiffs binary (for MSYS32 Windows). I ask this question because it is of little use to send someone to github, make them install a Windows (cross?) C-compiler, manage paths, deal with windows-linux/msys32/path/compiler issues, search google and...
- Wed Jun 06, 2018 8:53 pm
- Forum: ESP-IDF
- Topic: Memory Free Assertion Issue
- Replies: 3
- Views: 4129
Re: Memory Free Assertion Issue
Let me know if need anything else or need some more information regarding this. I'm thinking your question is too ambiguous. - What pointer are you referring to in your question? - What operation is occurring when this happens? - What code are you executing? - How much free heap space do you have? ...
- Wed Jun 06, 2018 3:38 pm
- Forum: ESP-IDF
- Topic: What's the proper way to deal with multiple devices sharing an i2c bus?
- Replies: 3
- Views: 8062
Re: What's the proper way to deal with multiple devices sharing an i2c bus?
Create a mutex and have the modules that use I2C go through a common I2C interface that controls access through that mutex. edit: now that you mentioned this I took a look at the code in components/driver/i2c.c and it looks like there are mutexes created for each I2C bus. Presumably that's used to m...
- Wed Jun 06, 2018 3:30 pm
- Forum: General Discussion
- Topic: presoldered ESP32 module
- Replies: 11
- Views: 15502
Re: presoldered ESP32 module
The issue being hand soldering led me to believe this wasn't a production item.markwj wrote:For prototyping that is just fine - it holds the module in very tightly. But not for production.
- Tue Jun 05, 2018 10:47 pm
- Forum: General Discussion
- Topic: presoldered ESP32 module
- Replies: 11
- Views: 15502
Re: presoldered ESP32 module
How about one of these? Not sure how well it holds the module as I've never seen one in person.
https://www.aliexpress.com/item/ESP32-t ... 71106.html
John A
https://www.aliexpress.com/item/ESP32-t ... 71106.html
John A
- Tue Jun 05, 2018 4:30 pm
- Forum: General Discussion
- Topic: writing to NVS
- Replies: 21
- Views: 30152
Re: writing to NVS
Yes, and that's correct. I don't know how to reconcile that with the passage I cited, but I'm inclined to think it's an error. Doesn't strike me as an error. The statement that it's max 15 characters is specific to this implementation. The statement that it's at least 15 char is generic to all impl...
- Tue Jun 05, 2018 4:16 pm
- Forum: General Discussion
- Topic: writing to NVS
- Replies: 21
- Views: 30152
Re: writing to NVS
The documentation I'm looking at says this...
https://esp-idf.readthedocs.io/en/lates ... flash.htmlNVS operates on key-value pairs. Keys are ASCII strings, maximum key length is currently 15 characters.
- Mon Jun 04, 2018 7:03 pm
- Forum: General Discussion
- Topic: writing to NVS
- Replies: 21
- Views: 30152
Re: writing to NVS
I use NVS for stuff like this including several 128 bit UUIDs.mzimmers wrote: I'm not sure what the author meant by "many," but I'm going to need to store maybe 10 elements, none of which are big. They'll be things like:
- MAC Address
serial number
device name
number of writes to NVS
John A
- Mon Jun 04, 2018 5:13 pm
- Forum: General Discussion
- Topic: Simple TCP communication over wifi
- Replies: 17
- Views: 43831
Re: Simple TCP communication over wifi
Only client. Server maybe in future but for now just tiny client sending and receiving data int create_ipv4_socket() { struct addrinfo hints; struct addrinfo *res; struct in_addr *addr; hints.ai_family = AF_INET; hints.ai_socktype = SOCK_STREAM; int err = getaddrinfo(UDP_IPV4_ADDR, TCP_PORT, &hints...