Can BLE peripheral mode trigger the disconnection

2019-08-29 03:42发布

Here's our situation. We have a machine vending machine run in peripheral mode and mobile runs in central mode. When the mobile is close to the vending machine, it triggers the connection and start to communicate. But as far as I know, the peripheral mode can only connect to one device at a time just considering bluetooh 4.0, so if there's someone who wants to make a trick stands around our vending machine and connects to it all the time, no one else can connect the vending machine. Am I right?

My question is

  1. How to avoid this situation. Is it possible for the vending machine to refuse the connection or to trigger the disconnection when it founds that the connection is invalid (triggered by other app)?

  2. I have heard something like multipoint bluetooth. So how much can the multi be, can it be like 100 so that it may solve the problem.

  3. I found a similar situation in paypal beacon. https://devblog.paypal.com/how-does-paypal-beacon-work/ it says the beacon is running in peripheral mode. I am wondering how do they avoid these invalid connections.

1条回答
爷的心禁止访问
2楼-- · 2019-08-29 04:16

Since, the central device(mobile device) initiating connection, it will act as Master and the other end device(vending machine) will act as slave.

According to Bluetooth 4.1 specification, a slave can have multiple masters. So, more than one mobile device can connect to the single LE device.

查看更多
登录 后发表回答