Comments (5)
Would you accept a pull request that add a manufacturerData
field to DiscoveredDevices
?
@immutable
@FunctionalData()
class DiscoveredDevice extends $DiscoveredDevice {
final String id;
final String name;
@CustomEquality(DeepCollectionEquality())
final Map<Uuid, Uint8List> serviceData;
final Uint8List/*?*/ manufacturerData;
@CustomEquality(Ignore())
final int rssi;
}
from flutter_reactive_ble.
I am pretty sure that what you're looking for is DiscoveredDevice.serviceData.
from flutter_reactive_ble.
I was looking for the SparseArray<byte[]> | getManufacturerSpecificData()"
https://developer.android.com/reference/android/bluetooth/le/AdvertiseData on Android
and https://developer.apple.com/documentation/corebluetooth/cbadvertisementdatamanufacturerdatakey on iOS
Which is different from the service advertisment data.
Both Flutter_blue and flutter_ble_lib expose this:
https://github.com/pauldemarco/flutter_blue/blob/master/lib/src/flutter_blue.dart#L243
https://github.com/Polidea/FlutterBleLib/blob/develop/lib/scan_result.dart#L36
from flutter_reactive_ble.
You're right, here we're only extracting CBAdvertisementDataServiceDataKey
data (and similarly on Android).
This is a valid feature request π
from flutter_reactive_ble.
@xvrh Looks fine. This is not the biggest change needed for the whole feature to work, though.
Please, feel free to open a pull request π
from flutter_reactive_ble.
Related Issues (20)
- Crash on permission change HOT 1
- 'readRssi' Method Not Defined for 'ReactiveBlePlatform' HOT 6
- protobuf ^3.1.0 support HOT 2
- scanForDevices should not use 'assert(!central.isScanning)' HOT 2
- A problem occurred evaluating project ':reactive_ble_mobile'. HOT 3
- ζηΌθ―ιε°δΊδΈι’ηζ₯ι
- compileSdkVersion is not specified HOT 2
- How to connect with duplicate UUID characteristics via flutter_reactive_ble? HOT 1
- iOS connectToDevice() after finding device ID fails with PlatformException HOT 1
- Intermittent Read Failure Leading to Automatic Disconnection with flutter_reactive_ble HOT 1
- The BLE app does not disconnect immediately but only after smartphone locked HOT 1
- reactive ble is not wroking scan mode in ios release mode HOT 1
- Write issue on Nordic UART BLE HOT 1
- Automatically disconnect when background service stop HOT 2
- BLE IOS Running on Background Mode is unstable HOT 1
- Example app not working HOT 1
- Add privacy manifest for Apple HOT 1
- support for Eddystone BLE protocol
- Devices not paired in Android return connected with the stream ConnectionStateUpdate HOT 1
- Android low level library crash when the BLE device disconnects unexpectedly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_reactive_ble.