在Linux下开发Python S60程序初步——连上手机
- December 25th, 2008
- By april1985
- Write comment
今天突然想起来了,以前在Windows里面可以用超级终端链接通过蓝牙连接手机,但在Linux下面怎么做呢?做个笔记:
sdptool add --channel=10 SP
while true; do rfcomm listen /dev/rfcomm0 10; done
# On the cell phone, Open "Bluetooth Console" in Python menu and
# choose the Linux PC as the machine to connect to
#
# Once the phone is connected, open another terminal and type
screen /dev/rfcomm0
输入后会出现以下字样: Read more