-
Notifications
You must be signed in to change notification settings - Fork 326
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
MFG Data fix on android #619
base: master
Are you sure you want to change the base?
Conversation
Thanks lot for contribution, I will make sure to review this week! |
CI is failing |
Append MFG data of Advertising and ScanResponse Packet. By Spec Ble 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
3cf8748
to
bdbaca5
Compare
@Taym95 |
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 |
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