Bluetooth (2nd try)

Bluetooth (2nd try)

Postby Jeff Barnes » Sun Dec 17, 2006 6:33 pm

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
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Postby Antonio Linares » Sun Dec 17, 2006 8:34 pm

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

Postby Jeff Barnes » Sun Dec 17, 2006 9:27 pm

Thanks Antonio.



Jeff
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Postby James Bott » Sun Dec 17, 2006 9:31 pm

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
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Antonio Linares » Sun Dec 17, 2006 9:58 pm

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

Postby Silvio » Thu Dec 21, 2006 2:30 am

can I have any sample pls
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Thu Dec 21, 2006 8:13 am

Silvio,

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

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42077
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 61 guests