Get serial number via QMI

I’m using libqmi to communicate to the Quectel modem. The libqmi library doesn’t provide any API to retrieve the serial number, but allows construction of raw QMI messages. When using Sierra modem I can issue 0x5567 message on DMS service:

qmi_message_new(QMI_SERVICE_DMS, clientId, transactionId, 0x5567)

What is the message ID used by the Quectel modems (EM12-G in particular)?.

Hi @shurikr
What function do you want to achieve through QMI messages? If it is debugging AT commands, I think it will be more convenient.

I’m using QMI interface (libqmi-glib library) to communicate to the modem, not AT commands. The library doesn’t provide a generic command to retrieve the serial number, but allows construction of the custom QMI messages. I’d like to know the encoding of the QMI message which requests the serial number.