Bluetooth HOWTO

for Slackware 13.0



  <policy user="root">
    <allow own="org.bluez"/>
    <allow send_destination="org.bluez"/>
    <allow send_interface="org.bluez.Agent"/>
    <allow send_interface="org.bluez.PasskeyAgent"/>


        # Default PIN code for incoming connections
        passkey "1234";

Default PIN code for outgoing connections:




chmod +x /etc/rc.d/rc.bluetooth
/etc/rc.d/rc.bluetooth start

hcitool cc establishes a connection.
This connection will be dropped in 1-2 seconds, if it is unused.
To avoid this, we use l2ping and let it run in background or in another terminal.

hcitool scan
hcitool cc XX:XX:XX:XX:XX:XX
l2ping XX:XX:XX:XX:XX:XX
sdptool search FTP XX:XX:XX:XX:XX:XX
obexftp -b XX:XX:XX:XX:XX:XX --channel 6 -l