Configuration object for BLE GAP data block
Download Required: To use bleGAPDataBlockConfig, 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 bleGAPDataBlockConfig
creates a configuration object for a
Bluetooth low energy (BLE) generic access profile (GAP) data block of the type advertising
data (AD) or scan response data (SRD). You can configure a BLE GAP data block using the
applicable properties of bleGAPDataBlockConfig
.
creates a
configuration object, cfgGAP
= bleGAPDataBlockConfigcfgGAP
, for a BLE GAP data block of the type AD
or SRD with default values.
sets properties using one or more name-value pairs. Enclose each property name in quotes.
For example, cfgGAP
= bleGAPDataBlockConfig(Name,Value
)bleGAPDataBlockConfig('AdvertisingDataTypes','Tx power
level')
configures cfgGAP
with block data advertising
data type as 'Tx power level'
.
[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/.
[3] Bluetooth Special Interest Group (SIG). "Supplement to the Bluetooth Core Specification." CSS Version 7 (2016).