Hello All,
I've been working with a new client for the past few months that already has an iOS developer that created an iOS app that interacts with my clients bespoke hardware solutions, my client has in-house hardware designers with bespoke Arduino hardware and PCB solutions in place.
I've been developing an Android app for them for another solution that they are more than happy with but I've hit a hurdle.
What I need need to integrate next is BT GATT services. Without Android BT GATT services and learning about their BT GATT characteristics the project cannot be completed thus it will come to a complete standstill. Android BT GATT is the last peace in the puzzle. Once BT GATT is integrated into my app and it's broadcasting multiple UUID's and receiving characteristics data, my app can start to control their bespoke hardware. Please note that my app will be running on custom Android hardware and using a customised forked version of Android that I've asked the manufacturer to modify for my client. The manufacturer has sent me videos of the modification and they are looking good.
I need help with the following as I have absolutely no idea about BT GATT services on Android. I need to create Bluetooth GATT services, does anyone have a working example of how to achieve Bluetooth GATT services on Android that broadcasts multiple UUID's and that can receiving characteristics?
Bluetooth GATT services:
https://developer.android.com/reference/android/bluetooth/BluetoothGattService
Bluetooth GATT characteristics:
https://developer.android.com/reference/android/bluetooth/BluetoothGattCharacteristic
I have seen the following post on reading the characteristics and I believe that Erel's response it will help me a lot, maybe. But I still need to know how to create a separate BT GATT service that broadcasts multiple UUID's.
www.b4x.com
Any help or feedback would be great appreciated.
Thank you...
I've been working with a new client for the past few months that already has an iOS developer that created an iOS app that interacts with my clients bespoke hardware solutions, my client has in-house hardware designers with bespoke Arduino hardware and PCB solutions in place.
I've been developing an Android app for them for another solution that they are more than happy with but I've hit a hurdle.
What I need need to integrate next is BT GATT services. Without Android BT GATT services and learning about their BT GATT characteristics the project cannot be completed thus it will come to a complete standstill. Android BT GATT is the last peace in the puzzle. Once BT GATT is integrated into my app and it's broadcasting multiple UUID's and receiving characteristics data, my app can start to control their bespoke hardware. Please note that my app will be running on custom Android hardware and using a customised forked version of Android that I've asked the manufacturer to modify for my client. The manufacturer has sent me videos of the modification and they are looking good.
I need help with the following as I have absolutely no idea about BT GATT services on Android. I need to create Bluetooth GATT services, does anyone have a working example of how to achieve Bluetooth GATT services on Android that broadcasts multiple UUID's and that can receiving characteristics?
Bluetooth GATT services:
https://developer.android.com/reference/android/bluetooth/BluetoothGattService
Bluetooth GATT characteristics:
https://developer.android.com/reference/android/bluetooth/BluetoothGattCharacteristic
I have seen the following post on reading the characteristics and I believe that Erel's response it will help me a lot, maybe. But I still need to know how to create a separate BT GATT service that broadcasts multiple UUID's.
BLE2 - How to read a Bluetooth characteristic descriptor?
The 0x2902 descriptor is written to by SetNotify, and that is working beautifully. But there are other descriptors (per https://www.bluetooth.com/specifications/gatt/descriptors ) and I cannot work out how to read descriptor 0x2904 aka "Characteristic Presentation Format". The descriptor shows...
Any help or feedback would be great appreciated.
Thank you...
Last edited: