umair13adil / simple_beacons_flutter

A flutter plugin project to range & monitor iBeacons.
Apache License 2.0
35 stars 42 forks source link

Feature request : Support for raw data or payload data #26

Open justoke opened 3 years ago

justoke commented 3 years ago

I have a number of IOT hardware sensors which provide an iBeacon interface and also expose the data that they contain - temperature and humidity - in a byte array. This is shown in the example below as RawData in the BLE Scanner app. Not sure how they have done this.

I've tried all the Flutter libraries I could find for Bluetooth/BLE and none of them seem to have a method to read this raw data. When using Bluetooth libraries in embedded micro controllers the Bluetooth libraries tend to have a method to get the payload or rawdata. This can then be decoded to extract the data that the manufacturer has encoded in the byte array.

Screenshot_20201102-103052_BLE Scanner Screenshot_20201102-103209_BLE Scanner

Is it possible to add such a feature to this package?

Thank you.

umair13adil commented 3 years ago

This feature can be provided using AltBeacon's existing methods for Android and is do-able for iOS too. This feature will be part of this plugin soon.