M
Markus Humm
Hello,
I'm new to bluetooth but shall build a bluetooth connection to a BT
device supporting serial port profile.
The application uses currently COM1 on the PDA with 9600 Baud and no
handshaking whatever. If I simply change the setting to use e.g. COM5
which is displayed as BT Serial UART by one utility I get the BT Manager
shown on opening the port but if I tipp on the device shown there it
normally throws some exception with a message that "open port failed:
the device is not connected or network is not ready" (similar message,
can deliver the exact one in a few days).
So the questions are:
1. how to integrate Bluetooth seamlesly into the app. without going too
deep into the details of the BT stack, because I want to stay
independent of the 2 stacks around.
2. How to find the bluetooth serial port on a given device?
3. How to set up a permanent BT link to a given device? I'd like it to
automatically connect if the device in question is in reach so that
there is as few user interaction as necessary.
4. Can one switch on BT if it is off via application, but indipendent of
the Stack (MS vs. other)?
Btw: we're using CF 1.0 with VS2003.
Greetings
Markus
I'm new to bluetooth but shall build a bluetooth connection to a BT
device supporting serial port profile.
The application uses currently COM1 on the PDA with 9600 Baud and no
handshaking whatever. If I simply change the setting to use e.g. COM5
which is displayed as BT Serial UART by one utility I get the BT Manager
shown on opening the port but if I tipp on the device shown there it
normally throws some exception with a message that "open port failed:
the device is not connected or network is not ready" (similar message,
can deliver the exact one in a few days).
So the questions are:
1. how to integrate Bluetooth seamlesly into the app. without going too
deep into the details of the BT stack, because I want to stay
independent of the 2 stacks around.
2. How to find the bluetooth serial port on a given device?
3. How to set up a permanent BT link to a given device? I'd like it to
automatically connect if the device in question is in reach so that
there is as few user interaction as necessary.
4. Can one switch on BT if it is off via application, but indipendent of
the Stack (MS vs. other)?
Btw: we're using CF 1.0 with VS2003.
Greetings
Markus