[Qt-interest] Bluetooth SPP in Qt
Andre Somers
andre at familiesomers.nl
Mon Jun 27 18:16:39 CEST 2011
On Mon, June 27, 2011 5:32 pm, Robert Wood wrote:
> Hi André,
>
> I'm not looking for mobility, I'm looking for how I communicate with the
> Bluetooth on the PC itself. The "mobile" side of it is taken care by
> these smart little modules that I can communicate with via my embedded
> micro's UART.
That the code is in the Mobility module of Qt, doesn't mean you can only
use it on embedded or mobile devices. In fact, the docs state that it work
on Linux using Bluez, which is what you were after, right?
But, I don't know much about BT, so perhaps I'm just way off the mark in
what you want.
André
> As far as I understand, there are different communication classes,
> rather like USB. One of them, just like USB, is a virtual com port
> (VCP). With USB there are VCP drivers that make it look like you are
> using a good old fashioned com port like COMx or /dev/ttyUSBx whether
> you're running Unix or Windows.
>
> I'm trying to get a feel for how this works with Bluetooth.
>
> Cheers,
>
> Rob
>
> On 27/06/11 15:28, Andre Somers wrote:
>> On Mon, June 27, 2011 3:58 pm, Robert Wood wrote:
>>> Folks,
>>>
>>> I have a fairly simple application that connects via USB to a little
>>> vending machine I designed. I use one of those great little FTDI USB to
>>> serial port devices and there is a driver built into the Kernel for
>>> Linux and add-on drivers for Windows which means the vending machine
>>> shows up as /dev/ttyUSBx or COMx in Linux/Windows.
>>>
>>> Has anyone any experience of Bluetooth with Qt and know whether it
>>> works
>>> in a similar way? I would stress this is only a serial port profile and
>>> is pretty simple. I really am just looking for a wireless serial port!
>>>
>>> Thanks for any help.
>>
>> Perhaps the Qt Mobility Connectivity API can help you?
>> http://doc.qt.nokia.com/qtmobility-1.2/connectivity-api.html
>>
>> André
>>
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at qt.nokia.com
>> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
More information about the Qt-interest-old
mailing list