khvzak / bluez-tools

A set of tools to manage bluetooth devices for linux
GNU General Public License v2.0
176 stars 51 forks source link

bt-network in client mode does not connect to bt-network in server mode #18

Open oliverkurth opened 7 years ago

oliverkurth commented 7 years ago

I am successfully running bt-network in both server and client mode. I can connect a pi as a client to an Android phone, and I can connect an Android phone or a MacBook to a pi in server mode. However, when I try to connect one pi to another, both running bt-network, I get an error:

pi@okupi3:~$ sudo /usr/bin/bt-network -c okupi0w nap
Network service is not supported by this device

The server runs with: /usr/bin/bt-network -s nap bnep The same happens when I try the other way around.

bluez-tools version is 0.20, from the Debian package:

pi@okupi3:~$ dpkg -l bluez-tools
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                          Version             Architecture        Description
+++-=============================-===================-===================-================================================================
ii  bluez-tools                   0.2.0~20140808-3    armhf               Set of tools to manage Bluetooth devices for linux