Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [bluetooth-lowenergy]

Bluetooth Low Energy ("BLE") is a new radio standard, introduced in 2006. Bluetooth Low Energy is also known as Bluetooth Smart and is a subset of Bluetooth v4.0.

0
votes
0answers
4 views

Read Data Structure value binded to Bluetooth LE Descriptor in Android

I am writing an android app which reads the data sent from an arm processor over BLE (with characteristics and descriptors). in the hardware part I am using the function below : tBleStatus ...
0
votes
0answers
20 views

BLE Swift code is scanning but not finding BLE devices

In Swift, and Xcode 9, I am trying to scan for and connect to all BLE devices. This code should print out "no name" for all BLE devices found. Scanning is working, but my BLE devices are not being ...
0
votes
0answers
18 views

BLE connected with Lollipop but not connected with Nougat

I'm new in android develop and I'm developing an app that transmit/receive data to a BLE module via Uart service. With smartphone android 5.x.x the app works fine, it connects with the hardware and ...
-1
votes
0answers
7 views

Easily Reprogrammed BLE SOC?

In my quest to create a simple BLE sensor, I have discovered that most BLE modules actually include a full SOC onboard that has all the features I would require already present, rather than needing to ...
0
votes
0answers
5 views

Advertisement data processing,manipulation inside the callback method and publising it to the mqtt broker?

I am currently working on a android project in which i have read advertisement data from ble devices and process it manipulate it also but after manipulation i got a customized string(in my own format)...
0
votes
0answers
7 views

Bluetooth LE file transmit to Android/Windows - GATT service

Hi guys, I am using Nina-B1 modules for develop Bluetooth LE (v. 4.0 and later) connection between smartphone/computer and my device with MCU. I want to use send/receive file function which is ...
0
votes
0answers
20 views

BLE-device stops connecting with Android after working flawlessly for weeks

I have a device with Blue Gecko BLE and everything seems to be working fine with various Android phones and tablets: connecting, data transfer and reconnect after disconnection. Note: we do not pair ...
0
votes
0answers
23 views

iOS - Detecting bluetooth connection on background mode

What I need to implement The app always have to detect connections of bluetooth peripheral devices even if the app is on the background mode. And if the specific device connection is detected, the ...
0
votes
0answers
2 views

lifecycle of cbcharacteristic.value

Im wondering if the value gets immedeatly updated, or at the call of the peripherals delegate method So if im calling the method peripheral.readValue(for:CBCharacteristic) Can i immedeatly access ...
0
votes
0answers
7 views

How to shorten Firebase push id? Not using hashid

I have an ionic app that uses a firebase push id as its device name. Unfortunately, when I start advertising using BLE, it would say that the data was too large. advertise_failed_data_too_large How ...
0
votes
0answers
17 views

Cordova BLE android app connecting to ESP32 but NOT sending data

I am having an issue for several hours now. I had a working app, it was connecting, sending and receiving data to/from an ESP32. (When I revert to the old app it works again...) I have refactored the ...
0
votes
0answers
10 views

Android readRemoteRssi broken randomly

I have an application that maintain a permanent connection with a BLE device. I am using RxAndroidBle to facilitate the BLE part. I have to inform the BLE device of my proximity with it, so i have to ...
0
votes
0answers
20 views

Android: How to let the screen go to standby and keep BLE notifications being received

I'm deploying a Qt application on Android. It connects a BLE device, receives and log notifications. When the Android device goes to standby, my app stops receiving BLE notifications (I'm not ...
0
votes
2answers
36 views

Android BLE device discover, connect & disconnect

Basically, I am an iOS developer. I have a requirement to scan, connect & disconnect BLE devices. Everything works fine in iOS. Then I tried the following code to scan in Android. None of the ...
0
votes
1answer
28 views

Get all packet(uint) from byte array

I am working on one BLE project I am getting following data(In Byte array while scanning BLE device) as an advertising data 0x02011A09094F6E65506C757332020AF9 you can see in the screenshot there is ...
0
votes
0answers
12 views

Can't get two SPI devices (with their libraries) to work on my Andruino Mega

I've three SPI devices on my Arduino Mega 2560. An Adafruit nRF8001 bluetooth module, an Arducam mini 2MP and a tft display, all three devices communicate over SPI and have their own CS (cable select ...
0
votes
2answers
22 views

I want to know why it takes time between discoverServices() and onGetService().

I developed an app that uses ble. I was using Eclipse as a development tool. My "app that uses ble" is installed on my smartphone. And I connected my smartphone and pc to usb. Then on my smartphone, ...
0
votes
0answers
16 views

How to send data to BLE through a function and read the response in same function in swift

I am able to send data to BLE through a function and I am also receiving the data from BLE but I was able to see the Rx after the loop got finished. Didupdatevalueforcharacteristics is getting called ...
0
votes
0answers
3 views

Bluetooth scan for peripheral scanForPeripheralsWithServices

I have a question that I got by reading Apple's documentation. When it comes to CBCentralManagerScanOptionSolicitedServiceUUIDsKey Apple's documentation states: Specifying this scan option causes the ...
0
votes
0answers
9 views

Are multiple connections of peripherals to central using cordova-plugin-bluetoothle, supported?

I have successfully tried both central and peripheral modes on 3 devices and connected them. Now I'm thinking of connecting two peripherals(for now) to a central device using the cordova plugin made ...
2
votes
1answer
22 views

I want to know when and where onClientConnParamsChanged() appears in the log

I developed an app that uses ble. I was using Eclipse as a development tool. My "app that uses ble" is installed on my smartphone. And I connected my smartphone and pc to usb. Then on my smartphone, ...
1
vote
1answer
39 views

How to get proper(decode) manufacturer advertisement data from ble devices?

i am new to android so,basically i am developing an app which get's the data from ble devices to do further operations over it. What i have done until now :- i scanned the devices got their rssi and ...
0
votes
0answers
12 views

How to publish Generic Access service on Raspberry Pi as peripheral?

I am in the process to mimic a real-world BLE device on a Pi Zero. I installed all needed packages and updated Bluez to version 5.50. Starting off from the python advertising sample and service ...
0
votes
0answers
25 views

How to send Hex string as a unsigned byte[] to BLE characteristic?

byte bytes[] = {0x04,0x08,0x0F,0x66,(byte)0x99,0x41,0x52,0x43,0x55,(byte)0xAA}; ch.setValue(bytes); If I log the output of this array I get (note the negative values): [4, 8, 15, 102, -103, 65, 82, ...
0
votes
0answers
30 views
+50

How to improve performance of CBCentralManager while CBPeripheralManager is active

We've created an iOS app that implements a CBCentralManager to connect to a device that we've created, that transmits data at 10Hz. It's vitally important that this data comes through and displays ...
1
vote
1answer
27 views

Send/Receive Data using Gatttool (Bluetooth Low energy)

I am connected from Linux to microcontroller which have Bluetooth Low Energy(BLE 4.2). Currently I can connect via gatttool (-I) and bluetoothctl,but I can't send/receive data. I have found that its ...
-1
votes
1answer
27 views

Communicating with different services at the same time

I'm currently developing an android app to control Arduino. BLE delivers a few services. First service has characteristic to WRITE and rest of services has characteristics to READ. I must WRITE data ...
-1
votes
0answers
11 views

BLE running client and server at the same time

I'm facing problem while connecting two ble devices with BLUEZ, i found a problem that after connection happening (using gatttool) both sides asking primary services (discovery) and immediately both ...
0
votes
0answers
16 views

Bluez GATT profile client and server at same time

Does this possible to run server and client at same time ? I am getting dificulty in making GATT based server and client to run with another non-bluez device which has both capabilities running as ...
1
vote
1answer
27 views

raspberry pi hcitool set ad packets import from csv file

There is a well known blog post going around on how to set a usb bluetooth 4 dongle to be an iBeacon. It boils down to this magical command: sudo hcitool -i hci0 cmd 0x08 0x0008 1e 02 01 1a 1a ff 4c ...
1
vote
1answer
22 views

Bluetooth connection is hanged on first Bluetooth dongle (Android App)

I have a problem while working with multiple devices connected via BT LE (Bluetooth low energy). Work flow is as below: Step of processing: 1. Scan all bluetooth devices to get address. ...
-5
votes
0answers
21 views

Need to stability for WIFI and BLE on ESP32 [closed]

Currently we are working on a project which includes both BLE and WIFI.., exact operation is like BLE should receive packets continuously and sent it to cloud by using WIFI simultaneously, is this ...
-2
votes
1answer
35 views

Linux: receive data from Bluetooth LE

I want send/receive data to microcontroller using Bluetooth LE. I have been trying to use socket using BTPROTO_HCI protocol sock = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI) addr.hci_family = ...
0
votes
0answers
9 views

ChromeOS / Chromebook exception when connecting to BLE devices (getCharacteristic)

In a small team we're developing an application that is deployed to both Android (Tablets) and ChromeOS devices. For this, we have a couple build targets such as Pixel C's, Galaxy Tabs, an Asus C302 ...
1
vote
0answers
9 views

Trouble connecting to blue-tooth devices using node noble on Windows

I am using noble module to connect to BT devices, my code works absolutely fine on mac and I am facing some issues on windows. I can scan for the devices, but the state is always powered off, but the ...
1
vote
1answer
13 views

How to segregate and display the data

I am actually working on Android Studio( developing an app) wherein I use bluetooth to receive some data from the bluetooth module, this data is stored in a ListAdapter and displayed in my mobile when ...
1
vote
0answers
11 views

gatt connection primary discoery: request not supported error

I am trying to communicated between two devices with low energy bluetooth support with gatt profile. I am using gatttool to connect. I observed (with btmon) that while connecting both device request ...
0
votes
1answer
38 views

Can I send data to ble 4.2 or ble 5 module after pairing same as bluetooth classic and without using GATT connection

My endpoint device is a BLE 4.0 or BLE 4.2 or BLE 5 module Android recommends to use the GATT connection to send data to BLE devices as according to this link: https://developer.android.com/guide/...
0
votes
0answers
17 views

Evidence of a flaky BLE peripheral?

I suspect my Bluetooth blood pressure monitor is misbehaving. While it's pumping up the cuff, it transmits the current pressure (via a notification) 4X/second. It often randomly disconnects while ...
1
vote
0answers
26 views

How to create TCP proxy for SSL stream

There's a transparent BLE to IP communication established between mobile (Xamarin) and BLE device. The high-level diagram is the following: Mobile TCP/IP socket <---> BLE Central <---> ...
0
votes
1answer
29 views

How do I set services and characteristics for HM-10 BLE on Arduino Uno?

I have an Arduino Uno connected to an HM-10 BLE device. I want to be able to communicate with this through a Xamarin forms application. Unfortunately, I realized that in order to do so, it is ...
1
vote
1answer
24 views

Can I auto pairing and connect 2 BLE devices?

If I develop 2 BLE devices(not phone, not android), can I program them to auto pairing and connect? Let's say, BLE A advertise BLE B, B authenticate A, B request connect to A, A and B connected, B is ...
0
votes
0answers
24 views

Why would I use a non-default queue in CBPeripheralManager: initWithDelegate

Fairly self-explanatory, I guess, and I don't think there's a duplicate. Here's the init function: apple dev doc. Pretty much every example of usage of this code sends nil into here, using the ...
0
votes
0answers
17 views

How to prioritize BLE operations/roles in an iOS app?

So this is a weird one, but we have written a monitoring iOS app that does two things: (1) acts as a BLE central that acquires data from a device, and (2) acts as a BLE peripheral that transmits data ...
0
votes
1answer
28 views

Polidea RxAndroidBle Enable notification

I badly need this to proceed further in my application. I'm very much familiar with Android BLE and using for years. I have the below code to enable notification and it is working for years with my ...
0
votes
0answers
27 views

What is the purpose of service and characteristics when using BLE 4.0?

I'm currently developing a simple application which should be capable of turning on/off an LED on my Arduino. Basically, I need to send a command from my phone when the LED on my Arduino should be ...
1
vote
0answers
40 views

cordova-plugin-bluetoothle initialize method not working in ionic

For some reason, initialize method does not work constructor( public navCtrl: NavController, public platform: Platform, private toastCtrl: ToastController ) { platform.ready()....
-1
votes
0answers
22 views

BLE Communication

I'm new android developer and especially I don't know a lot about Bluetooth communication, so please be patient. I have blood pressure device - Media Tech BT MT5515. I didn't get data (Services) from ...
0
votes
0answers
16 views

Possible to connect to multiple ble devices at same time in react native

I am trying to connect 2 ble devices in react native. I have tried it with react-native-ble-manager and react-native-ble-plx modules. Both work fine when connected to one device only, but don't work ...
0
votes
0answers
18 views

cordova-plugin-ble-peripheral not creating a service on ionic

A bit of an introduction here. I've tried the ionic native BLE, it worked and was able to scan my devices. So after that, I tried to create its counterpart, the peripheral. But once I run the method ...