メインコンテンツ

Mesh Networking

Bluetooth mesh network communication

The mesh networking capabilities of Bluetooth® Toolbox enable you to create a Bluetooth mesh network and realize mesh packet communication.

Use the features and reference examples to:

  • Simulate and visualize a Bluetooth mesh network over an advertising bearer, consisting of relay, low power, and friend nodes with varying multiple source and destination nodes.

  • Analyze mesh packet communication and compute energy consumption of nodes in the transmission, listen, sleep, and idle states.

  • Simulate managed flooding and visualize the flow of packets.

Figure showing a Bluetooth LE mesh network containing 20 mesh nodes. Few mesh nodes are configured as LPN, Friend node, and Relay node.

Functions

expand all

addNodesAdd nodes to simulator (Since R2022b)
addChannelModelAdd custom channel or path loss model (Since R2022b)
scheduleActionSchedule action to perform during simulation (Since R2022b)
cancelActionCancel scheduled action (Since R2022b)
runRun simulation (Since R2022b)
addMobilityAdd random waypoint mobility model to Bluetooth LE node (Since R2023b)
addTrafficSourceAdd data traffic source to Bluetooth LE node (Since R2022a)
configureConnectionConfigure LL connection between Bluetooth LE Central and Peripheral nodes (Since R2022a)
kpiReturns key performance indicators (KPIs) for Bluetooth LE nodes (Since R2024b)
registerEventCallbackRegister callback for event from Bluetooth LE node (Since R2026a)
statisticsGet statistics of Bluetooth LE node (Since R2022a)
configureFriendshipConfigure friendship between Friend node and LPN (Since R2022a)
configurePeriodicAdvConfigure Bluetooth LE periodic advertisements between Broadcaster and Observer (Since R2024a)
bleLLAdvertisingChannelPDUGenerate Bluetooth LE LL advertising channel PDU
bleLLAdvertisingChannelPDUDecodeDecode Bluetooth LE LL advertising channel PDU
generateGenerate next FTP, On-Off, VoIP, or video conference application traffic packet
showBoundaryCreate and visualize node placement boundary on canvas (Since R2026a)
hideBoundaryRemove placement boundaries from canvas (Since R2026a)

Objects

expand all

wirelessNetworkSimulatorWireless network simulator (Since R2022b)
bluetoothLENodeBluetooth LE node (Since R2022a)
bluetoothLEConnectionConfigBluetooth LE LL connection configuration parameters (Since R2022a)
bluetoothLEGAPConfigBluetooth LE GAP configuration parameters (Since R2026a)
bluetoothLEPeriodicAdvConfigBluetooth LE periodic advertisements configuration parameters (Since R2024a)
bluetoothMeshProfileConfigBluetooth mesh profile configuration parameters (Since R2022a)
bluetoothMeshFriendshipConfigBluetooth mesh friendship configuration parameters (Since R2022a)
bleLLAdvertisingChannelPDUConfigBluetooth LE LL advertising channel PDU configuration parameters
networkTrafficOnOffOn-Off application traffic pattern generator (Since R2022a)
wirelessNetworkViewerView wireless networks (Since R2026a)
wirelessTrafficViewerView state transitions and channel occupancy of wireless nodes (Since R2026a)

Topics

What is Bluetooth Mesh Networking?

Node and Statistics

Network Configuration and Simulation

Featured Examples