All Questions
Tagged with bluetooth-lowenergy javascript
175
questions
0
votes
0
answers
21
views
PWA uses navigator.bluetooth.requestDevice but is failing
I have developed a PWA where I use navigator.bluetooth.requestDevice to get a list of available devices around the phone. On most devices based on Android, this code works very well. But I have one ...
-1
votes
1
answer
92
views
How do I make a BLE connection to a peripheral with Kotlin Multiplatform or native Android?
Working with BLE through the Android SDK causes a lot of pain. I would like someone to help me with a good implementation of BLE connectivity. Also, it would be nice if this code was also available on ...
-2
votes
1
answer
90
views
React Native BLE Manager: Over The Air Update Write Callback Issue
I'm using the react-native-ble-manager library for Over The Air (OTA) updates. During the update, I send arrays of data to the target device using the BleManager.write command with the size of the ...
2
votes
0
answers
141
views
Web Bluetooth API cannot find my device (Google Pixel 7 phone)
I am testing web bluetooth API from chrome.
I understood that web bluetooth API support for chrome and BLE devices.
My device bluetooth version is 5.2 ,android version is 13 and I am using window 10. ...
1
vote
0
answers
60
views
Javascript web bluetooth connections not working on chromebook
Im making a website for connecting to a bluetooth cutting device.
Im using the javascript web bluetooth api code.
I have tested on windows and apple and get no issues really. I can connect, and send ...
1
vote
1
answer
177
views
Is there a way to send large chunk of data over BLE in JavaScript?
I'm trying to send an image (15000 byte) to a BLE peripheral.
After searching I only found p5.ble.js library that supports BLE in JavaScript.
function setup() {
myBLE = new p5ble();
// Create ...
0
votes
0
answers
42
views
Kalman filter with remote touchpad
I've created a simple Python HTTP + WS server for a remote touchpad control app. The server allows users to control the mouse on their PC by interacting with a <div /> acting as a touchpad on ...
0
votes
0
answers
72
views
Problem at building a ble scanner in Android Studio with cordova, using the Cordova-bluetoothle-plugin
At the moment i'm programming an application to config a gateway-device.
For this, i use android studio with cordova and the cordova-bluetoothle-plugin for JavaScript.
At first i would like to build a ...
0
votes
0
answers
38
views
WebBluetooth GATT, filter by custom service UUID
I'm unable to filter by Service UUID using the bluetooth.requestDevice Web Bluetooth Gatt API
My device named MyDevice1 with the service UUID: "607cdd4f-32aa-47da-8209-18f12012e3a4" which ...
0
votes
0
answers
65
views
ERROR appears while executing bluetooth.write() (bluetooth class are undefined )
here is the code. what I am doing here is when ble device notifies the phone, the phone sends back some data to the ble device.
here is the connection code:
await this.bluetooth.connect({
...
3
votes
0
answers
100
views
Troubleshooting LIBUSB_ERROR_ACCESS Issue on Windows
I am trying to run a GitHub repo that simulates the bike riding data via Bluetooth Low Energy. I am facing LIBUSB_ERROR_ACCESS whenever I try to run it on a Windows machine.
Below is the full stack ...
1
vote
0
answers
353
views
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 ...
0
votes
0
answers
87
views
Get bluetooth public MAC address from capacitor app
I have capacitor app that needs to access Androids bluetooth Mac address for calculating command signature.
Im not sure if this is possible.
I tried Device.getId() but identifier is different than mac ...
0
votes
0
answers
305
views
Problem with react-native-ble-plx library when receiving data
I have a problem with my react native app when receiving data, since I cannot see the complete message that is sent to me, I can only see a part of the message, this is not a problem of where the ...
1
vote
0
answers
381
views
Tips for using react-native-ble-manager to retrieve fitness data from a smartwatch
How can I retrieve calories, heart rate, and other fitness detail data from my connected smartwatch using react-native-ble-manager in a React Native application?
I am developing a fitness tracking ...