Skip to content

Commit c669198

Browse files
committed
Compute unique GotchiNet registration code
1 parent 379b137 commit c669198

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

main.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2429,6 +2429,10 @@ int main(void) {
24292429
}
24302430
#endif
24312431

2432+
// GotchiNet Registration Code
2433+
NRF_LOG_INFO("GotchiNet: %d", abs(NRF_FICR->DEVICEID[1] ^ NRF_FICR->DEVICEADDR[1]));
2434+
NRF_LOG_FLUSH();
2435+
24322436
// BLE PIN CODE
24332437
uint32_t ble_bondage_safe_word = (NRF_FICR->DEVICEID[0] + NRF_FICR->DEVICEID[1]) % 999999;
24342438
if (ble_bondage_safe_word < 100000)

0 commit comments

Comments
 (0)