Questions tagged [gatttool]

36 questions
0
votes
2 answers

How to find handles corresponding to different UUIDs of BLE devices

Using gattool, I am able to find the UUIDs correspoing to the handles of my smartwatch as follows: Device: MAC address Name: MS1020 Alias: MS1020 Paired: yes Trusted: yes Blocked: no Connected: no LegacyPairing: no UUID: Generic Access Profile …
user3236841
  • 1,088
  • 1
  • 15
  • 39
0
votes
1 answer

gatttool and bluepy disconnections, no issues in bluetoothctl

Currently using on OH1 Heart rate sensor (tiny.cc/mom03y) I'm looking to subscribe to HR notification using bluepy. I have got the notifications working but the OH1 device disconnects after about 20-30secs in both bluepy and gatttool (remote user…
codem
  • 283
  • 1
  • 2
  • 9
0
votes
1 answer

BLE gatttool reading serial data from bluno?

I am trying to send data over BLE from Bluno to a Raspberry Pi (Raspian), bluez 5.50. Whilst the connection seems to be fine. I am struck in a point where am unable to retrieve serial data from notification handle. Below is what I…
Maddy
  • 125
  • 2
  • 8
0
votes
0 answers

Data notification from gatttool stop

I have a BLE device which has a "audio service". I want get audio data. I use gatttool to communicate with my device. To do this, I can enable notification. Then, when microphone is 'on', I receive data but it's stop suddenly. $ sudo gatttool -b…
helene
  • 1,201
  • 2
  • 18
  • 30
0
votes
0 answers

Gatttool in non interactive mode

im trying to use gatttool to connect and set value on a Bluetooth le device. I need this on non-interactive mode, but can only get the interactive mode working: pi@raspberrypi:~/x$ sudo gatttool -I [ ][LE]> connect…
-1
votes
1 answer

how to stop printing result again and again. So how to stop getting value again and again

import gatt class AnyDeviceManager(gatt.Device): def device_discovered(self,device): print("Discovered [%s] %s" % (device.mac_address,device.alias())) manager =…
1 2
3