Hi,
This program allows you to send Binary characters (0 to 255)
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 Binary 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 Binary 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.
All of the other characters transmit just fine.
Could there be problem with the external Bluetooth
module that I am using?
The basic4ppc source code file for this program is:
Binary256.sbp
This screenshot shows the program screen at startup:
Binpic1.jpg
This screenshot shows the program after the "128-255"
button has been pressed.
Binpic2.jpg
This screenshot shows the program after the "0-127"
button and the "Hex" button has been pressed:
Binpic3.jpg
This screenshot shows the program after the "80-FF"
button has been pressed:
Binpic4.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:
Binpic5.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:
Binpic6.jpg
Here is the zipped up (.CAB) installation file for
the PDA device:
bin256.zip
This program allows you to send Binary characters (0 to 255)
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 Binary 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 Binary 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.
All of the other characters transmit just fine.
Could there be problem with the external Bluetooth
module that I am using?
The basic4ppc source code file for this program is:
Binary256.sbp
This screenshot shows the program screen at startup:
Binpic1.jpg
This screenshot shows the program after the "128-255"
button has been pressed.
Binpic2.jpg
This screenshot shows the program after the "0-127"
button and the "Hex" button has been pressed:
Binpic3.jpg
This screenshot shows the program after the "80-FF"
button has been pressed:
Binpic4.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:
Binpic5.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:
Binpic6.jpg
Here is the zipped up (.CAB) installation file for
the PDA device:
bin256.zip
Attachments
Last edited: