Mistake on this page?
Report an issue in GitHub or email us
Data Structures | Macros | Typedefs | Enumerations | Functions
pal_bb_ble.h File Reference

BLE Baseband interface file. More...

#include "pal_bb.h"
#include "pal_crypto.h"

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...


#define LL_ENABLE_TESTER   0


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...



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...

Detailed Description

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


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.

Macro Definition Documentation

#define LL_ENABLE_TESTER   0

Enable LL tester extensions.

Definition at line 40 of file pal_bb_ble.h.

Enumeration Type Documentation

anonymous enum

Nonce modes.


Packet counter mode (default).


16-bit counter mode, PalCryptoEnc_t::pEventCounter must be non-NULL.


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.







Definition at line 56 of file pal_bb_ble.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.