beautypg.com

E.4.3.5 optional message arguments, E.4.3.6 table support qualifier, E.4.3.6.1 row index – Comtech EF Data CDM-570 User Manual

Page 392

background image

CDM-570/570L Satellite Modem with Optional IP Module

Revision 12

Appendix E

MN/CDM570L.IOM

E–6

E.4.3.5 Optional Message Arguments

Arguments are not required for all messages. Arguments include ASCII codes for the characters 0 to 9 (ASCII 48 to 57), period (ASCII 46), and
| (ASCII 124), plus miscellaneous printable characters.

E.4.3.6 Table Support Qualifier

In order to support accessing information that is represented in a table, the following syntax is supported.

E.4.3.6.1

Row Index

The desired row shall be encapsulated within ‘[‘ and ‘]’ brackets. This option is only applicable for data that is represented as table.

For example:

Get a route table entry (will return the contents of the four route table entry):

<1/RTE[4]?

Get a the entry route table (will return the contents of the four route table entry):

$NumEntries = <0/RTN?

for($I=1, $I<$NumEntries, $I++)
{
entryInfo[$I] = <0/RTE[$I]?
}

To add a new route table entry:

$NumEntries = <0/RTN?
$NewRouteEntry = $NumEntries + 1

<1/RTE[$NewRouteEntry]=
rt4|239.011.033.022.32|1|192.168.001.221|00ab|1|0|1|4|3

To modify an existing route table entry:

<1/rte[1]=
rt4|239.011.033.022.32|1|192.168.001.221|00ab|1|0|1|4|3

This manual is related to the following products: