1 Reply Latest reply on Jul 19, 2019 2:51 AM by ShipingW_81

    Usage of White List APIs

    JoYa_4324706

      Hi,

       

      I am using a PSoC 6 prototyping kit and try to use the white list APIs, but the description from the PDL seems a little ambiguous to me.

      I have set the advertisement settings in BLE_PDL as follows:

       

      How and when should I call Cy_BLE_AddDeviceToWhiteList() to add my remote device to white list so that I can allow it to scan and connect?

      Moreover, what should the parameter be for Cy_BLE_GetWhiteList() if I want to see if the device has really been added to white list properly?

      (Should I create a (const cy_stc_ble_white_list_retention_t *) variable to pass it to the function?)

       

      Thanks!

       

      Best,

      Joseph