GetGsmPortStatus: Difference between revisions
Jump to navigation
Jump to search
(Created page with "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 |Port index, [Registration mode] |Command status or the actual Registration mode...") Tag: 2017 source edit |
No edit summary |
||
Line 1: | Line 1: | ||
This command | This command writes to the standard output the port status of the specified GSM port. If status is REGISTERED (HOME) or REGISTERED (ROAMING) it returns Registration (IMSI Attach) time in milliseconds (the time between the first CHANNEL_REQUEST message sent by MS to BTS and the TMSI_REALLOCATION_COMPLETE message sent by MS to MSC/VLR.) | ||
If it | |||
'''COMMAND:''' | '''COMMAND:''' | ||
Line 13: | Line 7: | ||
!Returns | !Returns | ||
|- | |- | ||
| | |'''GetGsmPortStatus''' | ||
|Port index | |Port index | ||
| | |Port Status | ||
|} | |} | ||
'''OUTPUT:''' | '''OUTPUT:''' | ||
none | |||
'''EXAMPLE:''' | '''EXAMPLE:''' | ||
~# | ~# GetGsmPortStatus 1 | ||
INITIALIZED | |||
~# GetGsmPortStatus | ~# GetGsmPortStatus 1 | ||
REGISTERED (HOME) (3462) | |||
~# GetGsmPortStatus 0 | ~# GetGsmPortStatus 0 | ||
NOT_REGISTERED (DENIED) | |||
[[Category:NETWORK]] | [[Category:NETWORK]] | ||
[[Category:R2D2]] | [[Category:R2D2]] |
Latest revision as of 20:51, 1 April 2025
This command writes to the standard output the port status of the specified GSM port. If status is REGISTERED (HOME) or REGISTERED (ROAMING) it returns Registration (IMSI Attach) time in milliseconds (the time between the first CHANNEL_REQUEST message sent by MS to BTS and the TMSI_REALLOCATION_COMPLETE message sent by MS to MSC/VLR.)
COMMAND:
Command | Input Arguments | Returns |
---|---|---|
GetGsmPortStatus | Port index | Port Status |
OUTPUT:
none
EXAMPLE:
~# GetGsmPortStatus 1
INITIALIZED
~# GetGsmPortStatus 1
REGISTERED (HOME) (3462)
~# GetGsmPortStatus 0
NOT_REGISTERED (DENIED)