Message arguments, Table support qualifier, 5 message arguments – Mocomtech CDM-570 User Manual
Page 14: 6 table support qualifier, 1 index

CDM570/570L Satellite Modem
Incorporate NMCS Protocol
MN/CDM570L.AA4
Page 10 of 54
MN/CDM570L.AA4
3.3.5 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.
3.3.6 Table Support Qualifier
In order to support accessing information that is represented in a table, the following syntax is
supported.
3.3.6.1 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