Search found 81 matches

by tele_player
Fri Feb 23, 2018 5:38 am
Forum: General Discussion
Topic: loading AWS certs from SPIFFS
Replies: 8
Views: 134

Re: loading AWS certs from SPIFFS

fgets() returns char*, not int.
by tele_player
Thu Feb 22, 2018 4:27 am
Forum: ESP32 Arduino
Topic: Problems with communications using arduino IDE and ESP3
Replies: 1
Views: 65

Re: Problems with communications using arduino IDE and ESP3

Does the IDE show errors when attempting to upload a new sketch?
Does your esp32 have two push buttons?
by tele_player
Thu Feb 22, 2018 12:10 am
Forum: ESP32 Arduino
Topic: trap ICMP ping
Replies: 4
Views: 168

Re: trap ICMP ping

As noted above; #define ICMP_IRQ 15 is in the ..\espressif\esp32\tools\sdk\include\lwip\lwip\icmp.h but i can't seem to find any code that reacts to the ICMP_IRQ or even attach the IRQ. If I send a PING to the esp32 it responds so clearly the IRQ is processed somewhere. Is there any way to monitor ...
by tele_player
Sat Feb 17, 2018 5:29 pm
Forum: General Discussion
Topic: Random String generation
Replies: 3
Views: 210

Re: Random String generation

Caution: the code listed above has a bug, it writes beyond the end of the array.
by tele_player
Fri Feb 16, 2018 4:24 pm
Forum: ESP32 Arduino
Topic: Negative Floating point overflow
Replies: 3
Views: 134

Re: Negative Floating point overflow

I’d be curious to see the expression. Type conversion/promotion/coercion is handled in the compiler.
by tele_player
Thu Feb 15, 2018 11:09 pm
Forum: ESP32 Arduino
Topic: Saving and writing to eeprom
Replies: 25
Views: 762

Re: Saving and writing to eeprom

Seriously??? Save example: #include <Arduino.h> #include <EEPROM.h> // I'm just guessing EEPROM SIZE here #define EEPROM_SIZE 1024 typedef struct foo { char a[16]; char b[16]; } FOO; FOO foo; void setup() { Serial.begin(115200); delay(1000); Serial.println(""); EEPROM.begin(EEPROM_SIZE); /...
by tele_player
Wed Feb 14, 2018 4:47 pm
Forum: ESP32 Arduino
Topic: WiFi - Static IP fails to connect wifi
Replies: 7
Views: 337

Re: WiFi - Static IP fails to connect wifi

So, it appears to be a bug in SDK or Arduino core, introduced in newer code than I have installed.
by tele_player
Tue Feb 13, 2018 1:53 am
Forum: ESP32 Arduino
Topic: Saving and writing to eeprom
Replies: 25
Views: 762

Re: Saving and writing to eeprom

I can’t tell what you are doing incorrectly from the partial code you include here.

What you should do is write a test program to learn how to save and restore using EEPROM. If you can’t make it work, provide the complete code here, maybe somebody will debug it.
by tele_player
Mon Feb 12, 2018 7:01 pm
Forum: ESP32 Arduino
Topic: arduino sizeof struct
Replies: 3
Views: 150

Re: arduino sizeof struct

Unless you have good reason, and understand the implications, you should stay away from packed structs.
by tele_player
Mon Feb 12, 2018 4:11 pm
Forum: ESP32 Arduino
Topic: Saving and writing to eeprom
Replies: 25
Views: 762

Re: Saving and writing to eeprom

Esp32 EEPROM is in flash. So is SPIFFS. SPIFFS moves writes around to level the wear, EEPROM library doesn’t.

SD has the same problem with wear, and the same solution: wear leveling. Same thing applies to SSD.

Go to advanced search