Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store complete nodes and gateway connection data in flash ? #11

Closed
quangvankts opened this issue Oct 5, 2020 · 1 comment
Closed

Store complete nodes and gateway connection data in flash ? #11

quangvankts opened this issue Oct 5, 2020 · 1 comment

Comments

@quangvankts
Copy link

quangvankts commented Oct 5, 2020

Hi gmag11
Thanks for the great library with very detailed documentation. I have few questions:

  • How do I hardcode network name and network key for both nodes and gateway so I don't have to configure them individually after flashing?
  • How do I save complete nodes and gateway current data into flash (including shared key, valid status etc) so they can load it up, skip registration and exchange data straightaway after a cold boot (I know it only takes 200ms to register but I want to experiment how fast nodes can work)
  • DEBUG seems only work on my ESP8266 node but not ESP32 gateway. I tried "#define DEBUG_LEVEL VERBOSE" and "#define DEBUG_ESP_PORT Serial" at the main sketch with no effect. Serial.printf() still works as normal. (Im using Platform IO latest core)
    Thanks
@quangvankts quangvankts changed the title Store nodes and gateway data in flash ? Store complete nodes and gateway connection data in flash ? Oct 5, 2020
@gmag11
Copy link
Owner

gmag11 commented Oct 11, 2020

Hello, These are three questions. I'll separate them into multiple issues and will close this. You can check #12, #13 and #14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants