don't show lora secret keys

This commit is contained in:
cyberman54 2023-01-21 19:10:17 +01:00
parent c956d79894
commit ebf8202c3c

View File

@ -174,12 +174,12 @@ void showLoraKeys(void) {
// all EUI buffer so we do it here to a temp // all EUI buffer so we do it here to a temp
// buffer to be able to display them // buffer to be able to display them
uint8_t buf[32]; uint8_t buf[32];
os_getArtEui((u1_t *)buf);
printKey("AppEUI", buf, 8, true);
os_getDevEui((u1_t *)buf); os_getDevEui((u1_t *)buf);
printKey("DevEUI", buf, 8, true); printKey("DevEUI", buf, 8, true);
os_getDevKey((u1_t *)buf); //os_getArtEui((u1_t *)buf);
printKey("AppKey", buf, 16, false); //printKey("AppEUI", buf, 8, true);
//os_getDevKey((u1_t *)buf);
//printKey("AppKey", buf, 16, false);
} }
#endif // VERBOSE #endif // VERBOSE