Skip to main content

Appendix H: Message Encoding Using Vendor-Defined Fields

H.7 Message Encoding Using Vendor-Defined Fields​

This example is provided to illustrate the encoding of non-FIPS format messages in the FIPS format. It is the intent of the standard to deal with computer based message systems which are primarily intended for person-to-person use. This example deals with the definition and use of vendor-defined fields to extend the use of the standard to station-to-station messaging. The context is a military message using the military standard JANAP-128 format.

H.7.1 Example of a JANAP-128 Message​

JANAP-128
RTTUZYUW RUABCDE0010 0330930-UUUU--RUXABYE.
ZNR UUUUU
R 020830Z FEB 82
FM Commander,Atlantic Fleet
TO USS SHIPA
BT
UNCLAS

MESSAGE BODY

BT
#0010
NNNN

H.7.2 Encoding of Example using the FIPS Message Format​

  Message   Length             Type
+--------+--------+--------+--------+
|01001101|  8   1 |  D   0 |  0   1 |
+--------+--------+--------+--------+

           Field    Length    FID
         +--------+--------+--------+
         |01001100|  0   4 |  1   8 |
         +--------+--------+--------+

                    ASCII    Length
                  +--------+--------+--------+
                  |00000010|  0   1 |    R   |
                  +--------+--------+--------+

           Field    Length    FID
         +--------+--------+--------+--------+--------+
         |01001100|  0   7 |  8   2 |  0   0 |  0   1 |
         +--------+--------+--------+--------+--------+

                    ASCII    Length
                  +--------+--------+--------+--------+
                  |00000010|  0   2 |    T   |    T   |
                  +--------+--------+--------+--------+

           Field    Length    FID
         +--------+--------+--------+--------+--------+
         |01001100|  0   6 |  8   2 |  0   0 |  0   2 |
         +--------+--------+--------+--------+--------+

                    ASCII    Length
                  +--------+--------+--------+
                  |00000010|  0   1 |    U   |
                  +--------+--------+--------+

           Field    Length    FID
         +--------+--------+--------+--------+--------+
         |01001100|  0   9 |  8   2 |  0   0 |  0   3 |
         +--------+--------+--------+--------+--------+

                    ASCII    Length
                  +--------+--------+----  ----+
                  |00000010|  0   4 |   ZYUW   |
                  +--------+--------+----  ----+

           Field    Length    FID
         +--------+--------+--------+
         |01001100|  0   A |  2   2 |
         +--------+--------+--------+

                    ASCII    Length
                  +--------+--------+----   ----+
                  |00000010|  0   7 |  RUABCDE  |
                  +--------+--------+----   ----+

           Field    Length    FID
         +--------+--------+--------+
         |01001100|  0   7 |  1   7 |
         +--------+--------+--------+

                    ASCII    Length
                  +--------+--------+----  ----+
                  |00000010|  0   4 |   0010   |
                  +--------+--------+----  ----+

           Field    Length    FID      Date    Length
         +--------+--------+--------+--------+--------+
         |01001100|  1   8 |  0   2 |00101000|  1   5 |
         +--------+--------+--------+--------+--------+

                    ASCII    Length
                  +--------+--------+----           ----+
                  |00000010|  1   3 |19820202093000-0000|
                  +--------+--------+----           ----+

           Field    Length    FID
         +--------+--------+--------+--------+--------+
         |01001100|  0   9 |  8   2 |  0   0 |  0   2 |
         +--------+--------+--------+--------+--------+

                    ASCII    Length
                  +--------+--------+----  ----+
                  |00000010|  0   4 |   UUUU   |
                  +--------+--------+----  ----+

           Field    Length    FID
         +--------+--------+--------+--------+--------+
         |01001100|  0   C |  8   2 |  0   0 |  0   4 |
         +--------+--------+--------+--------+--------+

                    ASCII    Length
                  +--------+--------+----  ----+
                  |00000010|  0   7 |  RUXABYE |
                  +--------+--------+----  ----+

           Field    Length    FID
         +--------+--------+--------+--------+--------+
         |01001100|  0   A |  8   2 |  0   0 |  0   2 |
         +--------+--------+--------+--------+--------+

                    ASCII    Length
                  +--------+--------+----   ----+
                  |00000010|  0   5 |   UUUUU   |
                  +--------+--------+----   ----+

           Field    Length    FID
         +--------+--------+--------+
         |01001100|  0   4 |  1   8 |
         +--------+--------+--------+

                    ASCII    Length
                  +--------+--------+--------+
                  |00000010|  0   1 |    R   |
                  +--------+--------+--------+

           Field    Length    FID      Date    Length
         +--------+--------+--------+--------+--------+
         |01001100|  1   4 |  1   1 |00101000|  1   1 |
         +--------+--------+--------+--------+--------+

                    ASCII    Length
                  +--------+--------+----       ----+
                  |00000010|  0   F |8202020830-0000|
                  +--------+--------+----       ----+

           Field    Length    FID
         +--------+--------+--------+
         |01001100|  1   B |  0   1 |
         +--------+--------+--------+

                    ASCII    Length
                  +--------+--------+
                  |00000010|  1   8 |
                  +--------+--------+

                           +----                ----+
                           |Commander,Atlantic Fleet|
                           +----                ----+

           Field    Length    FID
         +--------+--------+--------+
         |01001100|  0   C |  0   5 |
         +--------+--------+--------+

                    ASCII    Length
                  +--------+--------+----   ----+
                  |00000010|  0   9 | USS SHIPA |
                  +--------+--------+----   ----+

           Field    Length    FID
         +--------+--------+--------+
         |01001100|  0   7 |  0   4 |
         +--------+--------+--------+

                    ASCII    Length
                  +--------+--------+----  ----+
                  |00000010|  0   4 |   BODY   |
                  +--------+--------+----  ----+

           Field    Length    FID
         +--------+--------+--------+
         |01001100|  0   7 |  1   7 |
         +--------+--------+--------+

                    ASCII    Length
                  +--------+--------+----  ----+
                  |00000010|  0   4 |   0010   |
                  +--------+--------+----  ----+

H.7.3 Field Mappings of JANAP-128 to FIPS Format​

JANAP-128 Field              FIPS Format Field

Precedence Precedence (Appendix A)
Language Media Format Vendor-Defined
Security Vendor-Defined
Content Indicator Code Vendor-Defined
Origination Station Sender (Appendix A)
Routing Indication
Station Serial Number Originator-Serial-Number
(Appendix A)
Time of File Posted-Date (Appendix A)
Security Vendor-Defined
Destination Station Vendor-Defined
Routing Indicator
Security Vendor-Defined
Precedence Precedence (Appendix A)
Date/Time Group Date (Appendix A)
FM From (Appendix A)
TO To (Appendix A)
Body of Message Text (Appendix A)
Station Serial Number Originator-Serial-Number
(Appendix A)

H.7.4 Vendor-Defined Fields​

Field Name                                Identifier Value
8

Description

Language Media Format - identifier value 01 (base 8)

This field contains two ASCII characters; the first indicates the input media and the second the output media.

Security - identifier value 02 (base 8)

This field contains a variable length ASCII character indicator of the security classification of the messages.

Content Indicator Code - identifier value 03 (base 8)

This field contains four ASCII characters and provides information describing the message content and message handling actions to be performed.

Destination Station Routing Indicator - identifier value 04 (base 8)

This field contains four ASCII characters indicating the CPU and terminal device to which the message should be sent.