We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Describe the bug unable to retrive devEui set using setDevEui.
setDevEui
To Reproduce
#include <STM32LoRaWAN.h> STM32LoRaWAN modem; String appEUI_Set = "7649FC09A028FE04"; String devEUI_Set = "9A0684E16B882E92"; String appKey_Set = "E236B8E7D41F0B8966285798925BA7A6"; void setup() { Serial.begin(115200); pinMode(LED_BUILTIN, OUTPUT); modem.begin(IN865); // Set LoRaWAN credentials if (modem.setDevEui(devEUI_Set)) { Serial.println("DevEUI successfully set!"); } else { Serial.println("Failed to set DevEUI!"); } modem.setAppEui(appEUI_Set); modem.setAppKey(appKey_Set); // Attempt to join OTAA // if (modem.joinOTAA()) { // Serial.println("Join OTAA success!"); // } else { // Serial.println("Join OTAA failed!"); // } delay(1000); String devEUI; modem.getDevEui(&devEUI); Serial.print("DevEUI: "); Serial.println(devEUI); } void loop() { digitalToggle(LED_BUILTIN); delay(1000); }
Expected behavior Serial Output
DevEUI successfully set! DevEUI: B1C4E90005012038
expected output 9A0684E16B882E92. got B1C4E90005012038
9A0684E16B882E92
B1C4E90005012038
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Hardware (please complete the following information):
Additional context https://github.com/orgs/stm32duino/discussions/2581#discussion-7557324
The text was updated successfully, but these errors were encountered:
fix: get api require allocation
a70f441
Fixes stm32duino#45. Signed-off-by: Frederic Pillon <[email protected]>
f00cbc1
Successfully merging a pull request may close this issue.
Describe the bug
unable to retrive devEui set using
setDevEui
.To Reproduce
Expected behavior
Serial Output
expected output
9A0684E16B882E92
. gotB1C4E90005012038
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Hardware (please complete the following information):
Additional context
https://github.com/orgs/stm32duino/discussions/2581#discussion-7557324
The text was updated successfully, but these errors were encountered: