Questions tagged [react-native-ble-plx]

106 questions
1
vote
0 answers

React Native CLI - How to debug Redux on the device?

I am building a Bluetooth app (using react-native-ble-plx and Redux). When the app is running in the simulator, I can debug the Redux state with React Native Debugger. But Bluetooth is not available in the simulator, so I have to build the app every…
1
vote
0 answers

React-native-ble-plx: Is it possible for configuring indicate as a standard protocol instead of notify?

I have integrated the library(react-native-ble-plx) in my app(central device) and my peripheral device supports indication. However, whenever I send a command the first time, the react native ble plx seems to be disabling indication and all the…
Suvab
  • 43
  • 5
1
vote
0 answers

How to handle the react native ble plx [BleError: Operation was rejected]?

I have problem with react native ble plx. I try to print the image screenshot from component using react native viewshot and then i convert those file to string base64 after that i try to print to my bluetooth third party devices. but it doesnt…
barungerti441
  • 113
  • 1
  • 2
  • 5
1
vote
0 answers

Is it possible to detect/scan for Samsung Galaxy Watch using BLE in react native?

I'm working with this library in achieving two features in my react native app for iOS and Andriod Feature I was trying to find/scan Samsung Galaxy Watch and Apple Watch using react-native-ble-plx library in react native. I was able to detect other…
1
vote
2 answers

Could not resolve com.github.Polidea:MultiPlatformBleAdapter:0.1.7

How to fix this problem after install react-native-ble-plx.Is there any solution for direct react native installation instead of bridging native modules?
Majid Aziz
  • 64
  • 10
1
vote
1 answer

Create Bond Using React-native-ble-plx

calling monitorCharacteristicForService disconnect BLE Device in Android with below error {"message":"Device xx:xx:xx:xx was disconnected","errorCode":201,"attErrorCode":19,"iosErrorCode":null,"androidErrorCode":null,"reason":"Disconnected from…
Jatin Garg
  • 306
  • 1
  • 2
  • 16
1
vote
1 answer

Using react-native-ble-plx to send data to a raspberry pi RFCOMM server

My goal is to setup my Raspberry Pi 4 to be able to run scripts when a button is clicked in an app I am making with React Native. I need to be able to do it so that they can connect without wifi, which is why I have decided to use Bluetooth. So far…
1
vote
0 answers

Receive data sent by the react-native application ble

a have react-native app and arduino nano with ble module mlt-bt05. I trying send info from app to arduino with react-native-ble-plx lbrary, but serial monitor displays nothing. Here is my react-native code const msg = base64.encode(message); let…
1
vote
1 answer

How to decode response from Glucose Measurement Characteristic (Bluetooth)

I have an react-native application and im trying to get Glucose Measurements from Accu-Chek Guide device. I have limited knowledge on BLE and this stackoverflow question helped me a lot to understand bluetooth and retrieving glucose…
sopuz
  • 85
  • 6
1
vote
1 answer

Unpivoting multiple columns using Google SQL or BIGQUERY

I have been tring to unpivot a table from google sheets table like the one below into (EAV) or Date, ldap, Shift: Date Ldap1 Ldap2 Ldap3

2020-04-01 Shift A Shift B Shift C

2020-04-02 Shift A Shift B…
1
vote
0 answers

Large file sending by using react-native-ble-plx

I'm trying to write in a characteristic that sends a binary file as the value, this value is large, it's 19215 bytes which is not a problem because i negociated the mtu using : device.connect({ requestMTU: 260 }) i've divided the file…
1
vote
0 answers

Error to get All services and cheracteristcs from ble device using Polidea/react-native-ble-plx

Hi I am trying to connect a bluetooth device using the Polidea/react-native-ble-plx library. First I do the scan and it works fine: scanAndConnect() { console.log('scanAndConnect'); this.manager.startDeviceScan(null, null, (error, device) =>…
1
vote
1 answer

Couldn't read accelerometer and gyro from sensortag using react-native

I have been working on react-native-ble-plx with sensortag cc2650stk and having issues fetching accelerometer and gyro data. Error: Characteristic "f000aa82-0451-4000-b000-000000000000" write failed for device xxxxxx and service…
0
votes
0 answers

keep iOS app work properly in background to get data continuously from ble device

I've developed an iOS app using React Native that needs to establish a Bluetooth Low Energy (BLE) connection with a device and continuously retrieve ECG data from it. My goal is to ensure that this connection and data retrieval continue to function…
0
votes
0 answers

React Native ble-plx writing and reading/monitoring characteristics of OBDII Adapter

I am building a React Native Expo App with EAS for visualising OBD2 Data. For this purpose im using an ELM327 OBDII Adapter with Buetooth Low Energy and the react-native-ble-plx library to connect to it. I am able to connect to the Adapter, but i…