require("submitForwardMessages")(mobileId, message, userMessageId)
Submits a command/message to a specified remote modem.
Emits events:
NewForwardMessageNewMobileApiErrorApiOutageApiRecovery
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
mobileId |
string |
The destination of the message |
||||||||||||
message |
Object |
A wrapper for the command/message
|
||||||||||||
userMessageId |
number |
optional
an optional user message ID number |
submitForwardMessages module
Type Definitions
-
ModemCommandObject
-
A command structure shorthand for standard core modem operations
Properties:
Name Type Argument Description commandstring The shorthand command name
'ping' (no params)
'getLocation' (no params)
'setWakeupPeriod' (string)
'getConfiguration' (no params)
'reset' (optional string)
'setTxMute' (boolean)
'getBroadcastIds' (no params)params* <optional>
Parameter(s) specific to the command
-
PayloadJsonObject
-
A JSON message structure
Properties:
Name Type Argument Description codecServiceIdnumber A service definition number [16..255]
codecMessageIdnumber A message definition number [0..255]
namestring <optional>
The message name
fieldsArray.<Object> A list of Field objects (https://github.com/Inmarsat/isatdatapro-api)