I'm still having big problems in this area and haven't had this working for some time now. I've tried both parallel and serial and the most concervative settings and timeouts and it appears that this function has simply stopped working properly.
Parallel does appear to spur off parallel sessions of BLEconnect.py processes but never reports back an "up" in piBeacon in Indigo for any more than one device and the same is for serial. The ~/pibeacon/parameters file appears to correctly include all my devices.
If I run the following command directly on the Pi to check for 2 devices it works successfully:
- Code: Select all
sudo hcitool cc DC:2B:2A:04:E7:A3 && sudo hcitool rssi DC:2B:2A:04:E7:A3 && sudo hcitool cc 38:C9:86:DA:34:4C && sudo hcitool rssi 38:C9:86:DA:34:4C
Output:
RSSI return value: 0
RSSI return value: 0
(the devices were right next to the Pi, hence the 0 value)
Even though the above command works I have also tried a different Bluetooth adapter with a different chipset which made no difference within piBeacon on Indigo.
I don't know whether it's worth mentioning or not, but the only device piBeacon always seems to successfully report is the first device listed in the parameters file in the BLEconnect stanza. Other devices only ever show as "up" if that first device is not detected.