Cypress PSoC 6 Bluetooth Low Energy Middleware Library 3.60
cy_stc_ble_gapp_disc_mode_info_t Struct Reference

Description

Advertising information.

Data Fields

uint8_t discMode
 Broadcaster and discoverable mode. More...
 
cy_stc_ble_gapp_disc_param_tadvParam
 Advertisement parameters are not allowed to be modified if ADV is already active This needs to be NULL, if ADV is active.
 
cy_stc_ble_gapp_disc_data_tadvData
 Advertisement data.
 
cy_stc_ble_gapp_scan_rsp_data_tscanRspData
 Scan Response data.
 
uint16_t advTo
 Advertisement timeout is in seconds. More...
 

Field Documentation

◆ discMode

uint8_t cy_stc_ble_gapp_disc_mode_info_t::discMode

Broadcaster and discoverable mode.

  • CY_BLE_GAPP_NONE_DISC_BROADCAST_MODE (Applicable for Broadcaster or non-discoverable mode)
  • CY_BLE_GAPP_LTD_DISC_MODE (Limited discovery mode)
  • CY_BLE_GAPP_GEN_DISC_MODE (General discovery mode)

◆ advTo

uint16_t cy_stc_ble_gapp_disc_mode_info_t::advTo

Advertisement timeout is in seconds.

If timeout is set to 0, then there will not be any timeout. The parameter 'advTo' can be used for all GAP timeouts related to peripheral operation. For General discoverable mode, this timer will be ignored. The application is expected to exit from discoverable mode explicitly by calling the Cy_BLE_GAPP_ExitDiscoveryMode() API. For Limited discoverable mode, 'advTo' should not exceed 180 sec.