Code Monkey home page Code Monkey logo

flutter_scan_bluetooth's People

Contributors

freezy avatar jaumard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

flutter_scan_bluetooth's Issues

Get devices RSSI(dmp) values

This is has been a very plugin that tends to support bluetooth scanning more the the popular flutter_blue library, however the only or part of the defects its having is that it is not giving the devices RSSI (dmp) values, developer needs this a lot to know the strength of the bluetooths available. Please will be happy if you can add this feature as soon as possible, this will give this library a high choice of preference.

Thank you.

Flutter Scan Bluetooth returning paired devices not the connected devices

I have a requirement where i need to identify the remote connected device, if any. As of now, with this package am only getting paired devices name and address.
I cloned this package into my visual studio code and tried to get the connected devices in Android by modifying the FlutterScanBluetoothPlugin.kt.

I added these lines in my code to get the connected devices, but somehow its not working.

`private var bluetoothManager: BluetoothManager? = (activity.getSystemService(Context.BLUETOOTH_SERVICE) as BluetoothManager)

private var adapter: BluetoothAdapter? = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) {
this.bluetoothManager?.adapter
} else {
BluetoothAdapter.getDefaultAdapter()
}

var isConnected = this.bluetoothManager?.getConnectionState(device, BluetoothProfile.GATT)
println("device isConnected : " + isConnected)`

Please let me know if this is correct or not.

More data?

i wanna more data, except name, address etc. is it possible?

Android Gradle issue

The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
The following dependencies do not satisfy the required version:
project ':flutter_scan_bluetooth' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.41

some issues with Android Gradle plugin. How do you fix this?

Build failed

I keep having this issue. Tried everything yet to no avail. It's keep saying attribute android:usesPermissionFlags not found even when I added the flag
16441943338482973763333091193288

16441944270055540482628228225960

16441944867034915475265466252876

I tried changing my targetSdk and compliedSdk version to 31 still didn't work.

Pls what I'm I doing wrongly?

Help for IOS

is possible to scan & Connect to Bluetooth common devices,
like Bluetooth headphones or Bluetooth handsfree like android support. with this plugin.

Discharge the battery

When the search starts, the GPS activates the device. And the device charge is gradually discharged.

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.