473,890 Members | 1,769 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 6096

"Z.K." <no****@nospam. netwrote in message
news:e7******** ******@TK2MSFTN GP05.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
2291
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 not the expensive SDK from WIDCOMM to use the bluetooth programming interfaces. But, as I know most pocket PCs with integrated bluetooth chips use the WIDCOMM bluetooth stack. So my questions are as follows: 1) Is it possible to...
3
8048
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
3723
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
3323
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
1652
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 functions work on any bluetooth dungle (sender/reciever) ? are there any restrictions on the dungle i use ? the only thing i have is the driver that came with the bluetooth USB dungle, wich is a product of "TRENDnet" (TBW-101UB Bluetooth).
4
3070
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 through my computer headset. I have found a lot of information on the profiles themselves, what I haven't found anything on is how to connect to a bluetooth profile. My Cellphone is running MS Mobile 5.0 and my bluetooth dongle is a ZoNet model:...
1
4009
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 want to use a diffrent device with the same bluetooth device. currently i am not able to where should i look / do? -- i have little experience be kind
2
5436
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 dongle, ive tried a another dongle with widicom software as I was having problems with the IVT bluesoleil software. that seems to have got rid of some other problems,
6
8518
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 bluetooth device and how to send files to the pc in vb.net? i would really really appreciate your help!!
0
9976
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9814
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10449
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9616
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8006
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7158
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5834
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6034
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3266
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.