Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
How do I configure a BLE peripheral to perform directed advertisement?
Configuring a BLE peripheral to perform directed advertisement is not straightforward since there is neither an option in the BLE component configuration nor any API to enable directed advertisement. However, directed advertisement can be enabled in applications by modifying the advertisement parameters in the discovery mode information.
Change the advertisement type to either CYBLE_GAPP_CONNECTABLE_LOW_DC_DIRECTED_ADV or CYBLE_GAPP_CONNECTABLE_HIGH_DC_DIRECTED_ADV.
Set the directed device’s (central) address type and address. Set the address type to either CYBLE_GAP_ADDR_TYPE_PUBLIC or CYBLE_GAP_ADDR_TYPE_RANDOM. The example here shows a central whose public address is 0x00A05000251F, to which the peripheral will perform directed advertisement.