SendAtCommand

From Ultiroam User Docs
Jump to navigation Jump to search

This places an AT Command to the specified modem port.

COMMAND:

Command Input Arguments Returns
SendAtCommand Port index, 'ATCommand' (*) Issue an AT Command to the specified module.

(*) Note that the ATCommand must be entered with quotes it the AT Command itself includes quotes.

OUTPUT:

Command status for set command:
"%s\n", command_status (OK | ERROR)

Or actual auto registration mode for get command:
"%s\n", mode (ENABLED | DISABLED)

EXAMPLE:

~# GsmRegistrationMode 0 DISABLED
OK

~# GsmRegistrationMode 0
DISABLED

~# GetGsmPortStatus 0
NOT_REGISTERED

~# SelectGsmOperator 0 MANUAL 22001
OK (8287)

~# GetGsmPortStatus 0
REGISTERED (4)