Skip to content

libqmi-glib,qmicli: add IMS, IMSP & IMSA services

Dylan Van Assche requested to merge dylanvanassche/libqmi:ims into main

IMS, IMSP & IMSA services is already known by libqmi but without any implementation.

  • IMSP: Add the Get Enabler State method to retrieve the IMS registation status.
  • IMSA: Add the IMS registration status retrieval.
  • IMSA: Add the IMS services status retrieval.
  • IMS: Get/Set enabled IMS services

IMSA: IMS registration status

qmicli -p --device=/dev/cdc-wdm0 --imsa-get-ims-registration-status
[/dev/cdc-wdm0] IMS registration:
	    Status: 'registered'
	Technology: 'wwan'

IMSA: IMS services status

qmicli -p --device=/dev/cdc-wdm0 --imsa-get-ims-services-status
[/dev/cdc-wdm0] IMS services:
	SMS service
		    Status: 'available'
		Technology: 'wwan'
	Voice service
		    Status: 'available'
		Technology: 'wwan'
	Video Telephony service
		    Status: 'unavailable'
	UE to TAS service
		    Status: 'unavailable'
		Technology: 'wwan'
	Video Share service

IMSP: enabler state

qmicli -p --device=/dev/cdc-wdm0 --imsp-get-enabler-state
[/dev/cdc-wdm0] IMSP enabler state retrieved:
	Registration status: 'uninitialized'

IMS: IMS services enabled setting

qmicli -p --device=/dev/cdc-wdm0 --ims-get-ims-services-enabled-setting
error: couldn't get IMS services enabled setting: QMI protocol error (3): 'Internal'

The latter seems to be unsupported on the Pine64 PinePhone (Quectel EG25-G).

Edited by Dylan Van Assche

Merge request reports

Loading