All Questions
Tagged with android-bluetooth react-native
24
questions
0
votes
0
answers
61
views
@brooons/react-native-bluetooth-escpos-printer don't print ARABIC text using printText
I am using @brooons/react-native-bluetooth-escpos-printer package for thermal printing. When I pass and arabic text to printText package method, it prints it in chines character.
I tried to encode the ...
0
votes
0
answers
20
views
Send play/pause music from my android car stereo to my connected phone
I have an android car stereo which has a seperate bluetooth app which controls the audio playback from a connected device. I am building a seperate app which runs on the car stereo which should have ...
0
votes
0
answers
94
views
React Native Bluetooth Classic Reading Issue
I am attempting to read the response after sending a command to the IoT device. I have verified that the command I'm sending is correct, and the IoT device does send a response, as I've confirmed ...
0
votes
1
answer
274
views
How to add Bluetooth pairing functionality in react native app for android and iOS ? Any library or links?
I want to implement bluetooth functionality into my react native app for android and iOS which adds bluetooth paring and transfer the text files between devices.
Any library, documents or related ...
0
votes
0
answers
72
views
How to retrive data from Accu-check with React Native
I am trying to make a React Native application to read the data from Accu-Chek Guide meter but I don't have enough knowledge about BLE communications, please provide some info about this
I haven't ...
0
votes
0
answers
48
views
Im having trouble adding the bluetooth feature to my expo app, how can i fix it?
Hi guys how are you? Im trying to add communication with a esp to my expo app and i cant find the way to do it. I tried every tutorial but i cant find the way. the link to my repo: (https://github.com/...
1
vote
0
answers
266
views
TypeError: Cannot read property 'enableBluetooth' of null when using react-native-ble-manager
I am trying to use the react-native-ble-manager library to create a bluetooth app for android. However when I try to use BleManager in any way it returns a type error of "Cannot read property 'x' ...
1
vote
0
answers
561
views
Discovery devices using React Native Bluetooth Classic on Android 11 or lower
I am using React Native do develop an app which uses Bluetooth to find a device and connect to it. I found the React Native Bluetooth Classic library from Ken Davidson (https://kenjdavidson.com/react-...
0
votes
1
answer
604
views
React native: read from a smartwatch (hk85)
I'm trying to receive data from a smartwatch (HK85) in react native.
The connection and writing is working great.
But neither notify nor read is working.
And I guess that's normal since isNotifiable ...
0
votes
2
answers
380
views
(Native Module) Android scan bluetooth device return empty array
i've been stuck for a week, i want to make an app that can connect to other android device via bluetooth but cannot discover any devices as it just return empty array.
This is code that i use to ...
1
vote
1
answer
225
views
Every print starts with an exclamation point using react-native-bluetooth-escpos-printer
Every print starts with an exclamation point with react-native-bluetooth-escpos-printer
using
@brooons/react-native-bluetooth-escpos-printer": "^1.2.0"
here is an example of the print :
...
2
votes
0
answers
1k
views
React Native 0.66.5 - Need android.permission.BLUETOOTH_SCAN permission for AttributionSource (Android 12)
Our app is trying to support Android 12 and 13, however, starting the app causes a crash showed in the picture below:
The app crash message
The Android manifest includes the bluetooth_scan as shown ...
1
vote
0
answers
268
views
raspberry pi Bluetooth with react-native-bluetooth-classic getting Error:java.io.IOException:read failed, socket might closed or timeout, read ret:-1
const handleDeviceConnect = (item: BluetoothDevice) => {
item
.connect()
.then(device => {
Alert.alert(`Connected to ${item.id}`);
setDevcieConnected(item);
})
....
0
votes
1
answer
1k
views
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"...
1
vote
1
answer
1k
views
React-native-ble-plx unable to read with Android version less than 9
I am using React native version "0.63.3" and "react-native-ble-plx" version "2.0.2".
I am unable to read the characteristics in Android version less than 9.
It throws an ...