How can server whitelists be authenticated using MAC addresses only and irK not

  • How can server whitelists be authenticated using MAC addresses only and irK not  

Parents Reply
  • Thank you very much for your help.
    I'm really sorry that I made a mistake in another discussion, which led to the discussion being locked.
    I have found the reason for the above discussion.
    Because I added BLE_GAP_ADDR_TYPE_PUBLIC to the whitelist, but the MAC address the peripheral gets when it connects is BLE_GAP_ADDR_TYPE_RANDOM_STATIC,
    So I can connect by setting the address type of the whitelist to BLE_GAP_ADDR_TYPE_RANDOM_STATIC
    be modified as follows:

    static ble_gap_addr_t whitelist[BLE_GAP_WHITELIST_ADDR_MAX_COUNT] = {0, BLE_GAP_ADDR_TYPE_RANDOM_STATIC,0xFC, 0xF4, 0x53, 0x87, 0x0B, 0xC1};

Children
No Data
Related