BLE Baseband interface file. More...
Go to the source code of this file.
Data Structures | |
struct | PalBbBleChan_t |
BLE channelization parameters. More... | |
struct | PalBbBleDataParam_t |
BLE data transfer parameters. More... | |
struct | PalBbBleOpParam_t |
Operation parameters. More... | |
struct | PalBbBleTxBufDesc_t |
Transmit buffer descriptor. More... | |
Macros | |
#define | LL_ENABLE_TESTER 0 |
Typedefs | |
typedef void(* | PalBbBleTxIsr_t) (uint8_t status) |
Transmit complete ISR callback signature. More... | |
typedef void(* | PalBbBleRxIsr_t) (uint8_t status, int8_t rssi, uint32_t crc, uint32_t timestamp, uint8_t rxPhyOptions) |
Receive complete ISR callback signature. More... | |
Enumerations |
Functions | |
void | PalBbBleInit (void) |
Initialize the BLE baseband driver. More... | |
void | PalBbBleEnable (void) |
Enable the BB hardware. More... | |
void | PalBbBleDisable (void) |
Disable the BB hardware. More... | |
void | PalBbBleSetChannelParam (PalBbBleChan_t *pChan) |
Set channelization parameters. More... | |
void | PalBbBleSetDataParams (const PalBbBleDataParam_t *pParam) |
Set the data packet exchange parameters. More... | |
void | PalBbBleSetOpParams (const PalBbBleOpParam_t *pOpParam) |
Set the operation parameters. More... | |
void | PalBbBleTxData (PalBbBleTxBufDesc_t descs[], uint8_t cnt) |
Transmit a packet. More... | |
void | PalBbBleTxTifsData (PalBbBleTxBufDesc_t descs[], uint8_t cnt) |
Transmit packet at TIFS after the last packet received. More... | |
void | PalBbBleRxData (uint8_t *pBuf, uint16_t len) |
Receive packet. More... | |
void | PalBbBleRxTifsData (uint8_t *pBuf, uint16_t len) |
Receive packet at TIFS after the last packet transmitted. More... | |
void | PalBbBleCancelTifs (void) |
Cancel TIFS timer. More... | |
void | PalBbBleCancelData (void) |
Cancel a pending transmit or receive. More... | |
void | PalBbBleEnableDataWhitening (uint8_t enable) |
Enable or disable data whitening. More... | |
void | PalBbBleEnablePrbs15 (uint8_t enable) |
Enable or disable PRBS15. More... | |
void | PalBbBleInlineEncryptDecryptSetDirection (uint8_t dir) |
Set inline encryption/decryption direction bit. More... | |
void | PalBbBleInlineEncryptSetPacketCount (uint64_t count) |
Set the inline encryption packet count for transmit. More... | |
void | PalBbBleLowPower (void) |
Low power operation. More... | |
BLE Baseband interface file.
Copyright (c) 2013-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 pal_bb_ble.h.
#define LL_ENABLE_TESTER 0 |
Enable LL tester extensions.
Definition at line 40 of file pal_bb_ble.h.
anonymous enum |
Nonce modes.
Enumerator | |
---|---|
PAL_BB_NONCE_MODE_PKT_CNTR |
Packet counter mode (default). |
PAL_BB_NONCE_MODE_EXT16_CNTR |
16-bit counter mode, PalCryptoEnc_t::pEventCounter must be non-NULL. |
PAL_BB_NONCE_MODE_EXT64_CNTR |
64-bit counter mode, PalCryptoEnc_t::pTxPktCounter/pRxPktCounter must be non-NULL. |
Definition at line 48 of file pal_bb_ble.h.
anonymous enum |
Connection type.
Enumerator | |
---|---|
PAL_BB_TYPE_ACL |
ACL. |
PAL_BB_TYPE_CIS |
CIS. |
PAL_BB_TYPE_BIS |
BIS. |
Definition at line 56 of file pal_bb_ble.h.