Thread (3 messages) read the whole thread 3 messages, 2 authors, 2017-10-19

BlueZ Peripheral: Detect Connection from Remote Device and Read RSSI

From: Matthew Hazley <hidden>
Date: 2017-10-18 15:00:34

Hi everyone,

I have a simple, BLE peripheral using BlueZ 5.47, its written in Python.

My question is this - when using BlueZ and operating as a peripheral,
is there a way to detect that a central has connected to me? Is there
a way to read the RSSI of the connection between us?

Regarding the RSSI, I did try executing the following:

"hcitool rssi <central-bdaddr>"

when I knew the central was connected to me but this failed and
replied "Get connection info failed: No such file or directory."

Any help appreciated.

Regards,
Matt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help