bleL2CAPFrame
Generate Bluetooth LE L2CAP frame
Description
generates a Bluetooth® low energy (LE) logical link control and adaptation protocol (L2CAP) frame,
l2capFrame
= bleL2CAPFrame(cfgL2CAP
)l2capFrame
, for a given Bluetooth LE L2CAP configuration object,
cfgL2CAP
. Use this syntax to generate the signaling frames.
additionally generates a Bluetooth LE L2CAP frame for the upper-layer payload service data
unit (SDU), l2capFrame
= bleL2CAPFrame(cfgL2CAP
,sdu
)sdu
, by using the specified Bluetooth LE L2CAP
configuration object. Use this syntax to generate the data frames.
Examples
Input Arguments
Output Arguments
References
[1] Bluetooth Technology Website. “Bluetooth Technology Website | The Official Website of Bluetooth Technology.” Accessed November 22, 2021. https://www.bluetooth.com/.
[2] Bluetooth Special Interest Group (SIG). "Bluetooth Core Specification." Version 5.3. https://www.bluetooth.com/.
Extended Capabilities
Version History
Introduced in R2019b