Pyserial linux
From MoDe
more to come. for now just putting in what we know. The pyserial library assumes an rfcomm serial device is mounted on /dev/ttyS* -- where * is the port number. But bluez on linux likes to use /dev/rfcomm0 or /dev/rfcomm1. One can change the pyserial open to do this. Will put the patch here soon.
Also, the open will only succeed if the /dev/rfcomm is active (do not know if that means with a "rfcomm bind /dev/rfcomm0 btid" or with an actual connection setup, as with "rfcomm connect /dev/rfcomm0 btid". Also, got to get the pin stuff working -- cannot figure out where that config info resides, but in /etc/bluetooth/phonepin (or something like that) one can put in a default pin, in case the phone demans one on connections.
today is Feb 16, 2006. hope to update this in the next few days.
Back to Nokia Series 60
