Welcome back to my crazy experiments! This will be a little bit long tutorial because I try to explain few basic things first.
Explanation of background
By connecting smartwatch to phone we can see messages, phone-book, music library and few more in the phone. But generally we use bluetooth for file transferring. So I decided to create a software (as same in smartwatch ) to unleash the power of bluetooth connectivity.
Do you ever think why various kinds of bluetooth devices behave their own way. Such as , when you connect BT hand-free to smartphone your phone shows headphone symbol, but not same as connect with another smartphone. Bluetooth is pretty much interesting topic to learn.
Bluetooth use several kinds of ‘profiles’ to communicate between devices. Different kinds of devices support different kinds of profiles. So these capabilities work as identifiers also. Visit wikpedia to learn more. Don’t miss this ; it’s fun. 😉
https://en.wikipedia.org/wiki/List_of_Bluetooth_profiles
Python
Python for everything, right? Actually it’s flexible and powerful because there are plenty of useful modules for python. If you want to access and analyze a website, just you need few simple python lines. Want to send e-mail, the same. Serial port handling is directly related with low level programming. But the beauty of python modules are, you don’t feel even you are working with hardware.
pyAT.py
pyAT.py is a simple tool to handle your smartphone or smartwatch via serial port. You can connect your device via bluetooth to computer. Open ‘Device Manager’ to see all available COM ports or goto ‘Devices and printers’ in control panel and just right click on the device you need.
Continue reading “Serial port handler using python” →