cancel
Showing results for 
Search instead for 
Did you mean: 

Smart Bluetooth

Anonymous
Not applicable

Hi,

I see that the BLE_CEN_CFG struct has a member scan_filter_policy with flags HCIULP_SCAN_FILTER_POLICY_WHITE_LIST_(NOT_)USED.  Is there a way to add and remove entries from the whitelist?  I can't find anything in the headers or docs.  Thanks.

0 Likes
1 Solution
ArvindS_76
Employee

See blecm.h:

/// Enables adding items to the whitelist at the stack layer. Needs

/// to be done once during application creation.

void blecm_enableAddressSelection( void );

/// Allows the application to add BD_ADDR to the whitelist.

/// \param  p_select_addr Pointer to the first element in the array of BD_ADDRs to be added.

/// \param num Number of BD_ADDRs in this list. Max = 5. Setting num = 0 will clear the list.

/// \return 1 on success; 0 on failure.

int blecm_SelectAddress (BLECM_SELECT_ADDR *p_select_addr, UINT8 num);

View solution in original post

5 Replies
MichaelF_56
Moderator
Moderator

I'm looking into this with the development team now.

0 Likes
ArvindS_76
Employee

See blecm.h:

/// Enables adding items to the whitelist at the stack layer. Needs

/// to be done once during application creation.

void blecm_enableAddressSelection( void );

/// Allows the application to add BD_ADDR to the whitelist.

/// \param  p_select_addr Pointer to the first element in the array of BD_ADDRs to be added.

/// \param num Number of BD_ADDRs in this list. Max = 5. Setting num = 0 will clear the list.

/// \return 1 on success; 0 on failure.

int blecm_SelectAddress (BLECM_SELECT_ADDR *p_select_addr, UINT8 num);

View solution in original post

Anonymous
Not applicable

Hi,

I am trying to find an interface to delete white list entries selectively. Is there a way to do so?

0 Likes
Anonymous
Not applicable

Thanks for your reply mifo! I saw that post and the application, however I'm looking for a more selective deletion of one whitelist entry and it's corresponding key store entry.

0 Likes