This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

GAP Address types

Hi,

I use a personnal GAP Address, but it must be the type used: -Public address. -Random Static address. -Private Resolvable address. -Private Non-Resolvable address.

and what is the difference?

Code :

st_Gap_Addr.addr_type = BLE_GAP_ADDR_TYPE_RANDOM_STATIC; st_Gap_Addr.addr [0] = g_stBL[0]; st_Gap_Addr.addr [1] = g_stBL[1]; st_Gap_Addr.addr [2] = g_stBL[2]; st_Gap_Addr.addr [3] = g_stBL.[3]; st_Gap_Addr.addr [4] = g_stBL.[4]; st_Gap_Addr.addr [5] = g_stBL.[5] | 0xc0; err_code = sd_ble_gap_address_set (&st_Gap_Addr); APP_ERROR_CHECK (err_code);

Best Regards,

Charly

Related