-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathadd-deveui-appeui-appkey.patch
More file actions
20 lines (18 loc) · 1.29 KB
/
add-deveui-appeui-appkey.patch
File metadata and controls
20 lines (18 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/riot-lorawan/simple/.solution/main.c b/riot-lorawan/simple/.solution/main.c
index 1222868..c923f16 100644
--- a/riot-lorawan/simple/.solution/main.c
+++ b/riot-lorawan/simple/.solution/main.c
@@ -19,9 +19,12 @@
semtech_loramac_t loramac;
/* Device and application informations required for OTAA activation */
-static const uint8_t deveui[LORAMAC_DEVEUI_LEN] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
-static const uint8_t appeui[LORAMAC_APPEUI_LEN] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
-static const uint8_t appkey[LORAMAC_APPKEY_LEN] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
+//, 0x00, 0xE1, 0x41, 0x71, 0x43, 0x96, 0x73, 0xFF
+static const uint8_t deveui[LORAMAC_DEVEUI_LEN] = { 0x00, 0xE1, 0x41, 0x71, 0x43, 0x96, 0x73, 0xFF };
+//, 0x70, 0xB3, 0xD5, 0x7E, 0xD0, 0x00, 0xB3, 0x5F
+static const uint8_t appeui[LORAMAC_APPEUI_LEN] = { 0x70, 0xB3, 0xD5, 0x7E, 0xD0, 0x00, 0xB3, 0x5F };
+//, 0x18, 0x0A, 0x06, 0x0F, 0x91, 0x0C, 0x85, 0x00, 0xDD, 0x81, 0x15, 0x79, 0x66, 0x7B, 0xEE, 0x73
+static const uint8_t appkey[LORAMAC_APPKEY_LEN] = { 0x18, 0x0A, 0x06, 0x0F, 0x91, 0x0C, 0x85, 0x00, 0xDD, 0x81, 0x15, 0x79, 0x66, 0x7B, 0xEE, 0x73 };
/* The simple message to send */
const char *message = "This is RIOT!";