1.2.2.1.1.1.10 Operation of extended advertising data

Description

BLE LIB supports both legacy and extended advertising features. Since there exists usage limitation defined by specification, the following tables list the legacy and extended advertising APIs and events.

In Spec. Vol. 4, Part E, Sec. 3.1, there's limitation when controller supports both legacy and extended advertising: If, since the last power-on or reset, the Host has ever issued a legacy advertising command and then issues an extended advertising command, or has ever issued an extended advertising command and then issues a legacy advertising command, the command will be disallowed.

APIs

Legacy advertising APIExtended advertising API
BLE_GAP_SetAdvParamsBLE_GAP_SetExtAdvParams
BLE_GAP_SetAdvDataBLE_GAP_SetExtAdvData
BLE_GAP_SetScanRspDataBLE_GAP_SetExtScanRspData
BLE_GAP_SetAdvEnableBLE_GAP_SetExtAdvEnable
noneBLE_GAP_RemoveExtAdvSet
noneBLE_GAP_ClearExtAdvSet
noneBLE_GAP_SetPeriAdvParams
noneBLE_GAP_SetPeriAdvData
noneBLE_GAP_SetPeriAdvEnable
BLE_GAP_SetScanningParamBLE_GAP_SetExtScanningParams
BLE_GAP_SetScanningEnableBLE_GAP_SetExtScanningEnable
BLE_GAP_CreateConnectionBLE_GAP_ExtCreateConnection
noneBLE_GAP_CreateSync
noneBLE_GAP_CreateSyncCancel
noneBLE_GAP_TerminateSync
noneBLE_GAP_SetDevToPeriAdvList
noneBLE_GAP_SetPeriAdvRxEnable
BLE_GAP_EnableOneTimeAdvnone

Events

Legacy advertising eventExtended advertising event
BLE_GAP_EVT_ADV_REPORTBLE_GAP_EVT_EXT_ADV_REPORT