BLE is basically designed to work that way, so it’s very easy.
On Linux you can start a bluetooth device scan (using “scan on” in bluetoothcl), and all of the nearby devices will show up as DBus objects under “org.bluez”.
You can manipulate them and read their properties/attributes with any DBus interface.
On Linux you can start a bluetooth device scan (using “scan on” in bluetoothcl), and all of the nearby devices will show up as DBus objects under “org.bluez”.
You can manipulate them and read their properties/attributes with any DBus interface.
Could probably be a shell one liner.