addTrafficSource
Download Required: To use addTrafficSource
,
first download the Communications Toolbox Wireless Network Simulation Library add-on. For more
information, see Get and Manage Add-Ons.
Description
addTrafficSource(
adds a data traffic source object, bluetoothBRNodeObj
,trafficSource
,DestinationNode=connectedNode
)trafficSource
, to the specified
Bluetooth® basic rate/enhanced data rate (BR/EDR) node for sending data to the specified
connected destination node, connectedNode
.
Note
Each time you call this object function, you add a traffic generator (source) to a Bluetooth BR/EDR node. You can add multiple traffic sources to a node, directing them to the same or different destination nodes.
Examples
Input Arguments
References
[1] Bluetooth Technology Website. “Bluetooth Technology Website | The Official Website of Bluetooth Technology.” Accessed July 22, 2022. https://www.bluetooth.com/.
[2] Bluetooth Core Specifications Working Group. "Bluetooth Core Specification" v5.3. https://www.bluetooth.com/.
Version History
Introduced in R2022b