-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can you provide a sample app with only FlutterBleLib plugin? #443
Comments
Hi! Creating a new simplified sample app will take time. For the time being, you can start with just two files: Scanning for peripherals: Most of operations on a connected peripheral |
Still, if it is not difficult, I would like to see a simple example of using the library. |
See link below simple example, assumed you know device name, service and char uuid, use nrf connect to find out. It just writes to the device. |
@sonnny link http://sayaw.net/flutter/another_ble.html is broken |
@JasonEdinburgh good link http://orasna.com/flutter/another_ble.html This is a basic example. |
Thank you @sonnny But I need something that shows how to catch the exceptions that are thrown when calling peripheral.connect etc. My current code does this to initiate a connection and send/receive via characteristics (nordic uart service), but I occasionally get unhandled exceptions. I am not sure yet if they originate in other threads/isolates. ` try {
} catch (ex, st) { |
Is there any progress on this issue? |
Hi, i am new to Flutter and Dart. I find it difficult to understand the usage of FlutterBleLib using the sample app.
There is lots of code about
Bloc
andrxDart
which is difficult to read. Can you provide a sample app without design patten or unrelated plugins?The text was updated successfully, but these errors were encountered: