Auto32, a program to transmit a packet of up to 32 characters repeatedly.

pdablue

Active Member
Licensed User
Longtime User
Hi,

Here is a program that can transmit a packet of up to 32 characters repeatedly.
The program is written using Basic4PPC and was developed on a SmartBook III
running Windows 6.1 Professional. The program was written to send and receive
characters across a wireless Bluetooth serial port connection.

This program works the same as the Auto16 program written for the HP 110
PDA with a 320 x 240 screen, expanded to work on a device with a 800 x 480
screen using up to 32 characters in a packet.

This program example allows you to define up to 32 bytes that can be
transmitted in a repeating loop. You can send 1 byte, 2 bytes, 3 bytes,
up to 32 bytes at a time. After you have defined a set of characters
you can choose the ones that you want to send by simply checking its
checkbox.

This program was written to be used with a wireless Bluetooth Serial
Port connection. I use the Firefly BP Bluetooth Serial Port adapter.

You can select a time delay between the bytes transmitted in a packet
and you can select a time delay between packets.

You can assign a Label to each Value that you define.
You can save the defined values to a file and you can read back from
the saved file.

To enter data, simply check a checkbox, enter data into the
Label and Value fields, then press the "E" button.

The program has a TX and RX textboxes for the sending and receiving of
data.

The buttons on the main form have the following meaning:

E - Enters the data in the Label and Value fields.

CLV - Clear the Label and Value fields.

CT - Clear the TX textbox.

CR - Clear the RX textbox.

CC - Clear the Checked Checkboxes.

Send : TX - Send (transmit) the characters in the TX textbox.

Transmit Disable/Enable - Transmit toggle button, when the button is "green",
transmission is enabled. When the button is "red", transmission is disabled.

SIP On/Off - Turns the Soft Input Keyboard On and Off.

Read : File - Reads the data saved in the File.

Save : File - Writes the currently defined data to the File.

View : Data - Displays a Form which shows you the currently defined data.

Run - Starts transmitting the characters in the packet.

Stop - Stops transmitting the characters in the packet.

Open - Opens the Bluetooth Serial Com Port.

Close - Closes the Bluetooth Serial Com Port.

Exit - Exits the View Data Form.

The Byte Delay Box - Allows you to define a time delay in milliseconds that is
used to space the bytes in a packet.

The Packet Delay Box - Allows you to define a time delay in seconds between
the packets.

Once you press the Run button the defined bytes in a packet will be
transmitted over and over again until you press the Stop button to
stop the transmission.

Below are pictures, the installation file and the Basic4PPC code.
 

Attachments

  • rAS32Main.jpg
    94.2 KB · Views: 437
  • rAS32VIEW.jpg
    63.7 KB · Views: 409
  • rAS32pic1.jpg
    95.6 KB · Views: 413
  • rAS32pic2.jpg
    77.3 KB · Views: 403
  • SeqSB3.sbp
    51.5 KB · Views: 452
  • Auto32_Installer.zip
    130.8 KB · Views: 436
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…