1.2.2.1.1.6.1 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 API | Extended advertising API |
---|---|
BLE_GAP_SetAdvParams | BLE_GAP_SetExtAdvParams |
BLE_GAP_SetAdvData | BLE_GAP_SetExtAdvData |
BLE_GAP_SetScanRspData | BLE_GAP_SetExtScanRspData |
BLE_GAP_SetAdvEnable | BLE_GAP_SetExtAdvEnable |
none | BLE_GAP_RemoveExtAdvSet |
none | BLE_GAP_ClearExtAdvSet |
none | BLE_GAP_SetPeriAdvParams |
none | BLE_GAP_SetPeriAdvData |
none | BLE_GAP_SetPeriAdvEnable |
BLE_GAP_SetScanningParam | BLE_GAP_SetExtScanningParams |
BLE_GAP_SetScanningEnable | BLE_GAP_SetExtScanningEnable |
BLE_GAP_CreateConnection | BLE_GAP_ExtCreateConnection |
none | BLE_GAP_CreateSync |
none | BLE_GAP_CreateSyncCancel |
none | BLE_GAP_TerminateSync |
none | BLE_GAP_SetDevToPeriAdvList |
none | BLE_GAP_SetPeriAdvRxEnable |
BLE_GAP_EnableOneTimeAdv | none |
Events
Legacy advertising event | Extended advertising event |
---|---|
BLE_GAP_EVT_ADV_REPORT | BLE_GAP_EVT_EXT_ADV_REPORT |