Prerequisites
- Enable SSH to access your host device. For instructions, see Sign in using SSH.
-
Ensure that the DUT and the remote device support the BlueZ stack. One device acts as a server and another device acts as a client.
To test or verify FTP server functions, a test application isn’t required. Perform FTP functions through the client connection.
- Pair the DUT and the remote device. For instructions, see Pair with a remote Bluetooth device.
- Place the DUT and the remote device in the Bluetooth vicinity.
Set up the device for Bluetooth FTP functions
-
Run the SSH in command prompt using the following command:
Example If the IP address of the device is
10.92.160.222, run the following command: -
Connect to the SSH by entering the following password:
-
Open the Bluetooth test application by running the following command:
To view OBEX functions, run the following command:This command provides the main menu of obexctl. Sample output
-
Connect to the remote device by running the following command from the
obexctlmenu:Parameters-
<bt_address>is the Bluetooth address of the remote device. -
<profile_name>isftp.
<bt_address>E8:48:B8:C8:20:00, run the following command:Sample outputTo perform FTP client functions, see Perform Bluetooth FTP client functions. -

