Linux SDK (lite-qmi)  MBPL_SDK_R25_ENG3
unpack_dms_GetUSBComp_t Struct Reference

#include <dms.h>

Data Fields

uint8_t USBComp [255]
 
uint8_t NumSupUSBComps
 
uint8_t SupUSBComps
 
uint16_t Tlvresult
 
swi_uint256_t ParamPresenceMask
 

Detailed Description

This structure is used to store retrieved USB Composition

Parameters
USBComp
  • Current USB Composition(optional parameter)
  • Values:
    • 0..5 - Reserved (non-QMI)
    • 6 - DM NMEA AT QMI
    • 7 - DM NMEA AT QMI1 QMI2 QMI3
    • 8 - DM NMEA AT MBIM
    • 9 - MBIM
    • 10 - NMEA MBIM
    • 11 - DM MBIM
    • 12 - DM NMEA MBIM 13-22 are combined compositions. One is for Win8 MBIM interfaces, another is for legacy QMI interfaces
    • 13 - 6 for QMI, 8 for MBIM
    • 14 - 6 for QMI, 9 for MBIM
    • 15 - 6 for QMI, 10 for MBIM
    • 16 - 6 for QMI, 11 for MBIM
    • 17 - 6 for QMI, 12 for MBIM
    • 18 - 7 for QMI, 8 for MBIM
    • 19 - 7 for QMI, 9 for MBIM
    • 20 - 7 for QMI, 10 for MBIM
    • 21 - 7 for QMI, 11 for MBIM
    • 22 - 7 for QMI, 12 for MBIM
  • Bit to check in ParamPresenceMask - 16
NumSupUSBComps
  • Number of supported USB compositions in the parameter to follow
  • Range - 0-255
  • Bit to check in ParamPresenceMask - 17
SupUSBComps
  • Optional parameter
  • List of supported USB compositions( 1 Byte each - Max 255 )
  • Total length is defined by pNumSupUSBComps parameter
  • Values:
    • 0..5 - Reserved (non-QMI)
    • 6 - DM NMEA AT QMI
    • 7 - DM NMEA AT QMI1 QMI2 QMI3
    • 8 - DM NMEA AT MBIM
    • 9 - MBIM
    • 10 - NMEA MBIM
    • 11 - DM MBIM
    • 12 - DM NMEA MBIM
      13-22 are combined compositions. One is for Win8 MBIM interfaces, another is for legacy QMI interfaces
    • 13 - 6 for QMI, 8 for MBIM
    • 14 - 6 for QMI, 9 for MBIM
    • 15 - 6 for QMI, 10 for MBIM
    • 16 - 6 for QMI, 11 for MBIM
    • 17 - 6 for QMI, 12 for MBIM
    • 18 - 7 for QMI, 8 for MBIM
    • 19 - 7 for QMI, 9 for MBIM
    • 20 - 7 for QMI, 10 for MBIM
    • 21 - 7 for QMI, 11 for MBIM
    • 22 - 7 for QMI, 12 for MBIM
  • Bit to check in ParamPresenceMask - 17
Tlvresult
  • unpack Tlv Result.
ParamPresenceMask
  • bitmask representation to indicate valid parameters.

The documentation for this struct was generated from the following file: