Gjsify LogoGjsify Logo

An opaque type representing a MBIM message.

record

Hierarchy

  • Message

Index

Constructors

Properties

Methods

Constructors

  • new Message(data: number, dataLength: number): Mbim.Message
  • Create a #MbimMessage with the given contents.

    Parameters

    • data: number

      contents of the message.

    • dataLength: number

      length of the message.

    Returns Mbim.Message

Properties

name: string

Methods

  • atdsLocationResponseParse(): [boolean, number, number, number]
  • Parses and returns parameters of the 'Location' response command in the 'ATDS' service.

    Returns [boolean, number, number, number]

  • atdsOperatorsResponseParse(): [boolean, number, AtdsProvider[]]
  • Parses and returns parameters of the 'Operators' response command in the 'ATDS' service.

    Returns [boolean, number, AtdsProvider[]]

  • atdsSignalResponseParse(): [boolean, number, number, number, number, number, number, number]
  • Parses and returns parameters of the 'Signal' response command in the 'ATDS' service.

    Returns [boolean, number, number, number, number, number, number, number]

  • authAkaResponseParse(): [boolean, Uint8Array, number, Uint8Array, Uint8Array, Uint8Array]
  • Parses and returns parameters of the 'Aka' response command in the 'Auth' service.

    Returns [boolean, Uint8Array, number, Uint8Array, Uint8Array, Uint8Array]

  • authAkapResponseParse(): [boolean, Uint8Array, number, Uint8Array, Uint8Array, Uint8Array]
  • Parses and returns parameters of the 'Akap' response command in the 'Auth' service.

    Returns [boolean, Uint8Array, number, Uint8Array, Uint8Array, Uint8Array]

  • authSimResponseParse(): [boolean, number, number, number, number, number, number, number]
  • Parses and returns parameters of the 'Sim' response command in the 'Auth' service.

    Returns [boolean, number, number, number, number, number, number, number]

  • closeDoneGetResult(): boolean
  • Gets the result of the 'Close' operation in the %MBIM_MESSAGE_TYPE_CLOSE_DONE message.

    Returns boolean

  • commandAppend(buffer: number, bufferSize: number): void
  • Appends the contents of buffer to self.

    Parameters

    • buffer: number

      raw buffer to append to the message.

    • bufferSize: number

      length of the data in buffer.

    Returns void

  • commandDoneGetCid(): number
  • Get the command id of a %MBIM_MESSAGE_TYPE_COMMAND_DONE message.

    Returns number

  • commandDoneGetRawInformationBuffer(): [number, number]
  • Gets the information buffer of the %MBIM_MESSAGE_TYPE_COMMAND_DONE message.

    Returns [number, number]

  • commandDoneGetResult(): boolean
  • Gets the result of the 'Command' operation in the %MBIM_MESSAGE_TYPE_COMMAND_DONE message.

    Returns boolean

  • commandDoneGetServiceId(): Uuid
  • commandGetCid(): number
  • Get the command id of a %MBIM_MESSAGE_TYPE_COMMAND message.

    Returns number

  • commandGetRawInformationBuffer(): [number, number]
  • Gets the information buffer of the %MBIM_MESSAGE_TYPE_COMMAND message.

    Returns [number, number]

  • commandGetServiceId(): Uuid
  • deviceServiceSubscribeListResponseParse(): [boolean, number, EventEntry[]]
  • Parses and returns parameters of the 'Device Service Subscribe List' response command in the 'Basic Connect' service.

    Returns [boolean, number, EventEntry[]]

  • deviceServiceSubscriberListResponseParse(eventsCount: number, events: EventEntry): boolean
  • Create a new request for the 'Events' response command in the 'Basic Connect' service.

    Parameters

    • eventsCount: number

      return location for a #guint32, or %NULL if the 'EventsCount' field is not needed.

    • events: EventEntry

      return location for a newly allocated array of #MbimEventEntrys, or %NULL if the 'Events' field is not needed. Free the returned value with mbim_event_entry_array_free().

    Returns boolean

  • Parses and returns parameters of the 'Device Services' response command in the 'Basic Connect' service.

    Returns [boolean, number, number, DeviceServiceElement[]]

  • dssConnectResponseParse(): boolean
  • Parses and returns parameters of the 'Connect' response command in the 'DSS' service.

    Returns boolean

  • Get the error in a %MBIM_MESSAGE_TYPE_HOST_ERROR or %MBIM_MESSAGE_TYPE_FUNCTION_ERROR message.

    Returns GLib.Error

  • getMessageLength(): number
  • getPrintable(linePrefix: string, headersOnly: boolean): string
  • Gets a printable string with the contents of the whole MBIM message.

    This method will not fail if the parsing of the message contents fails, a fallback text with the error will be included in the generated printable information instead.

    Parameters

    • linePrefix: string

      prefix string to use in each new generated line.

    • headersOnly: boolean

      %TRUE if only basic headers should be printed.

    Returns string

  • getPrintableFull(mbimexVersionMajor: number, mbimexVersionMinor: number, linePrefix: string, headersOnly: boolean): string
  • Gets a printable string with the contents of the whole MBIM message.

    Unlike mbim_message_get_printable(), this method allows specifying the MBIMEx version agreed between host and device, so that the correct processing and parsing is done on messages in the newer MBIMEx versions.

    If mbimex_version_major < 2, this method behaves exactly as mbim_message_get_printable().

    If the specified mbimex_version_major is unsupported, an error will be returned.

    This method will not fail if the parsing of the message contents fails, a fallback text with the error will be included in the generated printable information instead.

    Parameters

    • mbimexVersionMajor: number

      major version of the agreed MBIMEx support.

    • mbimexVersionMinor: number

      minor version of the agreed MBIMEx support.

    • linePrefix: string

      prefix string to use in each new generated line.

    • headersOnly: boolean

      %TRUE if only basic headers should be printed.

    Returns string

  • getRaw(): [number, number]
  • Gets the whole raw data buffer of the #MbimMessage.

    Returns [number, number]

  • getTransactionId(): number
  • Parses and returns parameters of the 'Home Provider' response command in the 'Basic Connect' service.

    Returns [boolean, Mbim.Provider]

  • indicateStatusGetCid(): number
  • Get the command id of a %MBIM_MESSAGE_TYPE_INDICATE_STATUS message.

    Returns number

  • indicateStatusGetRawInformationBuffer(): [number, number]
  • Gets the information buffer of the %MBIM_MESSAGE_TYPE_INDICATE_STATUS message.

    Returns [number, number]

  • indicateStatusGetServiceId(): Uuid
  • Get the service UUID of a %MBIM_MESSAGE_TYPE_INDICATE_STATUS message.

    Returns Uuid

  • ipPacketFiltersResponseParse(): [boolean, number, number, PacketFilter[]]
  • Parses and returns parameters of the 'IP Packet Filters' response command in the 'Basic Connect' service.

    Returns [boolean, number, number, PacketFilter[]]

  • msBasicConnectExtensionsDeviceSlotMappingsResponseParse(): [boolean, number, Mbim.Slot[]]
  • Parses and returns parameters of the 'Device Slot Mappings' response command in the 'Ms Basic Connect Extensions' service.

    Returns [boolean, number, Mbim.Slot[]]

  • msBasicConnectExtensionsLocationInfoStatusNotificationParse(): [boolean, number, number, number]
  • Parses and returns parameters of the 'Location Info Status' notification command in the 'Ms Basic Connect Extensions' service.

    Returns [boolean, number, number, number]

  • msBasicConnectExtensionsLocationInfoStatusResponseParse(): [boolean, number, number, number]
  • Parses and returns parameters of the 'Location Info Status' response command in the 'Ms Basic Connect Extensions' service.

    Returns [boolean, number, number, number]

  • msBasicConnectExtensionsLteAttachConfigurationNotificationParse(): [boolean, number, LteAttachConfiguration[]]
  • Parses and returns parameters of the 'Lte Attach Configuration' notification command in the 'Ms Basic Connect Extensions' service.

    Returns [boolean, number, LteAttachConfiguration[]]

  • Parses and returns parameters of the 'Lte Attach Configuration' response command in the 'Ms Basic Connect Extensions' service.

    Returns [boolean, number, LteAttachConfiguration[]]

  • msBasicConnectExtensionsPcoNotificationParse(): [boolean, PcoValue]
  • Parses and returns parameters of the 'PCO' notification command in the 'Ms Basic Connect Extensions' service.

    Returns [boolean, PcoValue]

  • msBasicConnectExtensionsPcoResponseParse(): [boolean, PcoValue]
  • Parses and returns parameters of the 'PCO' response command in the 'Ms Basic Connect Extensions' service.

    Returns [boolean, PcoValue]

  • msBasicConnectExtensionsSlotInfoStatusNotificationParse(): [boolean, number, UiccSlotState]
  • Parses and returns parameters of the 'Slot Info Status' notification command in the 'Ms Basic Connect Extensions' service.

    Returns [boolean, number, UiccSlotState]

  • msBasicConnectExtensionsSlotInfoStatusResponseParse(): [boolean, number, UiccSlotState]
  • Parses and returns parameters of the 'Slot Info Status' response command in the 'Ms Basic Connect Extensions' service.

    Returns [boolean, number, UiccSlotState]

  • msBasicConnectExtensionsSysCapsResponseParse(): [boolean, number, number, number, number]
  • Parses and returns parameters of the 'Sys Caps' response command in the 'Ms Basic Connect Extensions' service.

    Returns [boolean, number, number, number, number]

  • msBasicConnectExtensionsV2VersionResponseParse(): [boolean, number, number]
  • Parses and returns parameters of the 'Version' response command in the 'Ms Basic Connect Extensions V2' service.

    Returns [boolean, number, number]

  • msBasicConnectExtensionsV3WakeReasonResponseParse(): [boolean, WakeType, number, Tlv]
  • Parses and returns parameters of the 'Wake Reason' response command in the 'Ms Basic Connect Extensions V3' service.

    Returns [boolean, WakeType, number, Tlv]

  • msBasicConnectV2SignalStateNotificationParse(): [boolean, number, number, number, number, number, number, RsrpSnrInfo[]]
  • Parses and returns parameters of the 'Signal State' notification command in the 'Ms Basic Connect V2' service.

    Returns [boolean, number, number, number, number, number, number, RsrpSnrInfo[]]

  • msBasicConnectV2SignalStateResponseParse(): [boolean, number, number, number, number, number, number, RsrpSnrInfo[]]
  • Parses and returns parameters of the 'Signal State' response command in the 'Ms Basic Connect V2' service.

    Returns [boolean, number, number, number, number, number, number, RsrpSnrInfo[]]

  • msBasicConnectV3IpPacketFiltersResponseParse(): [boolean, number, number, PacketFilterV3[]]
  • Parses and returns parameters of the 'IP Packet Filters' response command in the 'Ms Basic Connect V3' service.

    Returns [boolean, number, number, PacketFilterV3[]]

  • msFirmwareIdGetResponseParse(): [boolean, Uuid]
  • Parses and returns parameters of the 'Get' response command in the 'MS Firmware ID' service.

    Returns [boolean, Uuid]

  • msUiccLowLevelAccessApduResponseParse(): [boolean, number, Uint8Array]
  • Parses and returns parameters of the 'APDU' response command in the 'MS UICC Low Level Access' service.

    Returns [boolean, number, Uint8Array]

  • msUiccLowLevelAccessAtrResponseParse(): [boolean, string]
  • Parses and returns parameters of the 'ATR' response command in the 'MS UICC Low Level Access' service.

    Returns [boolean, string]

  • msUiccLowLevelAccessCloseChannelResponseParse(): [boolean, number]
  • Parses and returns parameters of the 'Close Channel' response command in the 'MS UICC Low Level Access' service.

    Returns [boolean, number]

  • msUiccLowLevelAccessOpenChannelResponseParse(): [boolean, number, number, Uint8Array]
  • Parses and returns parameters of the 'Open Channel' response command in the 'MS UICC Low Level Access' service.

    Returns [boolean, number, number, Uint8Array]

  • Parses and returns parameters of the 'Terminal Capability' response command in the 'MS UICC Low Level Access' service.

    Returns [boolean, number, TerminalCapabilityInfo[]]

  • multicarrierProvidersNotificationParse(): [boolean, number, Mbim.Provider[]]
  • Parses and returns parameters of the 'Multicarrier Providers' notification command in the 'Basic Connect' service.

    Returns [boolean, number, Mbim.Provider[]]

  • multicarrierProvidersResponseParse(): [boolean, number, Mbim.Provider[]]
  • Parses and returns parameters of the 'Multicarrier Providers' response command in the 'Basic Connect' service.

    Returns [boolean, number, Mbim.Provider[]]

  • openDoneGetResult(): boolean
  • Gets the result of the 'Open' operation in the %MBIM_MESSAGE_TYPE_OPEN_DONE message.

    Returns boolean

  • openGetMaxControlTransfer(): number
  • Get the maximum control transfer set to be used in the #MbimMessage of type %MBIM_MESSAGE_TYPE_OPEN.

    Returns number

  • packetStatisticsResponseParse(): [boolean, number, number, number, number, number, number, number, number]
  • Parses and returns parameters of the 'Packet Statistics' response command in the 'Basic Connect' service.

    Returns [boolean, number, number, number, number, number, number, number, number]

  • phonebookConfigurationNotificationParse(): [boolean, PhonebookState, number, number, number, number]
  • Parses and returns parameters of the 'Configuration' notification command in the 'Phonebook' service.

    Returns [boolean, PhonebookState, number, number, number, number]

  • phonebookConfigurationResponseParse(): [boolean, PhonebookState, number, number, number, number]
  • Parses and returns parameters of the 'Configuration' response command in the 'Phonebook' service.

    Returns [boolean, PhonebookState, number, number, number, number]

  • phonebookDeleteResponseParse(): boolean
  • Parses and returns parameters of the 'Delete' response command in the 'Phonebook' service.

    Returns boolean

  • Parses and returns parameters of the 'Read' response command in the 'Phonebook' service.

    Returns [boolean, number, PhonebookEntry[]]

  • phonebookWriteResponseParse(): boolean
  • Parses and returns parameters of the 'Write' response command in the 'Phonebook' service.

    Returns boolean

  • Parses and returns parameters of the 'Pin' response command in the 'Basic Connect' service.

    Returns [boolean, PinType, PinState, number]

  • preferredProvidersNotificationParse(): [boolean, number, Mbim.Provider[]]
  • Parses and returns parameters of the 'Preferred Providers' notification command in the 'Basic Connect' service.

    Returns [boolean, number, Mbim.Provider[]]

  • preferredProvidersResponseParse(): [boolean, number, Mbim.Provider[]]
  • Parses and returns parameters of the 'Preferred Providers' response command in the 'Basic Connect' service.

    Returns [boolean, number, Mbim.Provider[]]

  • proxyControlConfigurationResponseParse(): boolean
  • Parses and returns parameters of the 'Configuration' response command in the 'Proxy Control' service.

    Returns boolean

  • proxyControlVersionNotificationParse(): [boolean, number, number]
  • Parses and returns parameters of the 'Version' notification command in the 'Proxy Control' service.

    Returns [boolean, number, number]

  • qduFileOpenResponseParse(): [boolean, number, number]
  • Parses and returns parameters of the 'File Open' response command in the 'QDU' service.

    Returns [boolean, number, number]

  • qduFileWriteResponseParse(): boolean
  • Parses and returns parameters of the 'File Write' response command in the 'QDU' service.

    Returns boolean

  • qduQuectelReadVersionResponseParse(): [boolean, number, string]
  • Parses and returns parameters of the 'Quectel Read Version' response command in the 'QDU' service.

    Returns [boolean, number, string]

  • qduQuectelRebootResponseParse(): boolean
  • Parses and returns parameters of the 'Quectel Reboot' response command in the 'QDU' service.

    Returns boolean

  • qmiMsgNotificationParse(): [boolean, Uint8Array]
  • Parses and returns parameters of the 'msg' notification command in the 'QMI' service.

    Returns [boolean, Uint8Array]

  • qmiMsgResponseParse(): [boolean, Uint8Array]
  • Parses and returns parameters of the 'msg' response command in the 'QMI' service.

    Returns [boolean, Uint8Array]

  • Gets the result of the operation from the response message, which can be either a %MBIM_MESSAGE_TYPE_FUNCTION_ERROR message or a message of the specified expected type.

    Parameters

    • expected: Mbim.MessageType

      expected #MbimMessageType if there isn't any error in the operation.

    Returns boolean

  • serviceActivationResponseParse(): [boolean, NwError, Uint8Array]
  • Parses and returns parameters of the 'Service Activation' response command in the 'Basic Connect' service.

    Returns [boolean, NwError, Uint8Array]

  • setTransactionId(transactionId: number): void
  • Sets the transaction ID of the message.

    Parameters

    • transactionId: number

      the transaction id.

    Returns void

  • signalStateNotificationParse(): [boolean, number, number, number, number, number]
  • Parses and returns parameters of the 'Signal State' notification command in the 'Basic Connect' service.

    Returns [boolean, number, number, number, number, number]

  • signalStateResponseParse(): [boolean, number, number, number, number, number]
  • Parses and returns parameters of the 'Signal State' response command in the 'Basic Connect' service.

    Returns [boolean, number, number, number, number, number]

  • smsDeleteResponseParse(): boolean
  • Parses and returns parameters of the 'Delete' response command in the 'SMS' service.

    Returns boolean

  • smsMessageStoreStatusNotificationParse(): [boolean, SmsStatusFlag, number]
  • Parses and returns parameters of the 'Message Store Status' notification command in the 'SMS' service.

    Returns [boolean, SmsStatusFlag, number]

  • smsMessageStoreStatusResponseParse(): [boolean, SmsStatusFlag, number]
  • Parses and returns parameters of the 'Message Store Status' response command in the 'SMS' service.

    Returns [boolean, SmsStatusFlag, number]

  • smsSendResponseParse(): [boolean, number]
  • Parses and returns parameters of the 'Send' response command in the 'SMS' service.

    Returns [boolean, number]

  • stkEnvelopeResponseParse(): [boolean, Uint8Array]
  • Parses and returns parameters of the 'Envelope' response command in the 'STK' service.

    Returns [boolean, Uint8Array]

  • stkPacNotificationParse(): [boolean, StkPacType, Uint8Array]
  • Parses and returns parameters of the 'Pac' notification command in the 'STK' service.

    Returns [boolean, StkPacType, Uint8Array]

  • stkPacResponseParse(): [boolean, Uint8Array]
  • Parses and returns parameters of the 'Pac' response command in the 'STK' service.

    Returns [boolean, Uint8Array]

  • stkTerminalResponseResponseParse(): [boolean, Uint8Array, number]
  • Parses and returns parameters of the 'Terminal Response' response command in the 'STK' service.

    Returns [boolean, Uint8Array, number]

  • unref(): void
  • Atomically decrements the reference count of self by one. If the reference count drops to 0, self is completely disposed.

    Returns void

  • visibleProvidersResponseParse(): [boolean, number, Mbim.Provider[]]
  • Parses and returns parameters of the 'Visible Providers' response command in the 'Basic Connect' service.

    Returns [boolean, number, Mbim.Provider[]]

  • authAkaQueryNew(rand: Uint8Array, autn: Uint8Array): Mbim.Message
  • Create a new request for the 'Aka' query command in the 'Auth' service.

    Parameters

    • rand: Uint8Array

      the 'Rand' field, given as an array of 16 #guint8 values.

    • autn: Uint8Array

      the 'Autn' field, given as an array of 16 #guint8 values.

    Returns Mbim.Message

  • authAkapQueryNew(rand: Uint8Array, autn: Uint8Array, networkName: string): Mbim.Message
  • Create a new request for the 'Akap' query command in the 'Auth' service.

    Parameters

    • rand: Uint8Array

      the 'Rand' field, given as an array of 16 #guint8 values.

    • autn: Uint8Array

      the 'Autn' field, given as an array of 16 #guint8 values.

    • networkName: string

      the 'NetworkName' field, given as a string.

    Returns Mbim.Message

  • authSimQueryNew(rand1: Uint8Array, rand2: Uint8Array, rand3: Uint8Array, n: number): Mbim.Message
  • Create a new request for the 'Sim' query command in the 'Auth' service.

    Parameters

    • rand1: Uint8Array

      the 'Rand1' field, given as an array of 16 #guint8 values.

    • rand2: Uint8Array

      the 'Rand2' field, given as an array of 16 #guint8 values.

    • rand3: Uint8Array

      the 'Rand3' field, given as an array of 16 #guint8 values.

    • n: number

      the 'N' field, given as a #guint32.

    Returns Mbim.Message

  • Create a new #MbimMessage of type %MBIM_MESSAGE_TYPE_CLOSE_DONE with the specified parameters.

    Parameters

    • transactionId: number

      transaction ID.

    • errorStatusCode: StatusError

      a #MbimStatusError.

    Returns Mbim.Message

  • Create a new #MbimMessage of type %MBIM_MESSAGE_TYPE_CLOSE with the specified parameters.

    Parameters

    • transactionId: number

      transaction ID.

    Returns Mbim.Message

  • Create a new #MbimMessage of type %MBIM_MESSAGE_TYPE_COMMAND with the specified parameters and an empty information buffer.

    Parameters

    • transactionId: number

      transaction ID.

    • service: Mbim.Service

      a #MbimService.

    • cid: number

      the command ID.

    • commandType: MessageCommandType

      the command type.

    Returns Mbim.Message

  • Create a new request for the 'Connect' query command in the 'Basic Connect' service.

    Parameters

    • sessionId: number

      the 'SessionId' field, given as a #guint32.

    • activationState: ActivationState

      the 'ActivationState' field, given as a #MbimActivationState.

    • voiceCallState: Mbim.VoiceCallState

      the 'VoiceCallState' field, given as a #MbimVoiceCallState.

    • ipType: ContextIpType

      the 'IpType' field, given as a #MbimContextIpType.

    • contextType: Uuid

      the 'ContextType' field, given as a #MbimUuid.

    • nwError: number

      the 'NwError' field, given as a #guint32.

    Returns Mbim.Message

  • Create a new request for the 'Connect' set command in the 'Basic Connect' service.

    Parameters

    • sessionId: number

      the 'SessionId' field, given as a #guint32.

    • activationCommand: ActivationCommand

      the 'ActivationCommand' field, given as a #MbimActivationCommand.

    • accessString: string

      the 'AccessString' field, given as a string.

    • userName: string

      the 'UserName' field, given as a string.

    • password: string

      the 'Password' field, given as a string.

    • compression: Mbim.Compression

      the 'Compression' field, given as a #MbimCompression.

    • authProtocol: AuthProtocol

      the 'AuthProtocol' field, given as a #MbimAuthProtocol.

    • ipType: ContextIpType

      the 'IpType' field, given as a #MbimContextIpType.

    • contextType: Uuid

      the 'ContextType' field, given as a #MbimUuid.

    Returns Mbim.Message

  • Create a new request for the 'Device Service Subscribe List' set command in the 'Basic Connect' service.

    Parameters

    • eventsCount: number

      the 'EventsCount' field, given as a #guint32.

    • events: EventEntry[]

      the 'Events' field, given as an array of #MbimEventEntry items.

    Returns Mbim.Message

  • Create a new request for the 'Device Service Subscribe List' set command in the 'Basic Connect' service.

    Parameters

    • eventsCount: number

      the 'EventsCount' field, given as a #guint32.

    • events: EventEntry

      the 'Events' field, given as an array of #MbimEventEntrys.

    Returns Mbim.Message

  • Create a new request for the 'Connect' set command in the 'DSS' service.

    Parameters

    • deviceServiceId: Uuid

      the 'DeviceServiceId' field, given as a #MbimUuid.

    • dssSessionId: number

      the 'DssSessionId' field, given as a #guint32.

    • dssLinkState: DssLinkState

      the 'DssLinkState' field, given as a #MbimDssLinkState.

    Returns Mbim.Message

  • Create a new #MbimMessage of type %MBIM_MESSAGE_TYPE_HOST_ERROR with the specified parameters.

    Parameters

    • transactionId: number

      transaction ID.

    • errorStatusCode: Mbim.ProtocolError

      a #MbimProtocolError.

    Returns Mbim.Message

  • Create a new #MbimMessage of type %MBIM_MESSAGE_TYPE_FUNCTION_ERROR with the specified parameters.

    Parameters

    • transactionId: number

      transaction ID.

    • errorStatusCode: Mbim.ProtocolError

      a #MbimProtocolError.

    Returns Mbim.Message

  • Create a new request for the 'Home Provider' set command in the 'Basic Connect' service.

    Parameters

    • provider: Mbim.Provider

      the 'Provider' field, given as a #MbimProvider.

    Returns Mbim.Message

  • Create a new request for the 'Modem Reboot' set command in the 'Intel Firmware Update' service.

    Returns Mbim.Message

  • Create a new request for the 'IP Configuration' query command in the 'Basic Connect' service.

    Parameters

    • sessionId: number

      the 'SessionId' field, given as a #guint32.

    • ipv4ConfigurationAvailable: IPConfigurationAvailableFlag

      the 'IPv4ConfigurationAvailable' field, given as a #MbimIPConfigurationAvailableFlag.

    • ipv6ConfigurationAvailable: IPConfigurationAvailableFlag

      the 'IPv6ConfigurationAvailable' field, given as a #MbimIPConfigurationAvailableFlag.

    • ipv4AddressCount: number

      the 'IPv4AddressCount' field, given as a #guint32.

    • ipv4Address: IPv4Element[]

      the 'IPv4Address' field, given as an array of #MbimIPv4Element items.

    • ipv6AddressCount: number

      the 'IPv6AddressCount' field, given as a #guint32.

    • ipv6Address: IPv6Element[]

      the 'IPv6Address' field, given as an array of #MbimIPv6Element items.

    • ipv4Gateway: IPv4

      the 'IPv4Gateway' field, given as a #MbimIPv4.

    • ipv6Gateway: IPv6

      the 'IPv6Gateway' field, given as a #MbimIPv6.

    • ipv4DnsServerCount: number

      the 'IPv4DnsServerCount' field, given as a #guint32.

    • ipv4DnsServer: IPv4[]

      the 'IPv4DnsServer' field, given as an array of #MbimIPv4 items.

    • ipv6DnsServerCount: number

      the 'IPv6DnsServerCount' field, given as a #guint32.

    • ipv6DnsServer: IPv6[]

      the 'IPv6DnsServer' field, given as an array of #MbimIPv6 items.

    • ipv4Mtu: number

      the 'IPv4Mtu' field, given as a #guint32.

    • ipv6Mtu: number

      the 'IPv6Mtu' field, given as a #guint32.

    Returns Mbim.Message

  • ipPacketFiltersQueryNew(sessionId: number, packetFiltersCount: number, packetFilters: PacketFilter[]): Mbim.Message
  • Create a new request for the 'IP Packet Filters' query command in the 'Basic Connect' service.

    Parameters

    • sessionId: number

      the 'SessionId' field, given as a #guint32.

    • packetFiltersCount: number

      the 'PacketFiltersCount' field, given as a #guint32.

    • packetFilters: PacketFilter[]

      the 'PacketFilters' field, given as an array of #MbimPacketFilter items.

    Returns Mbim.Message

  • Create a new request for the 'IP Packet Filters' set command in the 'Basic Connect' service.

    Parameters

    • sessionId: number

      the 'SessionId' field, given as a #guint32.

    • packetFiltersCount: number

      the 'PacketFiltersCount' field, given as a #guint32.

    • packetFilters: PacketFilter[]

      the 'PacketFilters' field, given as an array of #MbimPacketFilter items.

    Returns Mbim.Message

  • msBasicConnectExtensionsBaseStationsInfoQueryNew(maxGsmCount: number, maxUmtsCount: number, maxTdscdmaCount: number, maxLteCount: number, maxCdmaCount: number): Mbim.Message
  • Create a new request for the 'Base Stations Info' query command in the 'Ms Basic Connect Extensions' service.

    Parameters

    • maxGsmCount: number

      the 'MaxGsmCount' field, given as a #guint32.

    • maxUmtsCount: number

      the 'MaxUmtsCount' field, given as a #guint32.

    • maxTdscdmaCount: number

      the 'MaxTdscdmaCount' field, given as a #guint32.

    • maxLteCount: number

      the 'MaxLteCount' field, given as a #guint32.

    • maxCdmaCount: number

      the 'MaxCdmaCount' field, given as a #guint32.

    Returns Mbim.Message

  • msBasicConnectExtensionsDeviceCapsQueryNew(): Mbim.Message
  • Create a new request for the 'Device Caps' query command in the 'Ms Basic Connect Extensions' service.

    Returns Mbim.Message

  • msBasicConnectExtensionsDeviceSlotMappingsQueryNew(): Mbim.Message
  • Create a new request for the 'Device Slot Mappings' query command in the 'Ms Basic Connect Extensions' service.

    Returns Mbim.Message

  • msBasicConnectExtensionsDeviceSlotMappingsSetNew(mapCount: number, slotMap: Mbim.Slot[]): Mbim.Message
  • Create a new request for the 'Device Slot Mappings' set command in the 'Ms Basic Connect Extensions' service.

    Parameters

    • mapCount: number

      the 'MapCount' field, given as a #guint32.

    • slotMap: Mbim.Slot[]

      the 'SlotMap' field, given as an array of #MbimSlot items.

    Returns Mbim.Message

  • msBasicConnectExtensionsLocationInfoStatusQueryNew(): Mbim.Message
  • Create a new request for the 'Location Info Status' query command in the 'Ms Basic Connect Extensions' service.

    Returns Mbim.Message

  • msBasicConnectExtensionsLteAttachConfigurationQueryNew(): Mbim.Message
  • Create a new request for the 'Lte Attach Configuration' query command in the 'Ms Basic Connect Extensions' service.

    Returns Mbim.Message

  • Create a new request for the 'Lte Attach Configuration' set command in the 'Ms Basic Connect Extensions' service.

    Parameters

    • operation: LteAttachContextOperation

      the 'Operation' field, given as a #MbimLteAttachContextOperation.

    • configurationCount: number

      the 'ConfigurationCount' field, given as a #guint32.

    • configurations: LteAttachConfiguration[]

      the 'Configurations' field, given as an array of #MbimLteAttachConfiguration items.

    Returns Mbim.Message

  • msBasicConnectExtensionsLteAttachInfoQueryNew(): Mbim.Message
  • Create a new request for the 'Lte Attach Info' query command in the 'Ms Basic Connect Extensions' service.

    Returns Mbim.Message

  • msBasicConnectExtensionsLteAttachStatusQueryNew(): Mbim.Message
  • Create a new request for the 'Lte Attach Status' query command in the 'Ms Basic Connect Extensions' service.

    Returns Mbim.Message

  • Create a new request for the 'PCO' query command in the 'Ms Basic Connect Extensions' service.

    Parameters

    • pcoValue: PcoValue

      the 'PcoValue' field, given as a #MbimPcoValue.

    Returns Mbim.Message

  • msBasicConnectExtensionsProvisionedContextsQueryNew(): Mbim.Message
  • Create a new request for the 'Provisioned Contexts' query command in the 'Ms Basic Connect Extensions' service.

    Returns Mbim.Message

  • Create a new request for the 'Provisioned Contexts' set command in the 'Ms Basic Connect Extensions' service.

    Parameters

    • operation: ContextOperation

      the 'Operation' field, given as a #MbimContextOperation.

    • contextType: Uuid

      the 'ContextType' field, given as a #MbimUuid.

    • ipType: ContextIpType

      the 'IpType' field, given as a #MbimContextIpType.

    • state: ContextState

      the 'State' field, given as a #MbimContextState.

    • roaming: ContextRoamingControl

      the 'Roaming' field, given as a #MbimContextRoamingControl.

    • mediaType: ContextMediaType

      the 'MediaType' field, given as a #MbimContextMediaType.

    • source: ContextSource

      the 'Source' field, given as a #MbimContextSource.

    • accessString: string

      the 'AccessString' field, given as a string.

    • userName: string

      the 'UserName' field, given as a string.

    • password: string

      the 'Password' field, given as a string.

    • compression: Mbim.Compression

      the 'Compression' field, given as a #MbimCompression.

    • authProtocol: AuthProtocol

      the 'AuthProtocol' field, given as a #MbimAuthProtocol.

    Returns Mbim.Message

  • msBasicConnectExtensionsSlotInfoStatusQueryNew(slotIndex: number): Mbim.Message
  • Create a new request for the 'Slot Info Status' query command in the 'Ms Basic Connect Extensions' service.

    Parameters

    • slotIndex: number

      the 'SlotIndex' field, given as a #guint32.

    Returns Mbim.Message

  • msBasicConnectExtensionsSysCapsQueryNew(): Mbim.Message
  • Create a new request for the 'Sys Caps' query command in the 'Ms Basic Connect Extensions' service.

    Returns Mbim.Message

  • msBasicConnectExtensionsV2VersionQueryNew(mbimVersion: number, mbimExtendedVersion: number): Mbim.Message
  • Create a new request for the 'Version' query command in the 'Ms Basic Connect Extensions V2' service.

    Parameters

    • mbimVersion: number

      the 'MbimVersion' field, given as a #guint16.

    • mbimExtendedVersion: number

      the 'MbimExtendedVersion' field, given as a #guint16.

    Returns Mbim.Message

  • msBasicConnectExtensionsV3BaseStationsInfoQueryNew(maxGsmCount: number, maxUmtsCount: number, maxTdscdmaCount: number, maxLteCount: number, maxCdmaCount: number, maxNrCount: number): Mbim.Message
  • Create a new request for the 'Base Stations Info' query command in the 'Ms Basic Connect Extensions V3' service.

    Parameters

    • maxGsmCount: number

      the 'MaxGsmCount' field, given as a #guint32.

    • maxUmtsCount: number

      the 'MaxUmtsCount' field, given as a #guint32.

    • maxTdscdmaCount: number

      the 'MaxTdscdmaCount' field, given as a #guint32.

    • maxLteCount: number

      the 'MaxLteCount' field, given as a #guint32.

    • maxCdmaCount: number

      the 'MaxCdmaCount' field, given as a #guint32.

    • maxNrCount: number

      the 'MaxNrCount' field, given as a #guint32.

    Returns Mbim.Message

  • msBasicConnectExtensionsV3ModemConfigurationQueryNew(): Mbim.Message
  • Create a new request for the 'Modem Configuration' query command in the 'Ms Basic Connect Extensions V3' service.

    Returns Mbim.Message

  • msBasicConnectExtensionsV3RegistrationParametersQueryNew(): Mbim.Message
  • Create a new request for the 'Registration Parameters' query command in the 'Ms Basic Connect Extensions V3' service.

    Returns Mbim.Message

  • Create a new request for the 'Registration Parameters' set command in the 'Ms Basic Connect Extensions V3' service.

    Parameters

    • micoMode: MicoMode

      the 'MicoMode' field, given as a #MbimMicoMode.

    • drxCycle: DrxCycle

      the 'DrxCycle' field, given as a #MbimDrxCycle.

    • ladnInfo: LadnInfo

      the 'LadnInfo' field, given as a #MbimLadnInfo.

    • defaultPduActivationHint: DefaultPduActivationHint

      the 'DefaultPduActivationHint' field, given as a #MbimDefaultPduActivationHint.

    • reRegisterIfNedeed: boolean

      the 'ReRegisterIfNedeed' field, given as a #gboolean.

    • unnamedIes: Tlv[]

      the 'UnnamedIes' field, given as a list of # items.

    Returns Mbim.Message

  • msBasicConnectExtensionsV3WakeReasonQueryNew(): Mbim.Message
  • Create a new request for the 'Wake Reason' query command in the 'Ms Basic Connect Extensions V3' service.

    Returns Mbim.Message

  • msBasicConnectV3ConnectQueryNew(sessionId: number): Mbim.Message
  • Create a new request for the 'Connect' query command in the 'Ms Basic Connect V3' service.

    Parameters

    • sessionId: number

      the 'SessionId' field, given as a #guint32.

    Returns Mbim.Message

  • Create a new request for the 'Connect' set command in the 'Ms Basic Connect V3' service.

    Parameters

    • sessionId: number

      the 'SessionId' field, given as a #guint32.

    • activationCommand: ActivationCommand

      the 'ActivationCommand' field, given as a #MbimActivationCommand.

    • compression: Mbim.Compression

      the 'Compression' field, given as a #MbimCompression.

    • authProtocol: AuthProtocol

      the 'AuthProtocol' field, given as a #MbimAuthProtocol.

    • ipType: ContextIpType

      the 'IpType' field, given as a #MbimContextIpType.

    • contextType: Uuid

      the 'ContextType' field, given as a #MbimUuid.

    • mediaPreference: AccessMediaType

      the 'MediaPreference' field, given as a #MbimAccessMediaType.

    • accessString: string

      the 'AccessString' field, given as a string.

    • userName: string

      the 'UserName' field, given as a string.

    • password: string

      the 'Password' field, given as a string.

    • unnamedIes: Tlv[]

      the 'UnnamedIes' field, given as a list of # items.

    Returns Mbim.Message

  • msBasicConnectV3IpPacketFiltersQueryNew(sessionId: number, packetFiltersCount: number, packetFilters: PacketFilterV3[]): Mbim.Message
  • Create a new request for the 'IP Packet Filters' query command in the 'Ms Basic Connect V3' service.

    Parameters

    • sessionId: number

      the 'SessionId' field, given as a #guint32.

    • packetFiltersCount: number

      the 'PacketFiltersCount' field, given as a #guint32.

    • packetFilters: PacketFilterV3[]

      the 'PacketFilters' field, given as an array of #MbimPacketFilterV3 items.

    Returns Mbim.Message

  • msBasicConnectV3IpPacketFiltersSetNew(sessionId: number, packetFiltersCount: number, packetFilters: PacketFilterV3[]): Mbim.Message
  • Create a new request for the 'IP Packet Filters' set command in the 'Ms Basic Connect V3' service.

    Parameters

    • sessionId: number

      the 'SessionId' field, given as a #guint32.

    • packetFiltersCount: number

      the 'PacketFiltersCount' field, given as a #guint32.

    • packetFilters: PacketFilterV3[]

      the 'PacketFilters' field, given as an array of #MbimPacketFilterV3 items.

    Returns Mbim.Message

  • Create a new request for the 'Config' set command in the 'MS SAR' service.

    Parameters

    • mode: SarControlMode

      the 'Mode' field, given as a #MbimSarControlMode.

    • backoffState: SarBackoffState

      the 'BackoffState' field, given as a #MbimSarBackoffState.

    • configStatesCount: number

      the 'ConfigStatesCount' field, given as a #guint32.

    • configStates: SarConfigState[]

      the 'ConfigStates' field, given as an array of #MbimSarConfigState items.

    Returns Mbim.Message

  • Create a new request for the 'Transmission status' set command in the 'MS SAR' service.

    Parameters

    • channelNotification: TransmissionNotificationStatus

      the 'ChannelNotification' field, given as a #MbimTransmissionNotificationStatus.

    • hysteresisTimer: number

      the 'HysteresisTimer' field, given as a #guint32.

    Returns Mbim.Message

  • Create a new request for the 'APDU' set command in the 'MS UICC Low Level Access' service.

    Parameters

    • channel: number

      the 'Channel' field, given as a #guint32.

    • secureMessaging: UiccSecureMessaging

      the 'SecureMessaging' field, given as a #MbimUiccSecureMessaging.

    • classByteType: UiccClassByteType

      the 'ClassByteType' field, given as a #MbimUiccClassByteType.

    • command: Uint8Array

      the 'Command' field, given as an array of #guint8 values.

    Returns Mbim.Message

  • msUiccLowLevelAccessCloseChannelSetNew(channel: number, channelGroup: number): Mbim.Message
  • Create a new request for the 'Close Channel' set command in the 'MS UICC Low Level Access' service.

    Parameters

    • channel: number

      the 'Channel' field, given as a #guint32.

    • channelGroup: number

      the 'ChannelGroup' field, given as a #guint32.

    Returns Mbim.Message

  • msUiccLowLevelAccessOpenChannelSetNew(appId: Uint8Array, selectP2Arg: number, channelGroup: number): Mbim.Message
  • Create a new request for the 'Open Channel' set command in the 'MS UICC Low Level Access' service.

    Parameters

    • appId: Uint8Array

      the 'AppId' field, given as an array of #guint8 values.

    • selectP2Arg: number

      the 'SelectP2Arg' field, given as a #guint32.

    • channelGroup: number

      the 'ChannelGroup' field, given as a #guint32.

    Returns Mbim.Message

  • Create a new request for the 'Reset' set command in the 'MS UICC Low Level Access' service.

    Parameters

    • passThroughAction: UiccPassThroughAction

      the 'PassThroughAction' field, given as a #MbimUiccPassThroughAction.

    Returns Mbim.Message

  • msUiccLowLevelAccessTerminalCapabilityQueryNew(): Mbim.Message
  • Create a new request for the 'Terminal Capability' query command in the 'MS UICC Low Level Access' service.

    Returns Mbim.Message

  • Create a new request for the 'Terminal Capability' set command in the 'MS UICC Low Level Access' service.

    Parameters

    • terminalCapabilityCount: number

      the 'TerminalCapabilityCount' field, given as a #guint32.

    • terminalCapability: TerminalCapabilityInfo[]

      the 'TerminalCapability' field, given as an array of #MbimTerminalCapabilityInfo items.

    Returns Mbim.Message

  • Create a new request for the 'Multicarrier Providers' query command in the 'Basic Connect' service.

    Returns Mbim.Message

  • Create a new request for the 'Multicarrier Providers' set command in the 'Basic Connect' service.

    Parameters

    • providersCount: number

      the 'ProvidersCount' field, given as a #guint32.

    • providers: Mbim.Provider[]

      the 'Providers' field, given as an array of #MbimProvider items.

    Returns Mbim.Message

  • Create a new request for the 'Network Idle Hint' query command in the 'Basic Connect' service.

    Returns Mbim.Message

  • Create a #MbimMessage with the given contents.

    Parameters

    • data: number

      contents of the message.

    • dataLength: number

      length of the message.

    Returns Mbim.Message

  • Create a new #MbimMessage of type %MBIM_MESSAGE_TYPE_OPEN_DONE with the specified parameters.

    Parameters

    • transactionId: number

      transaction ID.

    • errorStatusCode: StatusError

      a #MbimStatusError.

    Returns Mbim.Message

  • openNew(transactionId: number, maxControlTransfer: number): Mbim.Message
  • Create a new #MbimMessage of type %MBIM_MESSAGE_TYPE_OPEN with the specified parameters.

    Parameters

    • transactionId: number

      transaction ID.

    • maxControlTransfer: number

      maximum control transfer.

    Returns Mbim.Message

  • Create a new request for the 'Packet Service' set command in the 'Basic Connect' service.

    Parameters

    • packetServiceAction: PacketServiceAction

      the 'PacketServiceAction' field, given as a #MbimPacketServiceAction.

    Returns Mbim.Message

  • Create a new request for the 'Packet Statistics' query command in the 'Basic Connect' service.

    Returns Mbim.Message

  • Create a new request for the 'Delete' set command in the 'Phonebook' service.

    Parameters

    • filterFlag: PhonebookFlag

      the 'FilterFlag' field, given as a #MbimPhonebookFlag.

    • filterMessageIndex: number

      the 'FilterMessageIndex' field, given as a #guint32.

    Returns Mbim.Message

  • Create a new request for the 'Read' query command in the 'Phonebook' service.

    Parameters

    • filterFlag: PhonebookFlag

      the 'FilterFlag' field, given as a #MbimPhonebookFlag.

    • filterMessageIndex: number

      the 'FilterMessageIndex' field, given as a #guint32.

    Returns Mbim.Message

  • Create a new request for the 'Write' set command in the 'Phonebook' service.

    Parameters

    • saveFlag: PhonebookWriteFlag

      the 'SaveFlag' field, given as a #MbimPhonebookWriteFlag.

    • saveIndex: number

      the 'SaveIndex' field, given as a #guint32.

    • number: string

      the 'Number' field, given as a string.

    • name: string

      the 'Name' field, given as a string.

    Returns Mbim.Message

  • Create a new request for the 'Pin' set command in the 'Basic Connect' service.

    Parameters

    • pinType: PinType

      the 'PinType' field, given as a #MbimPinType.

    • pinOperation: PinOperation

      the 'PinOperation' field, given as a #MbimPinOperation.

    • pin: string

      the 'Pin' field, given as a string.

    • newPin: string

      the 'NewPin' field, given as a string.

    Returns Mbim.Message

  • Create a new request for the 'Preferred Providers' query command in the 'Basic Connect' service.

    Returns Mbim.Message

  • Create a new request for the 'Preferred Providers' set command in the 'Basic Connect' service.

    Parameters

    • providersCount: number

      the 'ProvidersCount' field, given as a #guint32.

    • providers: Mbim.Provider[]

      the 'Providers' field, given as an array of #MbimProvider items.

    Returns Mbim.Message

  • Create a new request for the 'Provisioned Contexts' query command in the 'Basic Connect' service.

    Returns Mbim.Message

  • provisionedContextsSetNew(contextId: number, contextType: Uuid, accessString: string, userName: string, password: string, compression: Mbim.Compression, authProtocol: AuthProtocol, providerId: string): Mbim.Message
  • Create a new request for the 'Provisioned Contexts' set command in the 'Basic Connect' service.

    Parameters

    • contextId: number

      the 'ContextId' field, given as a #guint32.

    • contextType: Uuid

      the 'ContextType' field, given as a #MbimUuid.

    • accessString: string

      the 'AccessString' field, given as a string.

    • userName: string

      the 'UserName' field, given as a string.

    • password: string

      the 'Password' field, given as a string.

    • compression: Mbim.Compression

      the 'Compression' field, given as a #MbimCompression.

    • authProtocol: AuthProtocol

      the 'AuthProtocol' field, given as a #MbimAuthProtocol.

    • providerId: string

      the 'ProviderId' field, given as a string.

    Returns Mbim.Message

  • proxyControlConfigurationSetNew(devicePath: string, timeout: number): Mbim.Message
  • Create a new request for the 'Configuration' set command in the 'Proxy Control' service.

    Parameters

    • devicePath: string

      the 'DevicePath' field, given as a string.

    • timeout: number

      the 'Timeout' field, given as a #guint32.

    Returns Mbim.Message

  • Create a new request for the 'File Open' set command in the 'QDU' service.

    Parameters

    • fileType: QduFileType

      the 'FileType' field, given as a #MbimQduFileType.

    • fileSize: number

      the 'FileSize' field, given as a #guint32.

    Returns Mbim.Message

  • qduFileWriteSetNew(dataBuffer: Uint8Array): Mbim.Message
  • Create a new request for the 'File Write' set command in the 'QDU' service.

    Parameters

    • dataBuffer: Uint8Array

      the 'DataBuffer' field, given as an array of #guint8 values.

    Returns Mbim.Message

  • Create a new request for the 'Update Session' set command in the 'QDU' service.

    Parameters

    • sessionAction: QduSessionAction

      the 'SessionAction' field, given as a #MbimQduSessionAction.

    • sessionType: QduSessionType

      the 'SessionType' field, given as a #MbimQduSessionType.

    Returns Mbim.Message

  • Create a new request for the 'msg' set command in the 'QMI' service.

    Parameters

    • qmiMsg: Uint8Array

      the 'QmiMsg' field, given as an array of #guint8 values.

    Returns Mbim.Message

  • Create a new request for the 'Radio State' set command in the 'Basic Connect' service.

    Parameters

    • radioState: RadioSwitchState

      the 'RadioState' field, given as a #MbimRadioSwitchState.

    Returns Mbim.Message

  • Create a new request for the 'Register State' set command in the 'Basic Connect' service.

    Parameters

    • providerId: string

      the 'ProviderId' field, given as a string.

    • registerAction: RegisterAction

      the 'RegisterAction' field, given as a #MbimRegisterAction.

    • dataClass: Mbim.DataClass

      the 'DataClass' field, given as a #MbimDataClass.

    Returns Mbim.Message

  • serviceActivationSetNew(buffer: Uint8Array): Mbim.Message
  • Create a new request for the 'Service Activation' set command in the 'Basic Connect' service.

    Parameters

    • buffer: Uint8Array

      the 'Buffer' field, given as an array of #guint8 values.

    Returns Mbim.Message

  • signalStateSetNew(signalStrengthInterval: number, rssiThreshold: number, errorRateThreshold: number): Mbim.Message
  • Create a new request for the 'Signal State' set command in the 'Basic Connect' service.

    Parameters

    • signalStrengthInterval: number

      the 'SignalStrengthInterval' field, given as a #guint32.

    • rssiThreshold: number

      the 'RssiThreshold' field, given as a #guint32.

    • errorRateThreshold: number

      the 'ErrorRateThreshold' field, given as a #guint32.

    Returns Mbim.Message

  • Create a new request for the 'Configuration' set command in the 'SMS' service.

    Parameters

    • format: SmsFormat

      the 'Format' field, given as a #MbimSmsFormat.

    • scAddress: string

      the 'ScAddress' field, given as a string.

    Returns Mbim.Message

  • Create a new request for the 'Delete' set command in the 'SMS' service.

    Parameters

    • flag: SmsFlag

      the 'Flag' field, given as a #MbimSmsFlag.

    • messageIndex: number

      the 'MessageIndex' field, given as a #guint32.

    Returns Mbim.Message

  • Create a new request for the 'Read' query command in the 'SMS' service.

    Parameters

    • format: SmsFormat

      the 'Format' field, given as a #MbimSmsFormat.

    • flag: SmsFlag

      the 'Flag' field, given as a #MbimSmsFlag.

    • messageIndex: number

      the 'MessageIndex' field, given as a #guint32.

    Returns Mbim.Message

  • Create a new request for the 'Send' set command in the 'SMS' service.

    Parameters

    • format: SmsFormat

      the 'Format' field, given as a #MbimSmsFormat.

    • pduMessage: SmsPduSendRecord

      the 'PduMessage' field, given as a #MbimSmsPduSendRecord.

    • cdmaMessage: SmsCdmaSendRecord

      the 'CdmaMessage' field, given as a #MbimSmsCdmaSendRecord.

    Returns Mbim.Message

  • Create a new request for the 'Envelope' set command in the 'STK' service.

    Parameters

    • data: Uint8Array

      the 'Data' field, given as an array of #guint8 values.

    Returns Mbim.Message

  • Create a new request for the 'Pac' set command in the 'STK' service.

    Parameters

    • pacHostControl: Uint8Array

      the 'PacHostControl' field, given as an array of 32 #guint8 values.

    Returns Mbim.Message

  • stkTerminalResponseSetNew(response: Uint8Array): Mbim.Message
  • Create a new request for the 'Terminal Response' set command in the 'STK' service.

    Parameters

    • response: Uint8Array

      the 'Response' field, given as an array of #guint8 values.

    Returns Mbim.Message

  • Create a new request for the 'Subscriber Ready Status' query command in the 'Basic Connect' service.

    Returns Mbim.Message

  • Create a new request for the '' set command in the 'USSD' service.

    Parameters

    • action: UssdAction

      the 'Action' field, given as a #MbimUssdAction.

    • dataCodingScheme: number

      the 'DataCodingScheme' field, given as a #guint32.

    • payload: Uint8Array

      the 'Payload' field, given as an array of #guint8 values.

    Returns Mbim.Message

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method