Questions tagged [bleno]

26 questions
17
votes
4 answers

Raspberry BLE peripherals alternative to bleno

Until now I have developed several programs to use in my Raspberry Rpi2 and RPi3 as BLE perifpherals using bleno. Can anyone tell me if there is something alternative to Bleno, in Python or even better in C, to develop a code for a BLE peripherals…
7
votes
1 answer

Android BLE client only returns 600 byte of data in onCharacteristicRead

I've got a Bluetooth server that uses bleno and returns a list of available Wifi networks to the client. The code for readCharacteristic looks basically like this: class ReadCharacteristic extends bleno.Characteristic { constructor(uuid, name,…
3
votes
1 answer

BLE device fails to send multiple GATT notifications in a row

I'm experimenting with Bluetooth LE with GATT and I have encountered a problem I need your help with. I'm sending Data back and forth between a Client (One Android Application and one iOS Application) and a Server (Currently running Bleno). I have…
Joakim
  • 3,224
  • 3
  • 29
  • 53
2
votes
0 answers

Reading and setting LE 2M PHY on Bluetooth v5.0

Need to determine whether the central and peripheral devices (both running Bluetooth 5.0) are communicating via the faster LE 2M PHY bit rate. The command I am sending via the hcitool: sudo hcitool cmd 8 30 40 0 The response received: 01 30 20…
Alex
  • 51
  • 4
1
vote
0 answers

Bleno/Flutter - BLE communication - data transmission

Hi everyone and thank you for reading this. So I have a Bleno file that configure the bluetooth for my raspberry pi 4 and wait for connections. I also have a flutter app using the flutter_blue library for bluetooth communication. The app search for…
1
vote
1 answer

Bleno : How to send a message back to the sender?

I'm a bit new to the BLE environment, my code works just fine, buy I can't manage to get some sort of response, I'll show you the code, and I'll tell you more about my objective WriteReadCharacteristic.prototype.onWriteRequest = function(data,…
Dizio Adil
  • 53
  • 5
1
vote
1 answer

How in a bluetooth connection can the Peripheral get the Central device name

Is there any way for a Peripheral to get a Central device's name when establishing a bluetooth connection (BLE)? I'm unsure if Bleno has the tools necessary to get this.
1
vote
1 answer

Raspberry Pi 4 used as BLE central device connection issues

For a professional project, i have to use a RPI4 as a central device to connect to a particular peripheral device. For testing, I developped a program to simulate a peripheral on a RPi (thanks to bleno Node.js module) by setting a GATT server and…
1
vote
1 answer

Why must bluetoothd be stopped while using Bluetooth Low Energy?

I have implemented a BLE peripheral. The device is based on Ubuntu OS. My application runs under Node.js. It uses bleno (https://github.com/noble/bleno) to advertise its BLE service. According to the read-me file at the site, in order to offer BLE…
Peter
  • 11,260
  • 14
  • 78
  • 155
1
vote
0 answers

cannot write to a characteristic WebBLE

I have this index.html file that talks to Raspberry pi 3 running a bleno app over BLE. bluetooth