Hi there,
I need help on testing multiple BLE Device(sensorTag for example) connection+transfer on a SBC(phyBOARD-WEGA or BBB or RPi) which runs linux.
I could connect to single sensortag and obtain data using gatttool & bluepy (python linux application ref:www.elinux.org/RPi_Bluetooth_LE).
But, if I try to connect to other sensortag from another instance of the application, it fails (error:resource busy in bluepy & no responce from gatttool).
Test case1:
(running on x86) In gatttool, connection to multiple device is successful but can't make transfer simultanouly. and again if I have to connect back the sensortag which got disconnected due to error, I have to run the hictool lescan and then run gatttool to connect and reqest data from that BLE Device which will now disconnect the other BLE Device which was connected earlier. Hope u got it :E
Test case2:
(running on x86) In bluepy python script, there is one script running in a terminal#1 fetching sensortag#1 data, and if I run the python script in terminal#2 to fetch data from sensortag#2, the process in termial#1 is paused and then stoped but the terminal#2 continues to stream BLE data.
Is there any python script to talk to more than 1 BLE device simultanously or at least without disconnecting any ble devices. I basically want to run an application on the SBC(running on linux) to support multiple nodes(BLE devices) and push the data to cloud(via MQTT broker) preferably in python or C.
Thanks in advance