Skip to content

Instantly share code, notes, and snippets.

@Langerz82
Last active June 2, 2023 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Langerz82/3751f04afab4b90e130b74ab9774109a to your computer and use it in GitHub Desktop.
Save Langerz82/3751f04afab4b90e130b74ab9774109a to your computer and use it in GitHub Desktop.
> bluetoothctl power on
Changing power on succeeded
> bluetoothctl agent on
> bluetoothctl discoverable on
Changing discoverable on succeeded
> bluetoothctl pairable on
Changing pairable on succeeded
[CHG] Controller 10:2C:6B:91:8C:67 Pairable: yes
Scanning available devices for 150 seconds, with interval 15, please wait...
Starting scan 1, please wait...
> bluetoothctl devices
Device 04:E1:7A:6A:63:25 04-E1-7A-6A-63-25
> bluetoothctl info 04:E1:7A:6A:63:25
Device 04:E1:7A:6A:63:25 (public)
Alias: 04-E1-7A-6A-63-25
Class: 0x00000540
Icon: input-keyboard
Paired: no
Bonded: no
Trusted: no
Blocked: no
Connected: yes
LegacyPairing: no
['Device 04:E1:7A:6A:63:25 (public)\n', '\tAlias: 04-E1-7A-6A-63-25\n', '\tClass: 0x00000540\n', '\tIcon: input-keyboard\n', '\tPaired: no\n', '\tBonded: no\n', '\tTrusted: no\n', '\tBlocked: no\n', '\tConnected: yes\n', '\tLegacyPairing: no\n']
dev.name:
dev.alias: 04-E1-7A-6A-63-25
Starting scan 2, please wait...
^CTraceback (most recent call last):
File "/storage/.config/emuelec/scripts/./test", line 178, in <module>
time.sleep(SCAN_INTERVAL)
KeyboardInterrupt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment