[GH-ISSUE #621] saved wifi creds. #519

Open
opened 2026-02-28 01:25:40 +03:00 by kerem · 2 comments
Owner

Originally created by @elanozturk on GitHub (Jun 11, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/621

Hi,how can i read and serial print saved credentials from eeprom just after/before connection?

Originally created by @elanozturk on GitHub (Jun 11, 2018). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/621 Hi,how can i read and serial print saved credentials from eeprom just after/before connection?
Author
Owner

@tablatronix commented on GitHub (Jun 11, 2018):

Same way you do with esp.

<!-- gh-comment-id:396356818 --> @tablatronix commented on GitHub (Jun 11, 2018): Same way you do with esp.
Author
Owner

@elanozturk commented on GitHub (Jun 12, 2018):

i tried to read like this but gives me 0;

#include <EEPROM.h>
int address = 0;
byte value;

void setup() {
  Serial.begin(9600);
  while (!Serial) {
    ; // wait for serial port to connect. Needed for native USB port only
  }
}

void loop() {
 value = EEPROM.read(address);
  Serial.print(address);
  Serial.print("\t");
  Serial.print(value, DEC);
  Serial.println();
address = address + 1;
  if (address == EEPROM.length()) {
    address = 0;
  }
<!-- gh-comment-id:396483308 --> @elanozturk commented on GitHub (Jun 12, 2018): i tried to read like this but gives me 0; ``` #include <EEPROM.h> int address = 0; byte value; void setup() { Serial.begin(9600); while (!Serial) { ; // wait for serial port to connect. Needed for native USB port only } } void loop() { value = EEPROM.read(address); Serial.print(address); Serial.print("\t"); Serial.print(value, DEC); Serial.println(); address = address + 1; if (address == EEPROM.length()) { address = 0; } ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#519
No description provided.