Comments (17)
any fix guys? this is an example:
from flutter_blue.
Confirming this behavior. The information is key, especially serviceData, otherwise you have to connect to devices to determine what services they support.
from flutter_blue.
Looking into this now.
Not good news, as this is working on my end (using iPhone 8 plus and nrf52 dev board with nRF Connect for Desktop).
After setting up the advertisement data in nRF Connect, I'm seeing all of the values on Dart side.
Have you confirmed this information is showing up in other Bluetooth apps (nRF Connect for iOS)?
from flutter_blue.
Paul, I’m also seeing some devices with advertisement data. Guessing it’s showing up if it’s there, but haven’t got around to changing the settings on one of my BLE devices yet to confirm.
from flutter_blue.
Hey Paul,
I am now able to confirm that there's advertising packet data that I can't get to from flutter_blue.
My BLE device is include a Service UUID in its advertising packet, which will allow my app to know that a given service is available BEFORE connecting. I'm guessing this should be coming through in ScanResult.advertisementData.serviceData ...
I can see this data coming from my device using various apps such as Nordic's nRF Connect, where it looks like this:
When I access this and various other properties of AdvertisementData for my device in flutter_blue, all are empty. When I look at the same info for "all devices in range" I see just one device out of ~20 that shows a non-empty value for serviceData. I am able to see localName for my device. (I don't see other values but those aren't being sent).
I can provide more info as needed.
from flutter_blue.
Paul, following up on this one --
from flutter_blue.
hi,
i'm trying to create an android and ios app in flutter for ble operations, i need to take all bytes of advertisement data while scanning time and i need to make a condition check based on the advertisement bytes.
i can get all byte using NRF CONNECT (advertisement packet 1 and 2 total is 62 byte data),
how to get from this?
could you please help me,..
from flutter_blue.
This error is also happening on Android. I'm using the example app to run on API 22.
I just downloaded the example and ran it.
from flutter_blue.
@jack4git Sorry for the delay. If you're still in need of a fix, please try out the latest version 0.4.0 on pub and let me know how it goes.
Thanks!
from flutter_blue.
from flutter_blue.
@ryanhanks Just confirming, is this issue fixed for you?
from flutter_blue.
Paul,
I am also facing same issue . After scan Service data is null . ( flutter_blue , Master -
Latest commit 6f6fa30 )
Device : Mi Note 4 LTE , Android version 4.4.4
Thanks,
Gaurav
from flutter_blue.
Hi, I have the same issue. using the latest build. Any updates? Samsung galaxy s with andriod 9
from flutter_blue.
Hi
I have found that the ScanResult serviceData is overwritten by the devices scan response service data if it contains values.
Ideally ScanResult AdvertisingData would return both the ScanResult and ScanResponse service data in separate Lists. I guess this depends on how the OS's handle the Scan Response data though.
I hope this helps someone
Pete
from flutter_blue.
Hi,
having the same issue but on Android. ServiceData and manufacturerData are empty for one of 3 different devices.
Using Pixel 2 with Android 10 and Flutter 1.17.1
from flutter_blue.
having the same issue but on Android 4.4.4, nRF Connect shows this data
from flutter_blue.
Anyone find anything out on thiis?
from flutter_blue.
Related Issues (20)
- MissingPluginException on device.connect() HOT 2
- upgrade your rxdart library to latest, its conflicting with other libraries because of older version HOT 1
- Gamepanel gp isn't null buy I still get a null pointer exception when I call speak()
- 🚨🚨🚨 [Public Service Announcement] flutter_blue_plus is the successor to this library 🚨🚨🚨
- Command execution not working?
- C:\Users\ABS\AppData\Local\Pub\Cache\hosted\pub.dev\flutter_blue_plus-1.15.2\android\src\main\java\com\boskokg\flutter_blue_plus\FlutterBluePlusPlugin.java uses or overrides a deprecated API.
- Help to resolve this error HOT 3
- ITMS-90863: Apple silicon Macs support issue HOT 3
- App crash when try readValue on android but on windows work fine
- 🚨🚨🚨 [Public Service Announcement] flutter_blue is deprecated❗Use flutter_blue_plus 🚨🚨🚨 HOT 1
- reading return value from
- 🚨🚨🚨 [Public Service Announcement] flutter_blue is deprecated❗Use flutter_blue_plus 🚨🚨🚨
- Could not resolve all files for configuration ':lib-transparency-api:protobufToolsLocator_protoc'. HOT 1
- 🚨🚨🚨 [Public Service Announcement] flutter_blue is deprecated❗Use flutter_blue_plus 🚨🚨🚨
- Execution failed for task ':flutter_blue:generateDebugProto'. HOT 1
- 🚨🚨🚨 [Public Service Announcement] flutter_blue is deprecated❗Use flutter_blue_plus 🚨🚨🚨
- How to connect the device that specifies the MAC address? For example, scan a QR code to get the MAC address of the device,
- 🚨🚨🚨 [Public Service Announcement] flutter_blue is deprecated❗Use flutter_blue_plus 🚨🚨🚨
- when i add package to my project flutter pub get not work
- 🚨🚨🚨 [Public Service Announcement] flutter_blue is deprecated❗Use flutter_blue_plus 🚨🚨🚨
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_blue.