Propeller communicating over bluetooth to python?
CameronM
Posts: 57
Hi, I am trying to get the propeller to talk to python over bluetooth using RFCOMM. I am not trying any thing fancy I just want the propeller to send a string to a python program and have python display it. But I am having trouble on the propeller side. I am using Micah's bluetooth stack for the propeller, and pybluez stack for the python side. I have a few questions, is it even possible to talk to python over bluetooth? In Micah's bluetooth stack how do I set the port number or what is the port number used in the provided examples, and what is the Bluetooth spec that is brought up in the object bluetooth-host, I did a search and I could not find any thing.
Thank you,
CameronM
Thank you,
CameronM
Comments
Using Bluetooth with RFCOMM should get you a serial port showing up in your operating system what ever it is.
Python can of course open/close and read/write a serial device, like any other file, so there should be no problem working with a serial device provided by RFCOMM.
No idea about Micah's bluetooth software yet but I keep meaning to give it a try.
Thank you,
CameronM