In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail the example analysis of developing Python S60 program with mobile phone under Linux. The content of the article is of high quality, so the editor will share it for you as a reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
Today, I suddenly remembered that it used to be possible to use a hyperterminal link to connect a mobile phone through Bluetooth in Windows, but what to do under Linux? Take a note:
Sdptool add-channel=10 SPwhile 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 typescreen / dev/rfcomm0
The following words appear after input:
Hesicong@hesicong-desktop:~$ sdptool add-- channel=10 SPSerial Port service registeredhesicong@hesicong-desktop:~$ while true; do rfcomm listen / dev/rfcomm0 10: waiting for connection on channel 10Connection from 00:1D:FD:F0:A5:AD to / dev/rfcomm0Press CTRL-C for hangup
Just open the serial port of Bluetooth, and then open the Bluetooth console of Python on the phone to connect. Once connected, enter
Screen / dev/rfcomm0
The serial port data of the phone is sent to the computer screen. Today is the first step. It's good to be able to connect. There are still some problems with the built-in Bluetooth under Ubuntu 8.10, such as not being able to send files to my phone at present, indicating an error, which is very depressing. There seems to be a problem with reception.
Also found a very detailed explanation of the website, the above information is obtained from here.
I'm free to see what Sybmain's Open Cramp Clearing + is for. I hear it's a little fun.
All right, wash your feet and face, have a rest, and get ready to play GTA4~.
PS: found another website in the evening:
On the development of Python S60 programs under Linux preliminary connection with the mobile phone example analysis is shared here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.