GrumpyOldPizza / ArduinoCore-stm32l0

Arduino Core for STM32L0
125 stars 67 forks source link

Is there an example for using EEPROM? #39

Closed romansoft closed 6 years ago

romansoft commented 6 years ago

Thank you, Thomas, for creating this project! It looks very useful. I had quite some issues with getting I Cube LoRaWAN running and their API's aren't as friendly. Overall, your code base looks very impressive: clean and professional. Took no time to get everything up and running and start building my application. Since the documentation is on the lighter side, I'll ask here. I'd like to use EEPROM for storing the lora credentials. The API for EEPROM is not very clear on usage. Is there any example you can post on how to do basic read/writes?

GrumpyOldPizza commented 6 years ago

Storing the credentials and other session information in EEPROM is already implemented.

Check out the "Commissioning" examples.

On Mon, Sep 24, 2018, 23:18 romansoft notifications@github.com wrote:

Thank you, Thomas, for creating this project! It looks very useful. I had quite some issues with getting I Cube LoRaWAN running and their API's aren't as friendly. Overall, your code base looks very impressive: clean and professional. Took no time to get everything up and running and start building my application. Since the documentation is on the lighter side, I'll ask here. I'd like to use EEPROM for storing the lora credentials. The API for EEPROM is not very clear on usage. Is there any example you can post on how to do basic read/writes?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/ArduinoCore-stm32l0/issues/39, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4QfEMSG-ZoGNXjRGwjugnMRoTCZRe4ks5uebyjgaJpZM4W34gJ .

romansoft commented 6 years ago

Excellent! I can see how you use EEPROM API in LoRaWAN.cpp. Thank you.