FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Bluetooth (2nd try)
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Bluetooth (2nd try)
Posted: Sun Dec 17, 2006 06: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

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bluetooth (2nd try)
Posted: Sun Dec 17, 2006 08: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
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Bluetooth (2nd try)
Posted: Sun Dec 17, 2006 09:27 PM

Thanks Antonio.

Jeff

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Bluetooth (2nd try)
Posted: Sun Dec 17, 2006 09: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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bluetooth (2nd try)
Posted: Sun Dec 17, 2006 09: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
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
Bluetooth (2nd try)
Posted: Thu Dec 21, 2006 02:30 AM

can I have any sample pls

Best Regards, Saludos



Falconi Silvio
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bluetooth (2nd try)
Posted: Thu Dec 21, 2006 08: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

Continue the discussion