Answer the question
In order to leave comments, you need to log in
How to read characteristics using bluetoothctl?
Good evening,
For the sake of interest, I decided to play around with at least one of my home devices that have BLE on board, but I ran into a problem, namely that I don’t understand where exactly the services found should be displayed and how can I interact with them?
An example of working with bluetoothclt:
bluetoothctl // запускаю утилиту
scan on // сканирую эфир
scan off // останавливаю сканирование
devices // отображаю найденные устройства
Device 4A:6A:BA:8A:0A:00 TV
connect 4A:6A:BA:8A:0A:00 // подключаюсь
[EDENWOOD TV]# info 4A:6A:BA:8A:0A:00 // получаю информацию о данном устройстве
Device 48:6D:BB:87:0C:42 (public)
Name: TV
Alias: TV
Class: 0x0008043c
Icon: audio-card
Paired: yes
Trusted: yes
Blocked: no
Connected: yes
LegacyPairing: no
UUID: OBEX Object Push (00001105-0000-1000-8000-00805f9b34fb)
UUID: Audio Source (0000110a-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink (0000110b-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)
UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
Modalias: bluetooth:v000Fp0000d0000
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question