Questions tagged [react-native-ble-plx]
106 questions
0
votes
1 answer
Error when using write() with "react-native-ble-manager" library with status=3
So, I'm trying to send data to BLE device.
My phone and BLE device are already connected.
My function:
const sendCom = async () => {
const data = utf8Encode('1') // convert data to bytes
const service = 'fff0'
const characteristic =…

Grayza
- 53
- 10
0
votes
0 answers
How to maintain a BLE device list while Scanning with react-native-ble-plx?
I'm trying to only print a list of bluetooth devices with their RSSI level.
But if I use some React setState() function inside the listener of the react-native-ble-plx startDeviceScan() I'm facing a warning Excessive number of pending callbacks 501…

Seba99
- 1,197
- 14
- 38
0
votes
0 answers
How can i implement bluetooth functionality on a react native app using expo
I have built my react native project using expo and expo go to run it. I now need Bluetooth functionality to scan and take data from a Bluetooth device (to create graphs). Am I able to keep using expo for this or will I have to change to react…
0
votes
1 answer
How can I add more android compatibility to my react native bluetooth app?
I am working on a react native app that uses the react-native-ble-plx package to scan for bluetooth devices. I have run into an issue where the bluetooth functionality will only work on certain android devices.
There seems to be a trend where the…

jdm
- 1
0
votes
1 answer
BleManager.Write not returning anything (React-Native)
Hello I'm trying to communicate between my bluetooth sensor and my phone using BLE Manager.XX
I'm trying to create a React-Native app.XX
........I can find & connect to my Bluetooth sensor.XX
........I can send data.XX
........I can recieve…

flyingOrangutan
- 1
- 1
0
votes
1 answer
React-Native BleManager.Write doesn't return anything
Hello I'm trying to communicate between my bluetooth sensor and my phone using BLE Manager.
I'm trying to create a React-Native app.
I can find & connect to my Bluetooth sensor.
I can send data.
I can recieve data
I can't collect the sensor…

HUV
- 59
- 7
0
votes
1 answer
Excessive number of pending callbacks: 501 (React-Native)
I am using react-native-ble-plx library to connect to Xsens DOT sensors. The sensors transmit data at different data output rates (4Hz, 10Hz,20Hz,60Hz[default]) over Bluetooth.
When I set the Data output rate below 20Hz the application runs fine but…

aditya ghumatkar
- 1
- 2
0
votes
0 answers
Unable to interpret decoded Base64 value
I am getting a Base64 value when I implement the monitor function from the react-native-ble-plx library.
Base64 value : E06YXDQdOj+RrhQ9aJk3Pd4nL78V3A67/CqlO4BcED4AAAAAAAAAAA==
When I decode this value on any online platform I get the following…

aditya ghumatkar
- 1
- 2
0
votes
1 answer
React-Native-BLE-plx : how to get all scanned device list of advertising ble devices using ble-plx or BLE-Manager
im making a ble devices scanning app and im facing 2 different problems with these two libraries.
using ble-plx: it is only returning a single device object after scanning not a list of device.
.
with ble-plx i tried this…

Khizer Hayat
- 1
- 1
0
votes
1 answer
get weight from GATT characteristics value in react-native-ble-plx
I am developing an react-native app that gets the weight value of a scale(MI SCALE2) that supports Bluetooth.(I have no knowledge of bluetooth.)
// version
"react-native": "0.66.1",
"react-native-ble-plx":…

Miguel
- 377
- 1
- 17
0
votes
0 answers
How to interpret BLE battery level response
I am using react-native-ble-plx library to fetch battery level from the device but I am unable to interpret the data fetched.
I am getting "MA==" as value after reading characteristic:

Piyush Jamwal
- 59
- 2
0
votes
3 answers
how to know device's service uuid and characteristic uuid when connecting to bluetooth
I am developing a react native app that connect health device via bluetooth using the library
https://github.com/dotintent/react-native-ble-plx
but after connecting I try to get service by calling device.service() but then there are an error saying…

Rebirth Bloods
- 95
- 1
- 9
0
votes
0 answers
BLE scan failed for BLE version 4.2 device in react-native-ble-plx
I am developing the smart home app using react native platform. In that, I want to configure my IoT device from a mobile app over Bluetooth.
My device Bluetooth specification is,
BLE;v4.2 BR/EDR
I am using
react-native-ble-plx
library in react…

Hemant
- 57
- 2
- 8
0
votes
0 answers
how to get bluetooth connected device data in read,write,notify methods using react-native-ble-plx or ble-manager
const monitorchars = DeviceManager.monitorCharacteristicForDevice(
device.id,
"00001800-0000-1000-8000-00805f9b34fb",
"00002a01-0000-1000-8000-00805f9b34fb",
function (err, result) {
if(err) {
console.log(err)
…

Yaswanth
- 1
- 3
0
votes
0 answers
how can we get the device data when it is connected through the bluetooth
import React, {Component} from 'react';
import {
Animated,
Dimensions,
Image,
StyleSheet,
Text,
FlatList,
TouchableOpacity,
PermissionsAndroid,
TouchableHighlight,
View,
} from 'react-native';
import base64…

Bommana Keerthi
- 1
- 1