Sodaq explorer DevEUI

Hi, I’m using sodaq explorer and I need to get the DevEUI in order to register my board on The Things Network. I have executed the code that appears in this link in order to get the DevEUI LoRaWAN - SODAQ Support pages
However, I get 18 characters and in The Things Networks I can only enter 16 characters. Can you help me to solve this problem?

Hi @Peter,

I have updated the script, you should be able to get the DevEUI without any extra characters.

I have also added the Serial Passthrough sketch to the same page.
With this you can directly communicate with the LoRaWan module.

Let me know if I can help you with anything else.

Best regards,
Jan

Thank yo so much.
I am using an Ublox 7M GPS module. I am trying to use this code for my Sodaq explorer: GPS - SODAQ Support pages
However, I have an error in the line of sodaq_gps.init(GPS_ENABLE);. The error is that GPS_ENABLE is undefinded. How can I fix it?

Hi @Peter,

The Explorer doesn’t have a onboard GPS module, therefore the pin ‘GPS_ENABLE’ doesn’t exist.
You should replace ‘GPS_ENABLE’ with pin number you use to enable/disable the power or -1 if you don’t use it.

Best regards,
Jan