You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello I managed to connect 3 BLE devices and everything works super fine, thanks for the DLL.
But for my application (thesis). I have to read data simultaneously meaning that I am reading 0.5 seconds the data from Sensor1, then 1 second reading my sensor 2, and then sensor 3. The buffer data always gets messed up and my code is reading the wrong sensor for each data field. Is it possible to switch between connected BLE devices and then make a scheduler to indicate when every sensor is allowed to read or is this simply not possible with your DLL? Thanks in advance
The text was updated successfully, but these errors were encountered:
Do you mean the OS/hardware buffer? How large are your bluetooth packages?
I'd guess switching on/off is only supported with unsubscribe/subscribe. But you can try to find the functionality in the Microsoft's UWP BLE documentation (C#). If you find it you can port it to this dll.
Hey there thanks for the insights. I thought that when I called "polldata" I was asking the BLE sensor to send data. But it just always sends data and it is up to me to detect the deviceId and then call the correct method. Thanks a lot for the fast reply!
Yeah that's probably confusing because "ReadCharacteristic" is not implemented in the dll although it is a ble functionality. If you need it you can checkout #6 (comment) .
Hello I managed to connect 3 BLE devices and everything works super fine, thanks for the DLL.
But for my application (thesis). I have to read data simultaneously meaning that I am reading 0.5 seconds the data from Sensor1, then 1 second reading my sensor 2, and then sensor 3. The buffer data always gets messed up and my code is reading the wrong sensor for each data field. Is it possible to switch between connected BLE devices and then make a scheduler to indicate when every sensor is allowed to read or is this simply not possible with your DLL? Thanks in advance
The text was updated successfully, but these errors were encountered: