Hi,
This program allows you to send ASCII characters (0 to 127)
across a Serial Port connection. This program is setup to
transmit characters across a Bluetooth serial port connection.
I am using an HP IPAQ H2210 PDA to send characters to an
external BlueSMiRF Bluetooth module.
When you press a button, the ASCII character represented
by that button should be transmitted one time across the
serial port connection going from the PDA to the external
serial port device, which in this setup is the BlueSMiRF
Bluetooth module.
You can change the labels on the Buttons to Decimal
or Hexadecimal by pressing the "Dec" or "Hex"
buttons.
There is one problem, it occurs when trying to send
the Decimal character 43. I have to press the button
4 times to get any kind of transmission and then
4 characters are transmitted at one time.
I am using Net Compact Framework Version 2.0
on the PDA device. I have tried this program with
the following serial DLLs.
SerialDevice.dll
Serial2.dll
SerialEx.dll
All of the ASCII characters are transmitted just as
they should be when a button is pressed except
for Decimal character 43. I encounter the same
problem with Decimal character 43 no matter
which of the above serial DLLs that I use.
Someone needs to take a look at what is going
on when the character Decimal 43 is transmitted.
I do not know if this is a DLL problem or a
Net Compact Framework problem or a
Basic4ppc problem.
Could it be a problem with my Bluetooth module?
All of the other characters transmit just fine.
The basic4ppc source code file for this program is:
Ascii128.sbp
This screenshot shows the program screen at startup:
Ascpic1.jpg
This screenshot shows the program after the "Hex"
button has been press to change the button text to
a hexadecimal format:
Ascpic2.jpg
This screenshot shows a sample error message
that you will get if a button is pressed before
a serial port connection has been opened and
established:
Ascpic3.jpg
This screenshot shows a sample error message
that you will get if you try to open a serial port
connection and there is no external serial port
device available to communicate with:
Ascpic4.jpg
Here is the zipped up (.CAB) installation file for the
PDA device:
asc128.zip
This program allows you to send ASCII characters (0 to 127)
across a Serial Port connection. This program is setup to
transmit characters across a Bluetooth serial port connection.
I am using an HP IPAQ H2210 PDA to send characters to an
external BlueSMiRF Bluetooth module.
When you press a button, the ASCII character represented
by that button should be transmitted one time across the
serial port connection going from the PDA to the external
serial port device, which in this setup is the BlueSMiRF
Bluetooth module.
You can change the labels on the Buttons to Decimal
or Hexadecimal by pressing the "Dec" or "Hex"
buttons.
There is one problem, it occurs when trying to send
the Decimal character 43. I have to press the button
4 times to get any kind of transmission and then
4 characters are transmitted at one time.
I am using Net Compact Framework Version 2.0
on the PDA device. I have tried this program with
the following serial DLLs.
SerialDevice.dll
Serial2.dll
SerialEx.dll
All of the ASCII characters are transmitted just as
they should be when a button is pressed except
for Decimal character 43. I encounter the same
problem with Decimal character 43 no matter
which of the above serial DLLs that I use.
Someone needs to take a look at what is going
on when the character Decimal 43 is transmitted.
I do not know if this is a DLL problem or a
Net Compact Framework problem or a
Basic4ppc problem.
Could it be a problem with my Bluetooth module?
All of the other characters transmit just fine.
The basic4ppc source code file for this program is:
Ascii128.sbp
This screenshot shows the program screen at startup:
Ascpic1.jpg
This screenshot shows the program after the "Hex"
button has been press to change the button text to
a hexadecimal format:
Ascpic2.jpg
This screenshot shows a sample error message
that you will get if a button is pressed before
a serial port connection has been opened and
established:
Ascpic3.jpg
This screenshot shows a sample error message
that you will get if you try to open a serial port
connection and there is no external serial port
device available to communicate with:
Ascpic4.jpg
Here is the zipped up (.CAB) installation file for the
PDA device:
asc128.zip
Attachments
Last edited: