Does STM32WL comes with a unique DevEUI or we have to create one?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-07 8:39 AM
Hello everyone,
Recently I started to develop some LoRAWAN applications using the STM32WL. While studying the Lora technology I came across a information call devEUI, which, if i understood it correctly, is the identication of the end device on the network. This ID is assigned by the manufacturer, or the owner, of the end-device so my question is if we have to create a DevEUI number or we can use the devEUI that comes with the STM32WL
- Labels:
-
LoRa
-
STM32WL series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-08 3:13 AM
The STM32WL has a specific register for this (“UID64�?).
Other STM32 have a unique ID, and you can use that to create a devEUI - eg, this is what the I-CUBE-LRWAN software does for B-L072Z-LRWAN1.
see this video series for getting the STM32WL set-up and working on TTN (The Things Network):
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-06-13 1:31 AM
Hello @BTsuc.1​ ,
If you use End_Node example provided in the STM32Cube_FW_WL_V1.2.0, in the file se-identity.h, you have a define STATIC_DEVICE_EUI.
With this variable you can choose to set your own devEUI by setting STATIC_DEVICE_EUI to 1, or to use the value provided by MCU platform by setting STATIC_DEVICE_EUI to 0.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-10 6:38 AM
This option seems to be removed when I updated the firmware to latest version. Is there a special reason that the old solution should not be used? What is the proposed way of doing it now?
Best Regards Arvid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-10 9:00 AM - edited ‎2023-07-10 9:01 AM
Hello @arvidblaser and welcome to ST Community.
For the new version of the firmware, if LORAWAN_DEVICE_EUI is set to 00,00,00,00,000,00,00,00 then DevEui is automatically set with the value provided by MCU platform. Else, you can choose to set your own DevEui by setting LORAWAN_DEVICE_EUI to the value of DevEui you want.
I hope this is helpful for you.
Issam
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-22 8:55 AM - edited ‎2023-09-04 6:17 AM
I've also started delving into LoRaWAN applications using the STM32WL and have been learning about the fascinating world of LoRa technology. One concept that caught my attention is the devEUI (Device EUI), which seems to serve as the unique identifier for end devices on a LoRaWAN network. From what I understand, this ID is assigned by the manufacturer or device owner. Now, I'm a bit curious about https://laptopspapa.com/ site whether we should create our own devEUI numbers or if we can utilize the one that comes pre-assigned with the STM32WL module.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-22 1:17 PM
Hello @SamZaid and welcome to ST community.
devEUI number is unique for each STM32WL device. You don't have to create your own devEUI.
Hope this answers your questions.
Issam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-16 6:11 AM
I've stumbled upon a question regarding DevEUI. It's my understanding that DevEUI is crucial for device identification on the network. I noticed that the STM32WL devices come with pre-assigned DevEUI values, but I'm uncertain about whether I should use these or create custom DevEUI values. The documentation doesn't provide clear guidance on the advantages and disadvantages of each approach.
