Generate BLE L2CAP frame
Download Required: To use bleL2CAPFrame, first download Communications Toolbox™ Library for the Bluetooth® Protocol. For more information, see Get and Manage Add-Ons. Alternatively, see Communications Toolbox Library for the Bluetooth Protocol File Exchange.
generates a Bluetooth low energy (BLE) logical link control and adaptation protocol (L2CAP)
frame, L2CAPFrame
= bleL2CAPFrame(cfgL2CAP
)L2CAPFrame
, for a given BLE L2CAP configuration object,
cfgL2CAP
. Use this syntax to generate the signaling frames.
generates a BLE L2CAP frame, L2CAPFrame
= bleL2CAPFrame(cfgL2CAP
,SDU
)L2CAPFrame
, for a given BLE L2CAP
configuration object cfgL2CAP
and the upper-layer payload service data
unit (SDU), SDU
. Use this syntax to generate the data frames.
[1] Bluetooth Technology Website. “Bluetooth Technology Website | The Official Website of Bluetooth Technology.” Accessed November 22, 2019. https://www.bluetooth.com/.
[2] Bluetooth Special Interest Group (SIG). "Bluetooth Core Specification." Version 5.1. https://www.bluetooth.com/.