GsmRegistrationMode: Difference between revisions
Jump to navigation
Jump to search
m (Administrator moved page R2D2 - GsmRegistrationMode to GsmRegistrationMode without leaving a redirect) |
m (added Category:NETWORK using HotCat) |
||
Line 42: | Line 42: | ||
~# GetGsmPortStatus 0<br> | ~# GetGsmPortStatus 0<br> | ||
REGISTERED (4) | REGISTERED (4) | ||
[[Category:NETWORK]] |
Revision as of 11:23, 27 March 2025
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 | Input Arguments | Returns |
---|---|---|
GsmRegistrationMode | Port index, [Registration mode] | Command status or the actual Registration mode |
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)