(home | about | stats)

Bluetooth Python S60 console

$ sdptool add --channel=3 SP
$ rfcomm listen /dev/rfcomm0 3
Waiting for connection on channel 3
Connection from 00:18:8D:76:31:DD to /dev/rfcomm0
Press CTRL-C for hangup
(start Bluetooth console on phone)
  (now in second terminal window...)
  $ screen /dev/rfcomm0
  (python!)
  (^D to exit Python console)
  [screen is terminating]
(back in first terminal)
Disconnected
kryogenix.org owner. This is a pwyky site. Edit this document.