Connecting to the Ploggs using Bluetooth on Linux

1) Get the BlueZ stack and RFComm and minicom for your Linux distro.

2) Do hcitool scan to scan for Bluetooth devices and get the Bluetooth address of the one you want to connect to, e.g.: 00:80:98:E7:CA:16

3) Do rfcomm connect 0 00:80:98:E7:CA:16 1 which basically creates virtual serial port for your Bluetooth device. The first 0 means that you want to bind your Bluetooth device (e.g. Plogg) to the /dev/rfcomm0 virtual port. The second argument is the BT address of your device, the third is the BT channel to be used.

4) Connect to the Plogg by launching minicom -s, go to the Serial Port Setup menu item and change the entry Serial Device to point to /dev/rfcomm0, i.e. the virtual port for your Plogg.

5) You can now browse the Plogg’s functionality in command line. Note that this tutorial should work for other BT devices as well.

Comments (4)

GeoSeptember 23rd, 2009 at 5:31 pm

Hi,
I consider buying those Plogg-Blu, and I just have a question. Is there some place with the ascii protocol to use them once the connextion is done ?

Thanks,
geo

misterdomOctober 1st, 2009 at 5:35 pm

Hi Geo… what do you actually mean by some “place”?

GeoOctober 27th, 2009 at 11:29 am

By some place, I was talking about an URL or a web site on which I could find the ascii protocol used over the serial connection.

misterdomNovember 2nd, 2009 at 8:37 pm

Well I don’t know if they make this information publicly available. I think they sell it as part of their development kit. You might contact them directly about that. They are quite responsive!

Leave a comment

Your comment