Command IDs

Command IDs

Synopsis

enum                MbimCidBasicConnect;
enum                MbimCidSms;
enum                MbimCidUssd;
enum                MbimCidPhonebook;
enum                MbimCidStk;
enum                MbimCidAuth;
enum                MbimCidDss;

gboolean            mbim_cid_can_set                    (MbimService service,
                                                         guint cid);
gboolean            mbim_cid_can_query                  (MbimService service,
                                                         guint cid);
gboolean            mbim_cid_can_notify                 (MbimService service,
                                                         guint cid);
const gchar *       mbim_cid_get_printable              (MbimService service,
                                                         guint cid);
const gchar *       mbim_cid_basic_connect_get_string   (MbimCidBasicConnect val);
const gchar *       mbim_cid_sms_get_string             (MbimCidSms val);
const gchar *       mbim_cid_ussd_get_string            (MbimCidUssd val);
const gchar *       mbim_cid_phonebook_get_string       (MbimCidPhonebook val);
const gchar *       mbim_cid_stk_get_string             (MbimCidStk val);
const gchar *       mbim_cid_auth_get_string            (MbimCidAuth val);
const gchar *       mbim_cid_dss_get_string             (MbimCidDss val);

Object Hierarchy

  GEnum
   +----MbimCidBasicConnect
  GEnum
   +----MbimCidSms
  GEnum
   +----MbimCidUssd
  GEnum
   +----MbimCidPhonebook
  GEnum
   +----MbimCidStk
  GEnum
   +----MbimCidAuth
  GEnum
   +----MbimCidDss

Description

This section defines the interface of the known command IDs.

Details

enum MbimCidBasicConnect

typedef enum {
    MBIM_CID_BASIC_CONNECT_UNKNOWN                        = 0,
    MBIM_CID_BASIC_CONNECT_DEVICE_CAPS                    = 1,
    MBIM_CID_BASIC_CONNECT_SUBSCRIBER_READY_STATUS        = 2,
    MBIM_CID_BASIC_CONNECT_RADIO_STATE                    = 3,
    MBIM_CID_BASIC_CONNECT_PIN                            = 4,
    MBIM_CID_BASIC_CONNECT_PIN_LIST                       = 5,
    MBIM_CID_BASIC_CONNECT_HOME_PROVIDER                  = 6,
    MBIM_CID_BASIC_CONNECT_PREFERRED_PROVIDERS            = 7,
    MBIM_CID_BASIC_CONNECT_VISIBLE_PROVIDERS              = 8,
    MBIM_CID_BASIC_CONNECT_REGISTER_STATE                 = 9,
    MBIM_CID_BASIC_CONNECT_PACKET_SERVICE                 = 10,
    MBIM_CID_BASIC_CONNECT_SIGNAL_STATE                   = 11,
    MBIM_CID_BASIC_CONNECT_CONNECT                        = 12,
    MBIM_CID_BASIC_CONNECT_PROVISIONED_CONTEXTS           = 13,
    MBIM_CID_BASIC_CONNECT_SERVICE_ACTIVATION             = 14,
    MBIM_CID_BASIC_CONNECT_IP_CONFIGURATION               = 15,
    MBIM_CID_BASIC_CONNECT_DEVICE_SERVICES                = 16,
    /* 17, 18 reserved */
    MBIM_CID_BASIC_CONNECT_DEVICE_SERVICE_SUBSCRIBER_LIST = 19,
    MBIM_CID_BASIC_CONNECT_PACKET_STATISTICS              = 20,
    MBIM_CID_BASIC_CONNECT_NETWORK_IDLE_HINT              = 21,
    MBIM_CID_BASIC_CONNECT_EMERGENCY_MODE                 = 22,
    MBIM_CID_BASIC_CONNECT_IP_PACKET_FILTERS              = 23,
    MBIM_CID_BASIC_CONNECT_MULTICARRIER_PROVIDERS         = 24,
} MbimCidBasicConnect;

MBIM commands in the MBIM_SERVICE_BASIC_CONNECT service.

MBIM_CID_BASIC_CONNECT_UNKNOWN

Unknown command.

MBIM_CID_BASIC_CONNECT_DEVICE_CAPS

Device capabilities.

MBIM_CID_BASIC_CONNECT_SUBSCRIBER_READY_STATUS

Subscriber ready status.

MBIM_CID_BASIC_CONNECT_RADIO_STATE

Radio state.

MBIM_CID_BASIC_CONNECT_PIN

PIN.

MBIM_CID_BASIC_CONNECT_PIN_LIST

PIN list.

MBIM_CID_BASIC_CONNECT_HOME_PROVIDER

Home provider.

MBIM_CID_BASIC_CONNECT_PREFERRED_PROVIDERS

Preferred providers.

MBIM_CID_BASIC_CONNECT_VISIBLE_PROVIDERS

Visible providers.

MBIM_CID_BASIC_CONNECT_REGISTER_STATE

Register state.

MBIM_CID_BASIC_CONNECT_PACKET_SERVICE

Packet service.

MBIM_CID_BASIC_CONNECT_SIGNAL_STATE

Signal state.

MBIM_CID_BASIC_CONNECT_CONNECT

Connect.

MBIM_CID_BASIC_CONNECT_PROVISIONED_CONTEXTS

Provisioned contexts.

MBIM_CID_BASIC_CONNECT_SERVICE_ACTIVATION

Service activation.

MBIM_CID_BASIC_CONNECT_IP_CONFIGURATION

IP configuration.

MBIM_CID_BASIC_CONNECT_DEVICE_SERVICES

Device services.

MBIM_CID_BASIC_CONNECT_DEVICE_SERVICE_SUBSCRIBER_LIST

Device service subscriber list.

MBIM_CID_BASIC_CONNECT_PACKET_STATISTICS

Packet statistics.

MBIM_CID_BASIC_CONNECT_NETWORK_IDLE_HINT

Network idle hint.

MBIM_CID_BASIC_CONNECT_EMERGENCY_MODE

Emergency mode.

MBIM_CID_BASIC_CONNECT_IP_PACKET_FILTERS

IP packet filters.

MBIM_CID_BASIC_CONNECT_MULTICARRIER_PROVIDERS

Multicarrier providers.

enum MbimCidSms

typedef enum {
    MBIM_CID_SMS_UNKNOWN              = 0,
    MBIM_CID_SMS_CONFIGURATION        = 1,
    MBIM_CID_SMS_READ                 = 2,
    MBIM_CID_SMS_SEND                 = 3,
    MBIM_CID_SMS_DELETE               = 4,
    MBIM_CID_SMS_MESSAGE_STORE_STATUS = 5,
} MbimCidSms;

MBIM commands in the MBIM_SERVICE_SMS service.

MBIM_CID_SMS_UNKNOWN

Unknown command.

MBIM_CID_SMS_CONFIGURATION

SMS configuration.

MBIM_CID_SMS_READ

Read.

MBIM_CID_SMS_SEND

Send.

MBIM_CID_SMS_DELETE

Delete.

MBIM_CID_SMS_MESSAGE_STORE_STATUS

Store message status.

enum MbimCidUssd

typedef enum {
    MBIM_CID_UNKNOWN = 0,
    MBIM_CID_USSD    = 1,
} MbimCidUssd;

MBIM commands in the MBIM_SERVICE_USSD service.

MBIM_CID_UNKNOWN

Unknown command.

MBIM_CID_USSD

USSD operation.

enum MbimCidPhonebook

typedef enum {
    MBIM_CID_PHONEBOOK_UNKNOWN       = 0,
    MBIM_CID_PHONEBOOK_CONFIGURATION = 1,
    MBIM_CID_PHONEBOOK_READ          = 2,
    MBIM_CID_PHONEBOOK_DELETE        = 3,
    MBIM_CID_PHONEBOOK_WRITE         = 4,
} MbimCidPhonebook;

MBIM commands in the MBIM_SERVICE_PHONEBOOK service.

MBIM_CID_PHONEBOOK_UNKNOWN

Unknown command.

MBIM_CID_PHONEBOOK_CONFIGURATION

Configuration.

MBIM_CID_PHONEBOOK_READ

Read.

MBIM_CID_PHONEBOOK_DELETE

Delete.

MBIM_CID_PHONEBOOK_WRITE

Write.

enum MbimCidStk

typedef enum {
    MBIM_CID_STK_UNKNOWN           = 0,
    MBIM_CID_STK_PAC               = 1,
    MBIM_CID_STK_TERMINAL_RESPONSE = 2,
    MBIM_CID_STK_ENVELOPE          = 3,
} MbimCidStk;

MBIM commands in the MBIM_SERVICE_STK service.

MBIM_CID_STK_UNKNOWN

Unknown command.

MBIM_CID_STK_PAC

PAC.

MBIM_CID_STK_TERMINAL_RESPONSE

Terminal response.

MBIM_CID_STK_ENVELOPE

Envelope.

enum MbimCidAuth

typedef enum {
    MBIM_CID_AUTH_UNKNOWN = 0,
    MBIM_CID_AUTH_AKA     = 1,
    MBIM_CID_AUTH_AKAP    = 2,
    MBIM_CID_AUTH_SIM     = 3,
} MbimCidAuth;

MBIM commands in the MBIM_SERVICE_AUTH service.

MBIM_CID_AUTH_UNKNOWN

Unknow command

MBIM_CID_AUTH_AKA

AKA.

MBIM_CID_AUTH_AKAP

AKAP.

MBIM_CID_AUTH_SIM

SIM.

enum MbimCidDss

typedef enum {
    MBIM_CID_DSS_UNKNOWN = 0,
    MBIM_CID_DSS_CONNECT = 1
} MbimCidDss;

MBIM commands in the MBIM_SERVICE_DSS service.

MBIM_CID_DSS_UNKNOWN

Unknown command.

MBIM_CID_DSS_CONNECT

Connect.

mbim_cid_can_set ()

gboolean            mbim_cid_can_set                    (MbimService service,
                                                         guint cid);

Checks whether the given command allows setting.

service :

a MbimService.

cid :

a command ID.

Returns :

TRUE if the command allows setting, FALSE otherwise.

mbim_cid_can_query ()

gboolean            mbim_cid_can_query                  (MbimService service,
                                                         guint cid);

Checks whether the given command allows querying.

service :

a MbimService.

cid :

a command ID.

Returns :

TRUE if the command allows querying, FALSE otherwise.

mbim_cid_can_notify ()

gboolean            mbim_cid_can_notify                 (MbimService service,
                                                         guint cid);

Checks whether the given command allows notifying.

service :

a MbimService.

cid :

a command ID.

Returns :

TRUE if the command allows notifying, FALSE otherwise.

mbim_cid_get_printable ()

const gchar *       mbim_cid_get_printable              (MbimService service,
                                                         guint cid);

Gets a printable string for the command specified by the service and the cid.

service :

a MbimService.

cid :

a command ID.

Returns :

a constant string. [transfer none]

mbim_cid_basic_connect_get_string ()

const gchar *       mbim_cid_basic_connect_get_string   (MbimCidBasicConnect val);

Gets the nickname string for the MbimCidBasicConnect specified at val.

val :

a MbimCidBasicConnect.

Returns :

a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]

mbim_cid_sms_get_string ()

const gchar *       mbim_cid_sms_get_string             (MbimCidSms val);

Gets the nickname string for the MbimCidSms specified at val.

val :

a MbimCidSms.

Returns :

a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]

mbim_cid_ussd_get_string ()

const gchar *       mbim_cid_ussd_get_string            (MbimCidUssd val);

Gets the nickname string for the MbimCidUssd specified at val.

val :

a MbimCidUssd.

Returns :

a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]

mbim_cid_phonebook_get_string ()

const gchar *       mbim_cid_phonebook_get_string       (MbimCidPhonebook val);

Gets the nickname string for the MbimCidPhonebook specified at val.

val :

a MbimCidPhonebook.

Returns :

a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]

mbim_cid_stk_get_string ()

const gchar *       mbim_cid_stk_get_string             (MbimCidStk val);

Gets the nickname string for the MbimCidStk specified at val.

val :

a MbimCidStk.

Returns :

a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]

mbim_cid_auth_get_string ()

const gchar *       mbim_cid_auth_get_string            (MbimCidAuth val);

Gets the nickname string for the MbimCidAuth specified at val.

val :

a MbimCidAuth.

Returns :

a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]

mbim_cid_dss_get_string ()

const gchar *       mbim_cid_dss_get_string             (MbimCidDss val);

Gets the nickname string for the MbimCidDss specified at val.

val :

a MbimCidDss.

Returns :

a string with the nickname, or NULL if not found. Do not free the returned value. [transfer none]