简体   繁体   中英

Can BLE peripheral mode trigger the disconnection or refuse to connect?

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM