Welcome to the Parallax Discussion Forums, sign-up to participate.
Micah Dowty said...
Whew! It took a bit longer than I thought (pesky Real Life getting in the way for the past few months...) but I have a fairly complete and easy-to-use Serial Port Profile object working.
I made a quick bloggy-post with a demo video [noparse]:)[/noparse]
The source code to the sample that I'm showing in the video is at:
That "bluetooth-serial" object is really just a convenience wrapper around some lower-level objects that let you create services, sockets, etc. Right now only RFCOMM sockets are implemented formally, but there's some infrastructure in place for raw L2CAP sockets (which you'd need for protocols like HID). So right now it's still a bit rough, but the basic SPP server functionality should be feature complete at least, and it seems mostly stable so far in my testing. I've successfully connected to it from Mac OS, Windows 7, Linux, and Android.
For those of you who bought the cheap Bluetooth dongles, give it a try and let me know how it goes!
scanlime wrote: »
This is something I've been wanting to try for a while, but I finally had an excuse...
I've been wanting to build more devices that can communicate wirelessly. Sensors, ambient information displays, that sort of thing. To reduce the infrastructure needs, I'd like to use Bluetooth, or preferably Wifi. Problem is: I want these things to be cheap, and it's still fairly expensive to buy a Bluetooth or Wifi adapter that's microcontroller-friendly. I'd much rather stick a $5 USB bluetooth dongle on my Propeller and have a solution with simple/cheap hardware and software which is merely not impossible to write