473,396 Members | 1,927 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Bluetooth programming ?

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.
Mar 4 '08 #1
1 6053

"Z.K." <no****@nospam.netwrote in message
news:e7**************@TK2MSFTNGP05.phx.gbl...
>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.
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
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.

Mar 5 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Thomas_Germany | last post by:
I would like to develop a smart device bluetooth application for pocket PC 2003. As I know, Pocket PC 2003 includes the microsoft bluetooth stack. My intention is to use the SDK from mircrosoft and...
3
by: Tor Erik Sønvisen | last post by:
Hi I'm making a server-side solution in Python and need to be able to communicate through bluetooth. Is there any bluetooth-packages out there for python? regards tores
0
by: pei_world | last post by:
I am doing a project with Access through a Bluetooth channel, anyone know how to programming with the Bluetooth? or any provided API that I can use? thanks in advance
2
by: pei_world | last post by:
I have a project with Bluetooth technology. I want to know if it is possible to obtain the effect like devices and services discovery in my PC with a Bluetooth adapter.
0
by: Mulham | last post by:
hi everybody... im a c# developer , but im very new in bluetooth programming ! my questions are : 1. i searched on msnd and found many c# functions for bluetooth, but i dont know wiether these...
4
by: Logan | last post by:
I am interested in programmatically connecting my computer to my cell phone's bluetooth Hands-Free Profile (HFP). So can can use my computer to answer and make calls as well as route the audio...
1
by: =?Utf-8?B?dGhlZ3JlZW5vbmU=?= | last post by:
How can i fix my issue of only being able to connect one device to a bluetooth connection. Situation: - I connect one device to a bluetooth device and finish using it. turn the device off and...
2
by: colin | last post by:
Hi, Im having a tiresome amount of trouble with using a bluetooth serial link. The receiving end is a bluetooth-rs232 module conected to my embeded system. The PC has a little usb bluetooth...
6
by: jabslim | last post by:
excuse me, im a newbie programmer and i need a code on how to to be able to send files from a mobile phone to a pc through bluetooth in vb.net can anyone post a code here on how to detect a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.