-------------------------------------------------------------------https://stackoverflow.com/questions/36918109/android-ble-list-of-discovered-characteristics-in-service-is-incomplete
Attemptingto read characteristics from a GATT service, the list is incomplete compared tothe list I get from an iOS device, or the manufacturer guide.
I amreading the characteristics as follows:
private
final
BluetoothGattCallback mGattCallback = new
BluetoothGattCallback() {
@Override
public
void onConnectionStateChange(BluetoothGatt gatt, int status,
int newState) {
if (newState == BluetoothProfile.STATE_CONNECTED) {
mConnectionState =STATE_CONNECTED;
mBluetoothGatt = gatt;
if (shouldStartWriting &&writeCharacteristicsQueue.peek() != null) {
I also attempted to get this characteristic using getCharacteristic, but Ireceived a null.
Thecharacteristics found are:
Discovered UUID:
0000fff1-0000-1000-8000-00805f9b34fbDiscovered UUID:
0000fff2-0000-1000-8000-00805f9b34fbDiscovered UUID:
0000fff3-0000-1000-8000-00805f9b34fbDiscovered UUID:
0000fff4-0000-1000-8000-00805f9b34fbDiscovered UUID:
0000fff5-0000-1000-8000-00805f9b34fb
------------------------------------------------------------------------------------------------------------------