hi,
Using nrf52840
setting new mac address results Error 12802:
using mac : 7F:37:DA:47:22:B1
gap_addr.addr_type = BLE_GAP_ADDR_TYPE_RANDOM_STATIC;
gap_addr.addr_id_peer = 0;
ret_code = sd_ble_gap_addr_set(&gap_addr);
hi,
Using nrf52840
setting new mac address results Error 12802:
using mac : 7F:37:DA:47:22:B1
gap_addr.addr_type = BLE_GAP_ADDR_TYPE_RANDOM_STATIC;
gap_addr.addr_id_peer = 0;
ret_code = sd_ble_gap_addr_set(&gap_addr);
Hi Asaf
Random static addresses require the first two bits of the address to be set, according to the BLE specification.
Can you try to change the first byte to FF rather than 7F and try again?
Best regards
Torbjørn
Hi Asaf
Random static addresses require the first two bits of the address to be set, according to the BLE specification.
Can you try to change the first byte to FF rather than 7F and try again?
Best regards
Torbjørn