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.
1 parent 062a6b6 commit 344867cCopy full SHA for 344867c
src/lmic/lmic.c
@@ -1561,8 +1561,8 @@ static bit_t processJoinAccept (void) {
1561
if (seErr != LMIC_SecureElement_Error_OK)
1562
return processJoinAccept_badframe();
1563
1564
- LMIC_SecureElement_getAppSKey(&AppSKey, 0);
1565
- LMIC_SecureElement_getNwkSKey(&NwkSKey, 0);
+ LMIC_SecureElement_getAppSKey(&AppSKey, LMIC_SecureElement_KeySelector_Unicast);
+ LMIC_SecureElement_getNwkSKey(&NwkSKey, LMIC_SecureElement_KeySelector_Unicast);
1566
1567
memcpy(LMIC.artKey, AppSKey.bytes, sizeof(LMIC.artKey));
1568
memcpy(LMIC.nwkKey, NwkSKey.bytes, sizeof(LMIC.nwkKey));
0 commit comments