<< Previous          Next >>

Serial protocol definition

Click on "Serial protocol setup" button or select "Serial protocol" from "Setup" menu and add a new 'send' serial protocol and edit it.
       
The symbol of this protocol is 's0' which is generated automatically by this program.

The data protocol is

Value STX (or 0x02) text data ETX (or 0x03)
Size (byte) 1 unknown 1
Note flag read from a Serial Text Field (length unknown) flag

then the serial protocol edit in HelloDevice IDE is


When you presses the Serial Gate Button (send protocol symbol property of this button is 's0' and the symbol of above protocol is 's0') in the final product Java application of this example, it will compose a serial data which consists of 0x02, a text data and 0x03. The text data will be read from the Serial Text Field which has been already put on the design panel and the write destination of which is 'v0'.

Java application deployment

Select "Deploy -> make application" menu or press "make application" button in the tool box.
Then, a dialog box titled "Create application" will pop up.

Set parameters as following.
       
Select a folder where the output files are to be stored and set Application title 'Online_sign-board'.
The device type is HD1300 (means serial communication).
It will be a client to a HelloDevice therefore turn off the server function.
The default host address is '211.116.26.212' which is the real IP address of HelloDevice which is connected to the online demo sign-board in our web site.
The port number is 6001.

<< Previous          Next >>

-signboard-2.htm">Next >>