#!/bin/sh

if [[ "x$1" == "x" ]] ; then
#    OPTIONS="--dest=00:13:70:C2:1A:E8"
    OPTIONS="--dest=00:1C:D6:AD:DD:2F"
else
    OPTIONS=$1
fi

TMPFILE=/tmp/phonenote-$$.txt

cat > $TMPFILE

#gnome-obex-send $OPTIONS $TMPFILE
bluetooth-sendto $OPTIONS $TMPFILE

rm $TMPFILE
