Search found 3264 matches

by ESP_Sprite
Wed Mar 25, 2020 2:14 pm
Forum: ESP32 Arduino
Topic: ESP32 and SIM808 get GPS
Replies: 1
Views: 186

Re: ESP32 and SIM808 get GPS

Your frame reading code is extremely fragile... what if the module responds with a lot of data instead of 'OK'? Where does the zero terminator get placed in the frame string when there is a timeout? Can strtok_single return NULL if there is no more fields to decode, and what would strcpy do in that ...
by ESP_Sprite
Wed Mar 25, 2020 1:54 pm
Forum: Hardware
Topic: ESP32-Wroom coil whine (high beeping noise)
Replies: 1
Views: 208

Re: ESP32-Wroom coil whine (high beeping noise)

That sounds odd... normally coil whine is because there's a switching power converter that works in the audible range, and either coils or sometimes capacitors vibrating at that frequency. Thing is, the Wroom module does not have any switched power supplies inside, so I wouldn't know where that soun...
by ESP_Sprite
Wed Mar 25, 2020 1:50 pm
Forum: ESP32 Arduino
Topic: client.write() is not working smoothly.
Replies: 1
Views: 156

Re: client.write() is not working smoothly.

Moved to the Arduino subforum.
by ESP_Sprite
Tue Mar 24, 2020 1:58 pm
Forum: ESP32 Arduino
Topic: RTOS task to save value in EEPROM on core 1 always resets ESP32
Replies: 4
Views: 462

Re: RTOS task to save value in EEPROM on core 1 always resets ESP32

Either you can just use trial and error, or you can use the uxTaskGetStackHighWaterMark() function at the end of the task to figure out how far away from a stack overflow you were.
by ESP_Sprite
Tue Mar 24, 2020 1:52 pm
Forum: General Discussion
Topic: esp32cam
Replies: 7
Views: 796

Re: esp32cam

That bounces even worse than a button. Again, refer to button debouncing techniques to solve this.
by ESP_Sprite
Tue Mar 24, 2020 8:26 am
Forum: General Discussion
Topic: netif can block on sendto()
Replies: 3
Views: 770

Re: netif can block on sendto()

In general, it gets decided on what our customers want, our internal decisions to pro-actively fortify some bits of our product, as well as things we hear in the community. That's one of the reasons I asked you to create a Github issue; it also indicates to us people are using the device in the way ...
by ESP_Sprite
Tue Mar 24, 2020 8:22 am
Forum: ESP32 IDF
Topic: ESP32 set at Promiscuous Mode,how to handle randomize MAC address
Replies: 2
Views: 246

Re: ESP32 set at Promiscuous Mode,how to handle randomize MAC address

This is by design, your iPhone randomizes it's MAC specifically to make probing and finding data (for others) harder. There's not really a way around it.
by ESP_Sprite
Tue Mar 24, 2020 8:16 am
Forum: General Discussion
Topic: esp32cam
Replies: 7
Views: 796

Re: esp32cam

How is the interrupt wired? If it is to a button, you may be seeing switch bounce and you need to debounce that input somehow.
by ESP_Sprite
Tue Mar 24, 2020 8:14 am
Forum: ESP32 Arduino
Topic: sd card read/write guru meditation error
Replies: 3
Views: 307

Re: sd card read/write guru meditation error

Well, sure, you'd have to take the 'SPIClass SPISD;' and put it out of the function to make it global, but otherwise it would work. By adding the 'while(true)' line, you've effectively made your own loop, and on the ESP32 specifically this also works. (Other chips may require you to exit the setup()...
by ESP_Sprite
Mon Mar 23, 2020 6:35 pm
Forum: ESP32 Arduino
Topic: sd card read/write guru meditation error
Replies: 3
Views: 307

Re: sd card read/write guru meditation error

You probably only need to do the initialization bit once, so keep that in your setup() function. As you have it now, it's called multiple times, which likely messes things up.

Go to advanced search