cordova-plugin-ble-central
react-native-ble-manager
cordova-plugin-ble-central | react-native-ble-manager | |
---|---|---|
3 | 7 | |
940 | 2,018 | |
- | 1.4% | |
6.5 | 9.1 | |
about 2 months ago | 9 days ago | |
Java | Java | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cordova-plugin-ble-central
-
Bluetooth A-RGB led controller
And on the Cordova side, this one: https://github.com/don/cordova-plugin-ble-central
-
Bluetooth or WiFi for apps?
On the mobile app side, I've created several BLE apps using Cordova (mentioned before) using this repo for connecting to BLE devices: https://github.com/don/cordova-plugin-ble-central
- BLE: Sending Current Time Service from Central (GATT Server) to peripheral (Client)
react-native-ble-manager
-
Comparing React Native BLE libraries
If react-native-ble-plx seems too advanced, react-native-ble-manager offers another excellent choice. This tool supports all primary BLE capabilities like scanning for devices, establishing connections, transferring data, getting notifications on status changes, and disconnecting. It provides a simple way to get basic BLE functionality working quickly in React Native apps.
-
Integrating Scanners trough Bluetooth - HID or BLE?
The idea is to read the input from those devices. Tried to use react-native-ble-plx and react-native-ble-manager I was able to find and use the EY-016 model, but could not find the EY-017 model. Was thinking about using classic mode, but then I've read about it needs MFI compliance on IOS, which those does not have. But it would be a better solution with classic, as those devices comes as HDI mode as default, so the customer would not need to do extra stuff to get going. And also if I needed to make integration with another device that didn't have BLE.
-
Should I use React Native?
I believe React Native can definitely handle those requirements, but it would depend on the complexity... What kind of BLE devices? I've used this react-native-ble-manager library and it was pretty straightforward to scan and connect. For notifications, I definitely recommend Notifee or maybe you can leverage Firebase for database, sync, and push notifications.
-
React-Native Bluetooth connection
What kinds of Bluetooth devices and what are you trying to do? I have also been using react-native-ble-manager and it works well for my purposes. There is an example project in that repo.
-
Can someone please walk me through how to connect to a BLE device
Use react-native-ble-plx or react-native-ble-manager
-
react native and arduino
I use blemanager and that works pretty good. Bluetooth is tedious though, you have to follow the docs very precise
-
Bluetooth BLE
I've checked https://github.com/innoveit/react-native-ble-manager which does multiple read requests (and multiple notifications) out of the box, but not as one write request. In the second library https://github.com/dotintent/react-native-ble-plx you have to make the chunks manually, but you can't do a "prepare write request".
What are some alternatives?
bluetooth-le - Capacitor plugin for Bluetooth Low Energy
react-native-ble-plx - React Native BLE library
cordova-plugin-bluetoothle - Bluetooth Low Energy Phonegap Plugin
johnny-five - JavaScript Robotics and IoT programming framework, developed at Bocoup.
cordova-plugin-local-notifications - Cordova Local-Notification Plugin
react-native-background-actions - React Native background service library for running background tasks forever in Android & iOS.
itag - iTag tracker manager for real people
cordova-plugin-ble-peripheral - Apache Cordova plugin for implementing BLE (Bluetooth Low Energy) peripherals.
react-native-restart - React Native Package With One Purpose: To Restart Your React Native Project
OpenTracks - OpenTracks is a sport tracking application that completely respects your privacy.
react-hardware - A React renderer for Hardware.