GetGsmNetworkList: Difference between revisions

From Opale Wiki
Jump to navigation Jump to search
(Created page with " This command allows to accept an incoming call once presented on the specified port. '''COMMAND''' {| class="wikitable" !Command !Line Arguments !Returns |- |AcceptCall |PortIndex |Error Code in case of error. |} '''OUTPUT''' Command status: <br> "%s\n", status (CONNECTED or NO INCOMING CALL) '''EXAMPLE''' <syntaxhighlight lang="text"> ~# AcceptCall 0<br> CONNECTED<br> ~# AcceptCall 2<br> NO INCOMING CALL </syntaxhighlight> Category:SMS|R2D...")
Tag: 2017 source edit
 
m (added Category:R2D2 using HotCat)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:


This command allows to accept an incoming call once presented on the specified port.
This command gets the PLMN (MCC and MNC), the name, the status and the access technology for all GSM operators detectable by the modem.


'''COMMAND'''
'''COMMAND'''
Line 8: Line 8:
!Returns
!Returns
|-
|-
|AcceptCall
|'''GetGsmNetworkList'''
|PortIndex  
|PortIndex  
|[[R2D2 Error Codes|Error Code]] in case of error.
|List of Operators’ PLMN, status, technology and name
|}
|}


'''OUTPUT'''
'''OUTPUT'''<br>GSM port operator selection mode and GSM operator PLMN:
Command status: <br>
 
"%s\n", status (CONNECTED or NO INCOMING CALL)
"%s %s %s\n", mode, plmn, status


'''EXAMPLE''' <syntaxhighlight lang="text">
'''EXAMPLE''' <syntaxhighlight lang="text">
~# GetGsmNetworkList 0
20801 CURRENT 7 Orange F
20801 AVAILABLE 2 Orange F
20801 AVAILABLE 0 Orange F
20810 AVAILABLE 7 F SFR
20815 FORBIDDEN 7 Free
20820 FORBIDDEN 2 F-Bouygues Telecom
20820 FORBIDDEN 7 F-Bouygues Telecom
</syntaxhighlight>


~# AcceptCall 0<br>
[[Category:NETWORK]]
CONNECTED<br>
[[Category:R2D2]]
 
~# AcceptCall 2<br>
NO INCOMING CALL
 
</syntaxhighlight>
[[Category:SMS|R2D2]]
[[Category:Voice|R2D2]]
[[Category:CDR|R2D2]]

Latest revision as of 21:20, 1 April 2025

This command gets the PLMN (MCC and MNC), the name, the status and the access technology for all GSM operators detectable by the modem.

COMMAND

Command Line Arguments Returns
GetGsmNetworkList PortIndex List of Operators’ PLMN, status, technology and name

OUTPUT
GSM port operator selection mode and GSM operator PLMN:

"%s %s %s\n", mode, plmn, status

EXAMPLE

~# GetGsmNetworkList 0
20801 CURRENT 7 Orange F
20801 AVAILABLE 2 Orange F
20801 AVAILABLE 0 Orange F
20810 AVAILABLE 7 F SFR
20815 FORBIDDEN 7 Free
20820 FORBIDDEN 2 F-Bouygues Telecom
20820 FORBIDDEN 7 F-Bouygues Telecom