I'm trying to enable the bluetooth OPP profile in my linux machine(Ubuntu-16.04 LTS) to connect it with android phone.
- Initially I enabled the bluetooth interface using the command,
/etc/init.d/bluetooth start
- Began to scan for the devices to connect, using the
hcitool scan
that displays both device 'Bluetooth MAC address and Username' - I paired my PC with the device (Redmi note 4-Android Nougat) using the command
hcitool cc --role=s <br_addr>
- Then I executed the command the
sudo obexctl
, which lead to the interactive mode,[obex]# connect <br_addr>
On connecting to the device using its bluetooth MAC address, following error is thrown,
Client proxy not available
Hope this link would be useful as it explains what the exact output is supposed to be like. https://docs.ubuntu.com/core/en/stacks/bluetooth/bluez/docs/reference/sending-files