How to get SIM reject info?

Dan Williams dan at ioncontrol.co
Fri Feb 14 19:38:00 UTC 2025


On Wed, 2025-02-12 at 18:25 +0100, Martin Maurer wrote:
> Hello,
> 
> I hope this is no stupid question...
> 
> When I execute this command:
> 
> # qmicli -p -d /dev/cdc-wdm0 --nas-get-system-info
> [/dev/cdc-wdm0] Successfully got system info:
>          WCDMA service:
>                  Status: 'none'
>                  True Status: 'none'
>                  Preferred data path: 'no'
>          LTE service:
>                  Status: 'none'
>                  True Status: 'none'
>                  Preferred data path: 'no'
>                  Registration restriction: 'unrestricted'
>          5G SA service:
>                  Status: 'available'
>                  True Status: 'none'
>                  Preferred data path: 'no'
>                  Domain: 'ps'
>                  Service capability: 'ps'
>                  Roaming status: 'off'
>                  Forbidden: 'no'
>                  MCC: '262'
>                  MNC: '01'
>          5GNR Tracking Area Code: '32430'
>          SIM reject info: 'available'
> #
> 
> 
> it tells me (last line): SIM reject info: 'available'
> 
> So I assume something was wrong with my SIM. Is there some command
> how 
> to get the SIM reject info?

It's perhaps confusingly worded, but here's the full enum:

 * QmiNasSimRejectState:
 * @QMI_NAS_SIM_REJECT_STATE_SIM_UNAVAILABLE: SIM not available.
 * @QMI_NAS_SIM_REJECT_STATE_SIM_AVAILABLE: SIM available.
 * @QMI_NAS_SIM_REJECT_STATE_SIM_CS_INVALID: SIM invalid for circuit-switched connections.
 * @QMI_NAS_SIM_REJECT_STATE_SIM_PS_INVALID: SIM invalid for packet-switched connections.
 * @QMI_NAS_SIM_REJECT_STATE_SIM_CS_PS_INVALID: SIM invalid for circuit-switched and packet-switched connections.

What this means is that your SIM is fine and probably working
correctly.

Moreover, the 5G SA Status of "available" and Domain of "PS" means you
are registered successfully with the network.

 * QmiNasServiceStatus:
 * @QMI_NAS_SERVICE_STATUS_NONE: No service.
 * @QMI_NAS_SERVICE_STATUS_LIMITED: Limited service.
 * @QMI_NAS_SERVICE_STATUS_AVAILABLE: Service available.
 * @QMI_NAS_SERVICE_STATUS_LIMITED_REGIONAL: Limited regional service.
 * @QMI_NAS_SERVICE_STATUS_POWER_SAVE: Device in power save mode.

Hope this helps...

Dan


More information about the libqmi-devel mailing list