我想设置ble设备模拟器
作为我工作的一部分,我想拥有多个(100多个)的BLE设备来测试我的应用程序。目前,我没有那么多设备。因此,我想模拟多个BLE设备。我想知道是否有一种方法可以通过编程方式模拟多个BLE设备。我应该能够使用单个硬件/软件模拟多个BLE设备。
As part of my work, i would like to have multiple (100+) BLE devices to test my application. At this moment I don't have that many devices. So, I wanted to simulate multiple BLE devices. I would like to know if there is a way to simulate multiple BLE devices programmatically. I should be able to simulate multiple BLE devices with single hardware/software.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不幸的是,这是不可能的。这是因为您将需要100多种独特的基带/HCI设备,为此您需要不同的硬件。我唯一能想到的是,如果您能够更改设备的硬件MAC地址 - 但是我不知道这样做的单个设备,并且还违反了蓝牙SIG规范。
您要模拟的功能到底是什么?您可能会根据用例进行某种次要模拟(例如,如果您希望目标设备读取100多个不同的广告设备,那么这很简单,因为有许多设备每隔几秒钟继续更改其MAC地址出于隐私原因)。
Unfortunately this is not doable. This is because you will need a 100+ different unique baseband/HCI devices and for that you need different hardwares. The only thing I can think of is if you're able to change the hardware MAC address of a device - however I don't know of a single device that does this and it also violates the Bluetooth SIG specification.
What exactly is the functionality that you'd like to simulate? You might be able to do some sort of minor simulation depending on your use case (e.g. if you want your target device to read 100+ different advertising devices, then this is simple because there are many devices that keep changing their MAC address every few seconds for privacy reasons).