GithubHelp home page GithubHelp logo

itavero / flutter-ble-uart Goto Github PK

View Code? Open in Web Editor NEW
21.0 7.0 8.0 7 KB

Package to integrate UART over Bluetooth Low Energy into your Flutter app

License: MIT License

Dart 100.00%
flutter flutter-plugin flutter-plugins bluetooth-le uart bluefruit nordic

flutter-ble-uart's Introduction

flutter_ble_uart

Package to easily integrate UART over Bluetooth Low Energy into your Flutter app.

For more information about the UART Service and compatible devices, I recommend visiting the Adafruit website.

Getting Started

For help getting started with Flutter, view our online documentation. For help on editing package code, view the documentation.

Since this package is not yet published anywhere (other than GitHub), you can add it to your pubspec.yaml like this:

dependencies:
  flutter_ble_uart:
      git: [email protected]:itavero/flutter-ble-uart.git

TODO: Write a tutorial and/or example app.

Current state

This is still very much a work in progress. It is definitely not production ready.

It works.. most of the time.. if you are lucky. ๐Ÿ˜…

flutter-ble-uart's People

Contributors

itavero avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

flutter-ble-uart's Issues

Tutorial/Example

Hi Arno,

Gentile reminder regarding a tutorial and/or example app.

Version solving failed

Because my_app depends on flutter_ble_uart from git which depends on flutter_blue ^0.4.0, flutter_blue ^0.4.0 is required. So, because my_app depends on flutter_blue ^0.6.0+1, version solving failed.

Not detecting disconnect with `_updateConnectionState`

On iOS, initiating a disconnect on the Arduino device does generate an iOS didDisconnectPeripheral event, but the flutter-ble-uart serial.onStateChange.listen(_updateConnectionState) listener doesn't see it. Thus _updateConnectionState isn't called and the Flutter app thinks it's still connected.

Create example app

As mentioned in #1, there is a need for an example app.

The example probably only needs two screens:

  1. Scan: discover compatible BLE devices.
  2. Terminal: exchange message with a compatible device.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.