How to simulate a connectionless BLE network using MATLAB Bluetooth Toolbox?

12 views (last 30 days)
I want to simulate a network where one node is acting as broadcaster and other as observer (or scanner) only and calculate different parameters like throughput, sleep time etc. in different scenerios.
The "BluetoothLENode" object only allows a central and peripheral role for nodes which can function in a connected type of network only.

Answers (1)

HimeshNayak
HimeshNayak on 15 Feb 2023
Hi Garvit,
I understand that you want to simulate a BLE network, where one node is acting as a broadcaster and other as an observer, using MATLAB Bluetooth Toolbox. This can be done using the Bluetooth Mesh Networks.
Provide the role “broadcaster-observer” to the “BluetoothLENode”, using the following code.
bluetoothLENode("broadcaster-observer")
You can also checkout the following link that shows a sample output from a “BluetoothLENode” call that creates a broadcaster-observer node.
Further you can visit the following link to understand the creation, configuration, and visualization of Bluetooth Mesh Networks,
Regards,
HimeshNayak
  1 Comment
Garvit
Garvit on 15 Feb 2023
Hi Himesh,
Thanks for the reply.
What I am interested in is that my broadcaster should never spend it's time scanning for the advertisements and my observer should never spend time advertising and with "broadcaster-observer" role of BluetoothLENode it's not possible to make both "AdvertisingInterval" and "ScanInterval" as zero.
Also I want my network where there is one observer and many broadcaster to be not forming mesh or star network and never form a connection with each other.
You can consider a reverse of Bluetooth Beacon as an approximate example of the situation I am interested in Simulating i.e. there are many advertisers who are never doing scanning and a single observer which never advertises.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!