I want to build some kind of two-way Bluetooth connection on Raspberry-pi, which actually works like a beacon. Based on the RadiusNetworks tutorial ( How to make an iBeacon from Raspberry Pi http://developer.radiusnetworks.com/2013/10/09/how-to-make-an-ibeacon-out-of-a-raspberry-pi.html ) I created a beacon on my raspberry-pi, but it works in the "advertise and not connect" mode (which is due to the problem described here: Waiting time to connect to the raspberry Pi iBeacon ).
What I want to achieve is a beacon device that works in advertising mode, and also allows you to receive some events from another device (for example, iPhone). When the iPhone detects a raspberry-pe beacon, I want it to send some data to Raspberry-pe to trigger some kind of action. I know that in the simplest way, my iPhone should send data through the network to raspberries while it enters the beacon zone, but, unfortunately, my solution should work offline, so I'm looking for some direct (and possibly quick ) connection. I think that the PayPal beacon is a good example of my needs (as described here: https://devblog.paypal.com/how-does-paypal-beacon-work/ their device works as a gateway for a user connecting a smartphone with PayPal services).
I became new to BLE questions, so I will be grateful for any tips where I can start the study or how to ask Google about any good answers in this thread.
source
share