pub unsafe extern "C" fn bt_id_get(
addrs: *mut bt_addr_le_t,
count: *mut usize,
)
Expand description
@brief Get the currently configured identities.
Returns an array of the currently configured identity addresses. To make sure all available identities can be retrieved, the number of elements in the @a addrs array should be CONFIG_BT_ID_MAX. The identity identifier that some APIs expect (such as advertising parameters) is simply the index of the identity in the @a addrs array.
If @a addrs is passed as NULL, then returned @a count contains the count of all available identities that can be retrieved with a subsequent call to this function with non-NULL @a addrs parameter.
@note Deleted identities may show up as @ref BT_ADDR_LE_ANY in the returned array.
@param addrs Array where to store the configured identities. @param count Should be initialized to the array size. Once the function returns it will contain the number of returned identities.