The Communications Toolbox™ Library for the Bluetooth Protocol provides standard-compliant functions and reference examples for designing, modeling, simulating, and testing the radio frequency physical layer (RF-PHY) of Bluetooth communications systems. The library supports protocol layer modeling, network modeling, link-level simulation, golden reference verification, and test waveform generation for Bluetooth low energy (BLE) and Bluetooth basic rate/enhanced data rate (BR/EDR) waveforms.
With the library, you can configure, simulate, measure, and analyze end-to-end communications links. You can modify or customize the library functions and use them as reference models for implementing Bluetooth systems and devices. The BLE functions and configuration objects support PHY and protocol layer processing, assign device roles and modes, and provide connection management services. Use library features and examples to generate and decode Bluetooth BR/EDR waveforms. Use the BLE direction-finding functions and objects to estimate angle of arrival (AoA) and angle of departure (AoD). The library provides functions to write generated and recovered BLE link layer packets to packet capture (PCAP) and packet capture next generation (PCAPNG) files.
The library includes reference examples to help you model the behavior of Bluetooth devices or a network of Bluetooth devices. Adapt the provided reference designs to explore communication in multinode networks and to study the system performance of your designs. The library includes BLE mesh network reference examples to study network layer flooding and energy profiling. Use library features and examples to help you model and analyze interference from and co-existence with other networks.
Standard-compliant models for Bluetooth 5.0 and 5.1
Waveform generation and decoding
Signal processing functions, including channel coding, synchronization, channel estimation, and equalization
Link-level simulation with reference examples
Generation and decoding of protocol messages, including link layer, L2CAP, ATT, and GAP
Channel selection and frequency hopping algorithms
BLE direction-finding functionality
PCAP and PCAPNG file writer objects to export BLE link layer packets
Network modeling examples, including modeling of BLE mesh, interference, and coexistence
C and C++ code generation support
To use this functionality, download and install the Communications Toolbox Library for the Bluetooth Protocol add-on.
- PHY Components
Physical layer options, parameterization, and waveform generation and analysis
- Test and Measurement
Test and measurement of Bluetooth radio frequency physical layer (RF-PHY) transmitter and receiver
- Protocol Components
Functions, configuration objects, and System objects for Bluetooth protocol layers above the PHY
- System Modeling
System-level Bluetooth modeling