-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BLE no aquisition of data #12
Comments
We could not replicate the problem you are having. |
The sampling frequency were 1, 100, 1000 (tried all of them). Program looks like it runs smooth but I simply don't get data from the sensor. Neither onCharacteristicRead or onCharacteristicChanged gets called. in BLECommunication Only thing I changed was in BITalinoCommunicationFactory
Because the program would automatically connect via BTH but I specifically want it to operate on BLE (my device is able to do so). The log: I/DeviceActivity: 88:6B:0F:AB:F8:08 -> CONNECTING |
If you could tell me with which bytes to configure the UUID it would be highly appreciated. |
When you find your device in the application, what is the type of communication it returns? You can't create a new instance of a BLECommunication in a BTH device. If your device has both BLE and BTH, you can create a new case for DUAL communication and there you can create a new BLECommunication instance. However, we recommend opting for Bluetooth when your device has both communication types. |
Hello, the communication type is DUAL and as I have written above I have already created a new instance:
However I have now written in BITalinoCommunicationFactory:
This method gets called but still no data is aquisitioned. |
As I have stated, both onCharacteristicRead and onCharacteristicChanged do not get called and thus no data is uploaded from the HomeBIT. Because the writing of the characteristic with the START-command is successful, I would guess that the start command is wrong. There is no documentation about the UUID however and thus it is not possible for me to know with which bytes to configure the HomeBIT. |
Hi, I'm sorry you're still having problems with your system. |
Dear patricia, thank you for your reply. I have purchased the HomeBit with the BLE module and I need to integrate this via BLE into the project architecture. Since there is no documentation provided by your company about the configuration of the UUIDs except for this app I have downloaded the app to test/see how it works. As I have explained above, the BLE aspect of this app does not seem to work and I have provided information about what aspect of the connection/upload procedure does not function (onCharacteristicChanged and onCharacteristicRead). If you could tell me with which bytes to configure the UUID it would be highly appreciated since I believe that the problem is there. The BTH communication works. The only thing I have changed in the app is (in BITalinoCommunicationFactory)
so i can test the BLE connection. |
Dear Hauke, Please find the following documents where you can find the UUID command bytes and communication protocols: Best regards |
Dear patricia, I have to apologize since I have found the first document provided but not the second one. This solves the issue for me, thanks a lot. |
Hello again. I am sorry but this app is still not working with BLE for me. Same if I try manually with the provided documentation. Best regards |
D/BluetoothGatt: setCharacteristicNotification() - uuid: 4051eb11-bf0a-4c74-8730-a48f4193fcea enable: true
I/BLECommunication: 88:6B:0F:AB:F8:08 - onDescriptorWrite - 00002902-0000-1000-8000-00805f9b34fb status: 0
D/BluetoothGatt: setCharacteristicNotification() - uuid: 40fdba6b-672e-47c4-808a-e529adff3633 enable: true
I/BLECommunication: 88:6B:0F:AB:F8:08 - Commands 0
I/BLECommunication: 88:6B:0F:AB:F8:08 - onDescriptorWrite - 00002902-0000-1000-8000-00805f9b34fb status: 0
I/BLECommunication: 88:6B:0F:AB:F8:08 - FRAMES 0
I/DeviceActivity: 88:6B:0F:AB:F8:08 -> CONNECTED
I/BLECommunication: 88:6B:0F:AB:F8:08 - characteristic write success
D/BluetoothGatt: onConnectionUpdated() - Device=88:6B:0F:AB:F8:08 interval=9 latency=0 timeout=10 status=0
I/ViewRootImpl: ViewRoot's Touch Event : ACTION_DOWN
I/ViewRootImpl: ViewRoot's Touch Event : ACTION_UP
I/BLECommunication: 88:6B:0F:AB:F8:08 - characteristic write success
I/DeviceActivity: 88:6B:0F:AB:F8:08 -> ACQUISITION_OK
I/BLECommunication: 88:6B:0F:AB:F8:08 - characteristic write success
onCharacteristicChanged doesn't get called
The text was updated successfully, but these errors were encountered: