Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bluetooth from the Command Line

How do I access files on another device/machine over Bluetooth from the command line?

like image 258
Agnel Kurian Avatar asked Apr 16 '09 15:04

Agnel Kurian


People also ask

How do I connect to Bluetooth through terminal?

To interact with bluetoothd from the terminal, we use the bluetoothctl command. Using bluetoothctl by itself will open the interactive shell. This is called interactive mode and is where we can run commands to configure our Bluetooth settings.

Which command line is used to run Bluetooth program?

Sometimes the Bluetooth service may not start properly when your computer is booting. In this case, use Windows command prompt: Type cmd in the Windows search bar and press the [Enter] key. In the window that opens, enter the command net start "bthserv” and press the [Enter] key to confirm.

How do I connect a Bluetooth device to Linux?

Open the Activities overview and start typing Bluetooth. Click on Bluetooth to open the panel. Make sure Bluetooth is enabled: the switch at the top should be set to on. With the panel open and the switch on, your computer will begin searching for devices.


2 Answers

There is Bluetooth Command Line Tools suite for Windows. This suite of tools contains a btftp utility that allows you to exchanges files with remote Bluetooth devices.

like image 154
Bluetooth Stack Switcher Avatar answered Sep 22 '22 00:09

Bluetooth Stack Switcher


In the debian package, there is bluez-utils package. It contains several command line tools as:

  • hcitool: configure Bluetooth connections. e.g. $ hcitool dev will list the devices
  • hciconfig: configure Bluetooth devices. Once you found a device, you can configure it.

They may exist commands for sending, receive etc... from/to Bluetooth devices.

like image 45
Jérôme Avatar answered Sep 25 '22 00:09

Jérôme