Need help reading Manufacture Data #847
Replies: 2 comments
-
So I'm also working with a c# program that has similar functionality of the mobile App, It currently works via USB. I decided to see how difficult it would be to add Bluetooth to it. On windows, it also showed the manufacture data to be blank. I found the data I was looking for in Advertisement.DataSections. I don't see a way to read that in reactive_ble, but it does lead me to see that the data exists on the advertising data of the Bluetooth, now I just need to find it in flutter. |
Beta Was this translation helpful? Give feedback.
-
I found a BLE Scanner app on the playstore that can show raw data.
Not sure what Type 0x01 is, 0x09 is the the ascii of the link name. The 0xFF is the manufacture data. The Section that is 15 long is the correct data I am looking for. The manufactureData returned by flutter_reactive_ble is the block that is 21 long. Not sure how it worked before and not sure how to get the first block. I remember I had to do something when I was only developing the app in Swift for iOS before I found flutter. Don't remember what I did, but I don't see anything in this library. The good news is the data is there, the bad news is I have no clue how to get it with this library. |
Beta Was this translation helpful? Give feedback.
-
I was working on my app in November and had it scanning for devices and reading Manufacture Data without issue. I had to work on a different project for a while and now when I came back to my app I can't read manufacture data anymore. It just shows all 0's for the manufacture data.
I'm doing my main testing on a Lenovo Tab 4 8" with Android 8.1, but I've also tried it with a cheep 10" tablet off Amazon that has Android 13. The build I had done in November worked at the time and I had also done a build over a year ago and put on Google play worked when I pushed it, but now neither build works on either of my tablets.
Initially I thought something had changed in the library but I rolled by to the version I was using in November and it still doesn't work on my tablets. I have seen the Lenovo tablet Bluetooth stop working before, but it would work again after a reboot. I have tried rebooting several times and have disabled and turn Bluetooth back on several times.
Anyone have any ideas how to get Bluetooth working again? I see the device, just can't get Man data. I can also pair Bluetooth headphones to the tablet without issue and they work as expected.
Beta Was this translation helpful? Give feedback.
All reactions