Change filter policy and discovery mode using functions

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

   

Is it possible to change filter policy and discovery mode in my code? My goal is to build a security layer for a device that have no display or keyboard, only one switch as input.

   

Best Regards,

0 Likes
2 Replies
Anonymous
Not applicable

 Just found the function to do that....

   

CYBLE_API_RESULT_T CyBle_GappEnterDiscoveryMode(CYBLE_GAPP_DISC_MODE_INFO_T* advInfo)

0 Likes
Anonymous
Not applicable

Is necesary to reset BLE module after doing changes filter policy this way in the code ?

   

I try this function but sometimes changes seems that aren´t applied. 

   

Any trouble like this ?

   

Thanks,

   

Asier

0 Likes