Interpret manufacturer data through Flutter reactive BLE

JadedEric

Rather new to Bluetooth Low-energy devices, and having recently purchased a bunch of trackers off Amazon, decided to write a little application to see what type of information I can get from these.

The trackers are from a Chinese company, and they don't have a ton of information around advertisement information, so I'm playing by best guess here.

What I've been able to achieve so far, through Flutter Reactive BLE, is to find the devices by their ID (filter out additional noise I don't care about) and pull information like RSSI, Name and ID from it.

Now I want to interpret the manufacturerData object, screenshot attached of just one of them, and can't seem to get anything concrete from it.

I half assumed that reactive_ble would've stripped the leading checks and only supplied the the necessary portions of the data object that's relevant to interpret, however, this does not seem to be the case.

My first feel was to just convert this UInt8List to String utf8.decode(device.manufacturerData), however, this returns either a 1x spaced string or nothing at all.

I've tried using ByteData with a start of 3 and end of 4, and that's not very helpful either.

Is there something I'm missing in it's interpretation? I've read the Bluetooth spec and as I don't come from a CompSci background, is rather foreign to me, so would appreciate a layman response.

enter image description here

Emil

The first 16 bits (little endian) in manufacturer data contain the manufacturer id (Bluetooth SIG's web site has a list). The layout of the rest of the bytes are totally up to the manufacturer. If you can't guess what they mean, you'll have to ask the manufacturer.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Read Manufacturer data BLE device react-native-ble-plx

How to get proper(decode) manufacturer advertisement data from ble devices?

flutter_reactive_ble how to stop scan

Flutter acquire data from BLE

Android BLE: Is it possible to add Service Data and Manufacturer Data at the same time when advertising an iBeacon packet?

Looping through list data in Flutter

Passing data through navigation in flutter?

Write data to BLE device and read its response flutter?

Flutter setState() doesn't reactive to the List data change

android ios any unique key for any BLE (We are working with all BLE - no manufacturer dependency) to identify it

Flutter: Search through text data from Firestore

Flutter passing data up through stateless widget

Datatble interpret javascript data

v-if not reactive (or data not reactive)

Arduino Nano 33 BLE doesn't receive data sent via flutter app

Vuex: Unable to make page reactive after fetching data through axios on action

Flutter BLE Byte to Array conversion

How to interpret ' character in a string passed through SSH

BLE raw data advertisment

Android BLE send data

BLE communication data type

PHP & Curl Interpret Data and print

How to use the text field data and calculate through the api call in flutter?

Fetching list of data from API through Dio in Flutter

Can not properly loop through the fetched firestore data in flutter and display it in Tabs

how to send data through different classes in different screens in flutter

How to implement GeoLocator StreamController and get Data through screens - Flutter

Execution failed for task ':reactive_ble_mobile:generateDebugProto'

How to filter on manufacturer data when using BluetoothLeScanner for android?

TOP Ranking

  1. 1

    Failed to listen on localhost:8000 (reason: Cannot assign requested address)

  2. 2

    Loopback Error: connect ECONNREFUSED 127.0.0.1:3306 (MAMP)

  3. 3

    How to import an asset in swift using Bundle.main.path() in a react-native native module

  4. 4

    pump.io port in URL

  5. 5

    Compiler error CS0246 (type or namespace not found) on using Ninject in ASP.NET vNext

  6. 6

    BigQuery - concatenate ignoring NULL

  7. 7

    ngClass error (Can't bind ngClass since it isn't a known property of div) in Angular 11.0.3

  8. 8

    ggplotly no applicable method for 'plotly_build' applied to an object of class "NULL" if statements

  9. 9

    Spring Boot JPA PostgreSQL Web App - Internal Authentication Error

  10. 10

    How to remove the extra space from right in a webview?

  11. 11

    java.lang.NullPointerException: Cannot read the array length because "<local3>" is null

  12. 12

    Jquery different data trapped from direct mousedown event and simulation via $(this).trigger('mousedown');

  13. 13

    flutter: dropdown item programmatically unselect problem

  14. 14

    How to use merge windows unallocated space into Ubuntu using GParted?

  15. 15

    Change dd-mm-yyyy date format of dataframe date column to yyyy-mm-dd

  16. 16

    Nuget add packages gives access denied errors

  17. 17

    Svchost high CPU from Microsoft.BingWeather app errors

  18. 18

    Can't pre-populate phone number and message body in SMS link on iPhones when SMS app is not running in the background

  19. 19

    12.04.3--- Dconf Editor won't show com>canonical>unity option

  20. 20

    Any way to remove trailing whitespace *FOR EDITED* lines in Eclipse [for Java]?

  21. 21

    maven-jaxb2-plugin cannot generate classes due to two declarations cause a collision in ObjectFactory class

HotTag

Archive