Page 1 of 1

Bluetooth (2nd try)

Posted: Sun Dec 17, 2006 6:33 pm
by Jeff Barnes
Hi Everybody,

I am wondering if I can read data from a bluetooth enabled device via FWH.

I am not looking to send data to the device.

Does anyone know if this is possible? Can you point me in the right direction.
This is the first time I have tried to do anything with bluetooth so I'm not sure exactly how this would work.


Thanks,

Jeff

Posted: Sun Dec 17, 2006 8:34 pm
by Antonio Linares
Jeff,

It looks as the bluetooth uses a COM port, so you may be able to use fwh\samples\phone.prg and samples\TestComm.prg as a model.

Posted: Sun Dec 17, 2006 9:27 pm
by Jeff Barnes
Thanks Antonio.



Jeff

Posted: Sun Dec 17, 2006 9:31 pm
by James Bott
Jeff,

Here is an MS reference that might help.

Bluetooth Programming with Windows Sockets
http://msdn2.microsoft.com/en-us/library/aa362928.aspx

It looks like it is going to be a fair amount of work. I advise creating a bluetooth class.

James

Posted: Sun Dec 17, 2006 9:58 pm
by Antonio Linares
James,

We have not tested bluetooth with a PC, but on the Pocket PC there are several ways to use the bluetooth: as a COMM port or using sockets. I guess the same may be applied to the PC.

Posted: Thu Dec 21, 2006 2:30 am
by Silvio
can I have any sample pls

Posted: Thu Dec 21, 2006 8:13 am
by Antonio Linares
Silvio,

http://fivetechsoft.com/forums/viewtopi ... =bluetooth

Also make a search for bluetooth on these forums