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

5 次查看(过去 30 天)
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.

回答(1 个)

HimeshNayak
HimeshNayak 2023-2-15
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 个评论
Garvit
Garvit 2023-2-15
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Coexistence Modeling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by