kiwi-bop / flutter_scan_bluetooth Goto Github PK
View Code? Open in Web Editor NEW:package: Flutter plugin to scan Bluetooth devices
Home Page: https://pub.dev/packages/flutter_scan_bluetooth
License: Other
:package: Flutter plugin to scan Bluetooth devices
Home Page: https://pub.dev/packages/flutter_scan_bluetooth
License: Other
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.
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.
i wanna more data, except name, address etc. is it possible?
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?
is possible to scan & Connect to Bluetooth common devices,
like Bluetooth headphones or Bluetooth handsfree like android support. with this plugin.
When the search starts, the GPS activates the device. And the device charge is gradually discharged.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.