Bluetooth (2nd try)

Post Reply
User avatar
Jeff Barnes
Posts: 912
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada
Contact:

Bluetooth (2nd try)

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Jeff Barnes
Posts: 912
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada
Contact:

Post by Jeff Barnes »

Thanks Antonio.



Jeff
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Silvio
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Post by Silvio »

can I have any sample pls
Best Regards, Saludos

Falconi Silvio
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Silvio,

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

Also make a search for bluetooth on these forums
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply