bleChannelSelection
Bluetooth LE channel index selection
Description
The bleChannelSelection
System object™ selects a Bluetooth® low energy (LE) channel index based on the algorithm specified by the Algorithm property. This
System object enables you to select the Bluetooth LE channel index for connection, periodic
advertising, and isochronous events.
To select a Bluetooth LE channel index:
Create the
bleChannelSelection
object and set its properties.Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?
Creation
Description
creates a default
Bluetooth LE channel selection System object, csa
= bleChannelSelectioncsa
.
sets
Properties using one or more
name-value pairs. Enclose each property name in quotes. For example,
csa
= bleChannelSelection(Name
,Value
)('Algorithm',2)
specifies a Bluetooth LE channel index based on
Algorithm 2.
Properties
Usage
Syntax
Description
selects a channel index
based on the applicable Properties. During each call
of this function, update the values of IsochronousEventCounter and SubeventNumber properties. During
each call of this function, the System object must update the channelIndex
= csaSubeventNumber
property
sequentially.
Object Functions
To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named obj
, use
this syntax:
release(obj)
Examples
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