Configuration object for BLE ATT PDU
Download Required: To use bleATTPDUConfig, 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.
The bleATTPDUConfig
creates a configuration object for a
Bluetooth low energy (BLE) attribute protocol data unit (ATT PDU). You can configure a BLE ATT
PDU using the applicable properties of bleATTPDUConfig
.
creates a
cfgATT
= bleATTPDUConfigbleATTPDUConfig
configuration object, cfgATT
, for
a BLE ATT PDU with default values.
sets properties using one or more name-value pairs. Enclose each property name in quotes.
For example, cfgATT
= bleATTPDUConfig(Name,Value
)bleATTPDUConfig('Opcode','Error response')
sets the
Opcode
property of cfgATT
to 'Error
response'
.
[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/.