2022-10-21 01:15:07 -03:00
|
|
|
# bluetoothctl
|
|
|
|
|
|
|
|
> Gerencia dispositivos Bluetooth a partir da linha de comando.
|
2025-06-17 19:23:13 +00:00
|
|
|
> Mais informações: <https://manned.org/bluetoothctl>.
|
2022-10-21 01:15:07 -03:00
|
|
|
|
|
|
|
- Inicia o shell `bluetoothctl`:
|
|
|
|
|
|
|
|
`bluetoothctl`
|
|
|
|
|
|
|
|
- Lista todos os dispositivos conhecidos:
|
|
|
|
|
|
|
|
`bluetoothctl devices`
|
|
|
|
|
|
|
|
- Liga ou desliga o controlador Bluetooth:
|
|
|
|
|
|
|
|
`bluetoothctl power {{on|off}}`
|
|
|
|
|
|
|
|
- Emparelha com um dispositivo:
|
|
|
|
|
|
|
|
`bluetoothctl pair {{endereço_mac}}`
|
|
|
|
|
|
|
|
- Remove um dispositivo:
|
|
|
|
|
|
|
|
`bluetoothctl remove {{endereço_mac}}`
|
|
|
|
|
|
|
|
- Conecta a um dispositivo pareado:
|
|
|
|
|
|
|
|
`bluetoothctl connect {{endereço_mac}}`
|
|
|
|
|
|
|
|
- Desconecta um dispositivo pareado:
|
|
|
|
|
|
|
|
`bluetoothctl disconnect {{endereço_mac}}`
|
|
|
|
|
|
|
|
- Exibe ajuda:
|
|
|
|
|
|
|
|
`bluetoothctl help`
|