Hello all,
I've got a small BLE device (an iTag) which I'm able to communicate with
using a GATT class I found here:
https://codeload.github.com/getsenic/gatt-python/zip/master
It works fine, but for one thing: Whenever I get outof range (which is
rather easy to do) I have to re-run the python program to reconnect.
Question: Is there a setting somewhere that causes my my RPi's BLE to
automatically reconnect to the device when it comes in range again ?
Remark:
I can either wrap a never-ending loop around the whole program and perhaps
add some code that will go into discovery mode until the devices
advertisdement is receieved again, but as the need for reconnection isn't
something that seldom happens (especially not with short-ranged BLE devices)
I could imagine its already build into the BLE stack. But if so, where/how
to enable it ...
Regards,
Rudy Wieser
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|