flutter_reactive_ble
flutter_reactive_ble copied to clipboard
MFG Data fix on android
BLE Spec allows sending MFG data of more than 24 bytes by adding MFG data fields in the scan response packet, by default iOS concat it but android doesn't thus we manually concat mfg data spreaded across multiple packets
Thanks lot for contribution, I will make sure to review this week!
CI is failing
@Taym95 CI/CD passed after rebase, earlier it failed due to the XCode version requirement. Ready for review
This issue is exactly where I am stuck. I developed a small sensor that sends proprietary data on both the advertisement and scan response packets. The advantage of doing this is that the sensor is transmit only and multiple observers can see the sensor simultaneously, a requirement.
Currently the scan response data over-writes the advertisement data, and all I see from the device is:
I/flutter ( 9444): DiscoveredDevice(id: EA:3B:31:D2:73:E8, name: , serviceData: {}, serviceUuids: [], manufacturerData: [222, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], rssi: -71)
I should be seeing two arrays of this size.
Flutter Blue Plus has the same problem.
@Taym95 Any update on this?
@biii-anuj-pathak can you please rebase