GsmRegistrationMode: Difference between revisions

From Ultiroam User Docs
Jump to navigation Jump to search
(Created page with "=DESCRIPTION== This command sets/gets GSM auto registration mode, if it is enabled GSM port will automatically try to register to GSM network, otherwise will wait explicit command (SelectGsmOperator) in order to do this. If mode parameter is not specified command will return current auto registration mode. ==COMMAND== {| class="wikitable" |- !Command !! Input arguments !! Returns {{:GsmRegistrationMode Synopsis}} |} == OUTPUT == Command status for set command:<br> "%s...")
Tag: 2017 source edit
 
No edit summary
Tag: 2017 source edit
Line 7: Line 7:
==COMMAND==
==COMMAND==
{| class="wikitable"
{| class="wikitable"
!Command
!Line Arguments
!Returns
|-
|-
!Command !! Input arguments !! Returns
|StopPortLog
{{:GsmRegistrationMode Synopsis}}
|PortIndex, UniqueID
|[[R2D2 Error Codes|Error Code]] in case of error.
|}
|}



Revision as of 20:54, 14 May 2024

DESCRIPTION=

This command sets/gets GSM auto registration mode, if it is enabled GSM port will automatically try to register to GSM network, otherwise will wait explicit command (SelectGsmOperator) in order to do this. If mode parameter is not specified command will return current auto registration mode.

COMMAND

Command Line Arguments Returns
StopPortLog PortIndex, UniqueID Error Code in case of error.

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) Template:Network