BLE baseband interface file. More...
Go to the source code of this file.
Data Structures | |
struct | BbBleMstAdvEvent_t |
Master advertising event operation data (BB_BLE_OP_MST_ADV_EVENT). More... | |
struct | BbBleSlvAdvEvent_t |
Slave advertising event operation data (BB_BLE_OP_SLV_ADV_EVENT). More... | |
struct | BbBleMstAuxAdvEvent_t |
Master auxiliary advertising event operation data (BB_BLE_OP_MST_AUX_ADV_EVENT). More... | |
struct | BbBleMstPerScanEvent_t |
Master periodic scanning event operation data (BB_BLE_OP_MST_PER_SCAN_EVENT). More... | |
struct | BbBleSlvAuxAdvEvent_t |
Slave auxiliary advertising event operation data (BB_BLE_OP_SLV_AUX_ADV_EVENT). More... | |
struct | BbBleMstConnEvent_t |
Connection event operation data (BB_BLE_OP_MST_CONN_EVENT). More... | |
struct | BbBleSlvConnEvent_t |
Connection event operation data (BB_BLE_OP_SLV_CONN_EVENT). More... | |
struct | BbBleMstCisEvent_t |
CIS master event operation data (BB_BLE_OP_MST_CIS_EVENT). More... | |
struct | BbBleSlvCisEvent_t |
CIS slave event operation data (BB_BLE_OP_SLV_CIS_EVENT). More... | |
struct | BbBleMstBisEvent_t |
BIS master event operation data (BB_BLE_OP_MST_BIS_EVENT). More... | |
struct | BbBleSlvBisEvent_t |
BIS slave event operation data (BB_BLE_OP_SLV_BIS_EVENT). More... | |
struct | BbBleTestTx_t |
Continuous transmit operation data (BB_BLE_OP_TEST_TX). More... | |
struct | BbBleTestRx_t |
Continuous receive operation data (BB_BLE_OP_TEST_RX). More... | |
struct | BbBleData_tag |
Bluetooth Low Energy protocol specific operation parameters. More... | |
Macros | |
#define | BB_BLE_TO_US(n) ((n) * LL_BLE_US_PER_TICK) |
Convert BLE protocol ticks to BB ticks. More... | |
#define | BB_INC_STAT(s) s++ |
Increment statistics counter. More... | |
#define | BB_REQ_PDU_MAX_LEN (LL_ADV_HDR_LEN + LL_CONN_IND_PDU_LEN) |
Maximum request PDU length (MAX(LL_SCAN_REQ_PDU_LEN, LL_CONN_IND_PDU_LEN)). More... | |
#define | BB_MIN_SCAN_US |
Minimum scan time to cover one advertise data exchange. More... | |
Typedefs | |
typedef void(* | BbBlePreExec_t) (BbOpDesc_t *pBod) |
Pre-execute callback signature. More... | |
typedef void(* | BbBleExec_t) (BbOpDesc_t *pBod) |
Execute callback signature. More... | |
typedef void(* | BbBleCancel_t) (BbOpDesc_t *pBod) |
Cancel callback signature. More... | |
typedef void(* | BbBleTxAdvSetup_t) (BbOpDesc_t *pBod, uint32_t advTxTime) |
Advertising PDU transmit setup call signature. More... | |
typedef uint32_t(* | BbBleTxAuxSetup_t) (BbOpDesc_t *pBod, bool_t isChainInd) |
Chain indication PDU transmit setup call signature. More... | |
typedef bool_t(* | BbBleAdvComp_t) (BbOpDesc_t *pBod, const uint8_t *pBuf) |
Returns TRUE if an scan request/response required. More... | |
typedef void(* | BbBleAdvPost_t) (BbOpDesc_t *pBod, const uint8_t *pBuf) |
Rx completion post processing call signature. More... | |
typedef uint32_t(* | BbBleRxChain_t) (BbOpDesc_t *pBod, const uint8_t *pBuf) |
Chain indication PDU received call signature. More... | |
typedef bool_t(* | BbBleRxChainPost_t) (BbOpDesc_t *pBod, const uint8_t *pBuf) |
Chain indication PDU received post call signature. More... | |
typedef void(* | BbBleTxDataComp_t) (BbOpDesc_t *pBod, uint8_t status) |
Data transmit completion callback signature. More... | |
typedef void(* | BbBleRxDataComp_t) (BbOpDesc_t *pBod, uint8_t *pBuf, uint8_t status) |
Data receive completion callback signature. More... | |
typedef uint32_t(* | BbBleCisCheckContOp_t) (BbOpDesc_t *pBod, bool_t *pNewCisCtx) |
CIS check whether to continue current operation call signature. More... | |
typedef void(* | BbBleCisPostExec_t) (BbOpDesc_t *pBod, uint8_t status) |
CIS post execute callback signature. More... | |
typedef void(* | BbBleCisRxDataComp_t) (BbOpDesc_t *pBod, uint8_t *pBuf, uint8_t status) |
CIS data receive completion callback signature. More... | |
typedef bool_t(* | BbBleTestComp_t) (BbOpDesc_t *pBod, uint8_t status) |
Test completion callback signature. More... | |
typedef uint32_t(* | BbBlePerComp_t) (BbOpDesc_t *pBod, const uint8_t *pBuf, uint8_t status) |
Periodic PDU Rx complete call signature. More... | |
typedef bool_t(* | BbBlePerPostComp_t) (BbOpDesc_t *pBod, const uint8_t *pBuf) |
Periodic PDU Rx complete post call signature. More... | |
typedef struct BbBleData_tag | BbBleData_t |
Bluetooth Low Energy protocol specific operation parameters. More... | |
Enumerations |
Functions | |
void | BbBleTxData (PalBbBleTxBufDesc_t descs[], uint8_t cnt) |
Transmit data PDU at next transmit slot. More... | |
void | BbBleRxData (uint8_t *pBuf, uint16_t len) |
Set receive data buffer for next receive slot. More... | |
void | BbBleCisTxData (PalBbBleTxBufDesc_t descs[], uint8_t cnt) |
Transmit CIS PDU at next transmit slot. More... | |
void | BbBleCisRxData (uint8_t *pBuf, uint16_t len) |
Set receive data buffer for next receive slot. More... | |
void | BbBleBisTxData (PalBbBleTxBufDesc_t descs[], uint8_t cnt, uint32_t nextPduTime, PalBbBleChan_t *pNextChan) |
Transmit BIS Data PDU at next transmit slot. More... | |
void | BbBleBisRxData (uint8_t *pBuf, uint16_t len, uint32_t nextPduTime, PalBbBleChan_t *pNextChan, bool_t reAcq) |
Set receive BIS Data PDU buffer for next receive slot. More... | |
void | BbBleBisRxDataReAcq (uint32_t syncTime, PalBbBleChan_t *pChan) |
Receive data re-acquisition. More... | |
BLE baseband interface file.
Copyright (c) 2016-2019 Arm Ltd. All Rights Reserved.
Copyright (c) 2019-2020 Packetcraft, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file bb_ble_api_op.h.