Protocol Components

Functions, configuration objects, and System objects for Bluetooth® protocol layers above the PHY

Communications Toolbox™ Library for the Bluetooth Protocol functions and objects model the Bluetooth low energy (BLE) link layer (LL), the logical link control and adaptation protocol (L2CAP), the generic access profile (GAP), the attribute protocol (ATT) layer and the Bluetooth basic rate/enhanced data rate (BR/EDR) baseband and link control layer. Use the configuration objects to parameterize these functions and to create Bluetooth protocol data units (PDUs) that are compliant with the Bluetooth Core Specification.

Functions

bleATTPDUGenerate BLE ATT PDU
bleATTPDUDecodeDecode BLE ATT PDU
bleLLDataChannelPDUGenerate BLE LL data channel PDU
bleLLDataChannelPDUDecodeDecode BLE LL data channel PDU
bleLLAdvertisingChannelPDUGenerate BLE LL advertising channel PDU
bleLLAdvertisingChannelPDUDecodeDecode BLE LL advertising channel PDU
bleGAPDataBlockGenerate BLE GAP data block
bleGAPDataBlockDecodeDecode BLE GAP data block
bleL2CAPFrameGenerate BLE L2CAP frame
bleL2CAPFrameDecodeDecode BLE L2CAP frame

Objects

bleATTPDUConfigConfiguration object for BLE ATT PDU
bleLLDataChannelPDUConfigConfiguration object for BLE LL data channel PDU
bleLLControlPDUConfigConfiguration object for BLE LL control PDU payload configuration
bleLLAdvertisingChannelPDUConfigConfiguration object for BLE LL advertising channel PDU
bleGAPDataBlockConfigConfiguration object for BLE GAP data block
bleL2CAPFrameConfigConfiguration object for BLE L2CAP frame
bleChannelSelectionBLE channel index for connection events
bluetoothFrequencyHopBluetooth BR/EDR channel index for frequency hopping

Topics

Bluetooth Parameterization

Describes the configuration objects defined in Communications Toolbox Library for the Bluetooth Protocol.

Bluetooth Protocol Stack

Explore the Bluetooth low energy (BLE) and the Bluetooth protocol stack.

Bluetooth Packet Structure

Describes the Bluetooth packet structures you can model using Communications Toolbox Library for the Bluetooth Protocol.

Create Configuration Objects

Describes creation of configuration objects that are used to store the properties required to generate Bluetooth waveforms and to recover signal data.

Featured Examples