You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it would be best to refine the examples such that one can simply paste this and uncomment the suitable ABP or OTAA mode, as otherwise pasting keys and swapping their order and similar may occur (as it did to me).
The text was updated successfully, but these errors were encountered:
I've implemented this in the ArduinoUnoNano-basic example. Maybe this can be done a little cleaner by defining the keys at the top of the file, and not directly before the init(). But then users that want to switch to OTAA needs to change code in two places.
The TTN website in Device mode displays keys for device in ABP mode in the section
Example Code
that looks like:const char *devAddr = "xxx";
const char *nwkSKey = "xxxxx";
const char *appSKey = "xxxxx";
it would be best to refine the examples such that one can simply paste this and uncomment the suitable ABP or OTAA mode, as otherwise pasting keys and swapping their order and similar may occur (as it did to me).
The text was updated successfully, but these errors were encountered: