Hello everyone, I have a problem with the flutter_reactive_ble library and I'm not quite sure how to fix an error. Specifically, I have an Ipega-9083S gamepad controller that registers as a GATT HID. I wrote a simple app to practice and display the joystick movements or button presses on the phone. I found the characteristic using BLE SCAN and it presents itself as follows: Status:
Status: CONNECTED, NOT BONDED
DEVICE INFORMATION
PRIMARY SERVICE
Manufacturer Name String (UUID: 0x2A29)
Firmware Revision String (UUID: 0x2A26)
PnP ID (UUID: 0x2A50)
GENERIC ACCESS
PRIMARY SERVICE
Device Name (UUID: 0x2A00)
Appearance (UUID: 0x2A01)
Peripheral Preferred Connection Parameters (UUID: 0x2A04)
GENERIC ATTRIBUTE
PRIMARY SERVICE
Service Changed (UUID: 0x2A05)
HUMAN INTERFACE DEVICE
PRIMARY SERVICE
Protocol Mode (UUID: 0x2A4E)
Report (UUID: 0x2A4D)
Report Map (UUID: 0x2A4B)
HID Information (UUID: 0x2A4A)
HID Control Point (UUID: 0x2A4C)
Here are the detailed information for the HUMAN INTERFACE DEVICE (0x1812) PRIMARY SERVICE:
flutter_reactive_ble does not currently support an explicit distinction between two characteristics with the same UUID, at least I haven't found anything like that. Can you help me how to approach this problem? I have attached my main.dart project so as not to lengthen this post. Thank you in advance for your help.
Hello everyone, I have a problem with the flutter_reactive_ble library and I'm not quite sure how to fix an error. Specifically, I have an Ipega-9083S gamepad controller that registers as a GATT HID. I wrote a simple app to practice and display the joystick movements or button presses on the phone. I found the characteristic using BLE SCAN and it presents itself as follows: Status:
Here are the detailed information for the HUMAN INTERFACE DEVICE (0x1812) PRIMARY SERVICE:
And as you can see, the characteristic 0x2A4D is displayed twice. After running my code, I get an error on the snackbar:
Subscription error for characteristic: Exception: Multiple matching characteristics found: QualifiedCharacteristic(characteristicId: 00002a4d-0000-1000-8000-00805f9b34fb, serviceId: 00001812-0000-1000-8000-00805f9b34fb, deviceId: 03:34:08:20:58:A8)
flutter_reactive_ble does not currently support an explicit distinction between two characteristics with the same UUID, at least I haven't found anything like that. Can you help me how to approach this problem? I have attached my main.dart project so as not to lengthen this post. Thank you in advance for your help.
main.dart.txt