Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / March 2008

Tip: Looking for answers? Try searching our database.

Bluetooth programming ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Z.K. - 04 Mar 2008 05:41 GMT
I know this is probably not the correct newsgroup, but I can't find
anywhere else that is appropriate to post it in.

I need to figure out how to write a bluetooth program to access a
bluetooth barcode scanner.  After a lot of searching the Internet, I
have come to the conclusion that something using RFCOMM would be best.
Unfortunately, Bluetooth programming books are not exactly plentiful and
finding a book on RFCOMM is almost impossible.  Most of the Bluetooth
programming books deal with linix.  I have not been able to find much in
how to program Bluetooth in Windows.  I have a linux machine as well as
a Windows machine and on the linux machine I can run RFCOMM from the
command line, but I do not know its equivalent in Windows if there is one.

Can someone point me to an example of a Bluetooth program using RFCOMM
or a book of some kind.  I have looked at Bluetooth Essentials, but it
appears to discuss more on Linux than Windows.  The program does not
have to be very complicated as all I need to do is open up a bluetooth
serial port, authenticate with the scanner and then send some commands
to it.  Oh, I also need to receive data from the scanner.  Surely this
can not be that difficult, but it I have never done this before and I
can't find any good information that will help.

  Z.K.
Ben Voigt [C++ MVP] - 05 Mar 2008 14:44 GMT
>I know this is probably not the correct newsgroup, but I can't find
>anywhere else that is appropriate to post it in.
[quoted text clipped - 8 lines]
> Windows machine and on the linux machine I can run RFCOMM from the command
> line, but I do not know its equivalent in Windows if there is one.

In Windows, once a bluetooth connection is made, the bluetooth serial port
receives a "COMn" device link just like built-in serial ports.  Just open
that port (or the real device name which can be found through the SetupDi
plug and play APIs) and use the normal Communications Port API.

> Can someone point me to an example of a Bluetooth program using RFCOMM or
> a book of some kind.  I have looked at Bluetooth Essentials, but it
[quoted text clipped - 6 lines]
>
>   Z.K.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.