Linux LITE MBIM
MBPL_SDK_R25_ENG3
|
Go to the source code of this file.
Data Structures | |
struct | MbimEventEntry |
struct | MbimTelephoneNumber |
struct | MBIM_IPV4_ADDRESS |
struct | MBIM_IPV4_ELEMENT |
struct | MBIM_IPV6_ADDRESS |
struct | MBIM_IPV6_ELEMENT |
Typedefs | |
typedef struct MbimEventEntry | MbimEventEntry |
Functions | |
const uint8_t * | BasicConnectDeviceService_Uuid () |
uint32_t | BasicConnectDeviceService_DeviceServiceSubscribeSetBuild (const uint8_t **ppDeviceServiceId, uint32_t *pCid, uint32_t *pCommandType, uint8_t *informationBuffer, uint32_t *pInformationBufferLength, uint32_t elementCount, MbimEventEntry *elements) |
int | BasicConnectDeviceService_DeviceServiceSubscribeSetSend (MbimTransaction *pTransaction, MbimTransport *pTransport, uint32_t elementCount, MbimEventEntry *pElements) |
const char * | MBIMDataClassToString (uint32_t flag) |
const char * | MBIMCellularClassToString (uint32_t flag) |
uint32_t | BasicConnectDeviceService_DeviceServiceSubscribeParse (uint8_t *informationBuffer, uint32_t informationBufferLength, uint32_t *pElementCount, MbimEventEntry *pElements) |
const char * | MBIMSubscriberReadyStateToString (MBIM_SUBSCRIBER_READY_STATE value) |
const char * | MBIMReadyInfoFlagsToString (MBIM_UNIQUE_ID_FLAGS value) |
uint32_t | BasicConnectDeviceService_SubscriberReadyStatusQueryBuild (const uint8_t **ppDeviceServiceId, uint32_t *pCid, uint32_t *pCommandType) |
uint32_t | BasicConnectDeviceService_SubscriberReadyStatusParse (uint8_t *informationBuffer, uint32_t informationBufferLength, MBIM_SUBSCRIBER_READY_STATE *pReadyState, uint32_t *pSubscriberIdLen, wchar_t *pSubscriberId, uint32_t *pSimIccIdLen, wchar_t *pSimIccId, MBIM_UNIQUE_ID_FLAGS *pReadyInfo, MbimTelephoneNumber *pTelephoneNumbers, uint32_t *pTelephoneNumberCount) |
const char * | MBIMPacketServiceActionToString (MBIM_PACKET_SERVICE_ACTION value) |
const char * | MBIMPacketServiceStateToString (MBIM_PACKET_SERVICE_STATE value) |
uint32_t | BasicConnect_DeviceService_PacketServiceSetBuild (const uint8_t **ppDeviceServiceId, uint32_t *pCid, uint32_t *pCommandType, uint8_t *informationBuffer, uint32_t *pInformationBufferLength, MBIM_PACKET_SERVICE_ACTION packetServiceAction) |
uint32_t | BasicConnectDeviceService_PacketServiceQueryBuild (const uint8_t **ppDeviceServiceId, uint32_t *pCid, uint32_t *pCommandType) |
uint32_t | BasicConnectDeviceService_PacketServiceParse (uint8_t *informationBuffer, uint32_t informationBufferLength, uint32_t *pNwError, MBIM_PACKET_SERVICE_STATE *pPacketServiceState, uint32_t *pHighestAvailableDataClass, uint64_t *pUplinkSpeed, uint64_t *pDownlinkSpeed) |
const char * | MBIMRegisterActionToString (MBIM_REGISTER_ACTION value) |
const char * | MBIMRegisterStateToString (MBIM_REGISTER_STATE value) |
const char * | MBIMRegisterModeToString (MBIM_REGISTER_MODE value) |
const char * | MBIMRegistrationFlagToString (uint32_t flag) |
uint32_t | BasicConnectDeviceService_RegisterStateSetBuild (const uint8_t **ppDeviceServiceId, uint32_t *pCid, uint32_t *pCommandType, uint8_t *informationBuffer, uint32_t *pInformationBufferLength, wchar_t *providerId, MBIM_REGISTER_ACTION registerAction, uint32_t dataClass) |
uint32_t | BasicConnectDeviceService_RegisterStateQueryBuild (const uint8_t **ppDeviceServiceId, uint32_t *pCid, uint32_t *pCommandType) |
uint32_t | BasicConnectDeviceService_RegisterStateParse (uint8_t *informationBuffer, uint32_t informationBufferLength, uint32_t *pNwError, MBIM_REGISTER_STATE *pRegisterState, MBIM_REGISTER_MODE *pRegisterMode, uint32_t *pAvailableDataClasses, uint32_t *pCurrentCellularClass, uint32_t *pProviderIdLen, wchar_t *pProviderId, uint32_t *pProviderNameLen, wchar_t *pProviderName, uint32_t *pRoamingTextLen, wchar_t *pRoamingText, uint32_t *pRegistrationFlag) |
const char * | MBIMActivationCommandToString (MBIM_ACTIVATION_COMMAND value) |
const char * | MBIMCompressionToString (MBIM_COMPRESSION value) |
const char * | MBIMAuthProtocolToString (MBIM_AUTH_PROTOCOL value) |
const char * | MBIMContextIPTypeToString (MBIM_CONTEXT_IP_TYPE value) |
const char * | MBIMActivationStateToString (MBIM_ACTIVATION_STATE value) |
const char * | MBIMVoiceCallStateToString (MBIM_VOICE_CALL_STATE value) |
const char * | MBIMContextTypeToString (uint8_t *value) |
uint32_t | BasicConnectDeviceService_ConnectSetBuild (const uint8_t **ppDeviceServiceId, uint32_t *pCid, uint32_t *pCommandType, uint8_t *informationBuffer, uint32_t *pInformationBufferLength, uint32_t sessionId, MBIM_ACTIVATION_COMMAND activationCommand, wchar_t *accessString, wchar_t *userName, wchar_t *password, MBIM_COMPRESSION compression, MBIM_AUTH_PROTOCOL authProtocol, MBIM_CONTEXT_IP_TYPE ipType, uint8_t *contextType) |
uint32_t | BasicConnectDeviceService_ConnectQueryBuild (const uint8_t **ppDeviceServiceId, uint32_t *pCid, uint32_t *pCommandType, uint8_t *informationBuffer, uint32_t *pInformationBufferLength, uint32_t sessionId) |
uint32_t | BasicConnectDeviceService_ConnectParse (uint8_t *informationBuffer, uint32_t informationBufferLength, uint32_t *pSessionId, MBIM_ACTIVATION_STATE *pActivationState, MBIM_VOICE_CALL_STATE *pVoiceCallState, MBIM_CONTEXT_IP_TYPE *pIPType, uint8_t *pContextType, uint32_t *pNwError) |
uint32_t | BasicConnectDeviceService_IpConfigurationQueryBuild (const uint8_t **ppDeviceServiceId, uint32_t *pCid, uint32_t *pCommandType, uint8_t *informationBuffer, uint32_t *pInformationBufferLength, uint32_t sessionId) |
uint32_t | BasicConnectDeviceService_IpConfigurationParse (uint8_t *informationBuffer, uint32_t informationBufferLength, uint32_t *pSessionId, uint32_t *pIPv4ConfigurationAvailable, uint32_t *pIPv6ConfigurationAvailable, uint32_t *pIPv4AddressCount, MBIM_IPV4_ELEMENT *pIPv4Addresses, uint32_t *pIPv6AddressCount, MBIM_IPV6_ELEMENT *pIPv6Addresses, MBIM_IPV4_ADDRESS *pIPv4Gateway, MBIM_IPV6_ADDRESS *pIPv6Gateway, uint32_t *pIPv4DnsServerCount, MBIM_IPV4_ADDRESS *pIPv4DnsServers, uint32_t *pIPv6DnsServerCount, MBIM_IPV6_ADDRESS *pIPv6DnsServers, uint32_t *pIPv4Mtu, uint32_t *pIPv6Mtu) |
const char * | MBIMPinTypeToString (MBIM_PIN_TYPE value) |
const char * | MBIMPinStateToString (MBIM_PIN_STATE value) |
const char * | MBIMPinOperationToString (MBIM_PIN_OPERATION value) |
uint32_t | BasicConnectDeviceService_PinSetBuild (const uint8_t **ppDeviceServiceId, uint32_t *pCid, uint32_t *pCommandType, uint8_t *informationBuffer, uint32_t *pInformationBufferLength, MBIM_PIN_TYPE pinType, MBIM_PIN_OPERATION pinOperation, wchar_t *pPin, wchar_t *pNewPin) |
uint32_t | BasicConnectDeviceService_PinQueryBuild (const uint8_t **ppDeviceServiceId, uint32_t *pCid, uint32_t *pCommandType) |
uint32_t | BasicConnectDeviceService_PinParse (uint8_t *informationBuffer, uint32_t informationBufferLength, MBIM_PIN_TYPE *pPinType, MBIM_PIN_STATE *pPinState, uint32_t *pRemainingAttempts) |
const char * | MBIMRadioToString (MBIM_RADIO_SWITCH_STATE value) |
uint32_t | BasicConnectDeviceService_RadioStateSetBuild (const uint8_t **ppDeviceServiceId, uint32_t *pCid, uint32_t *pCommandType, uint8_t *informationBuffer, uint32_t *pInformationBufferLength, MBIM_RADIO_SWITCH_STATE radioState) |
uint32_t | BasicConnectDeviceService_RadioStateQueryBuild (const uint8_t **ppDeviceServiceId, uint32_t *pCid, uint32_t *pCommandType) |
uint32_t | BasicConnectDeviceService_RadioStateParse (uint8_t *informationBuffer, uint32_t informationBufferLength, MBIM_RADIO_SWITCH_STATE *pHwRadioState, MBIM_RADIO_SWITCH_STATE *pSwRadioState) |
#define MBIMDataClassNone 0x0 |
MBIM_DATA_CLASS A bitmap that represents which radio technologies are supported by the function. The following table shows the possible values for this member.None
#define MBIMDataClassGPRS 0x1 |
GPRS
#define MBIMDataClassEDGE 0x2 |
EDGE
#define MBIMDataClassUMTS 0x4 |
UMTS
#define MBIMDataClassHSDPA 0x8 |
HSDPA
#define MBIMDataClassHSUPA 0x10 |
HSUPA
#define MBIMDataClassLTE 0x20 |
LTE
#define MBIMDataClassReservedForFutureGSM 0x8f40 |
Reserved for future GSM
#define MBIMDataClass1XRTT 0x10000 |
1XRTT
#define MBIMDataClass1XEVDO 0x20000 |
1XEVDO
#define MBIMDataClass1XEVDORevA 0x40000 |
1XEVDORevA
#define MBIMDataClass1XEVDV 0x80000 |
1XEVDV
#define MBIMDataClass3XRTT 0x100000 |
3XRTT
#define MBIMDataClass1XEVDORevB 0x200000 |
1XEVDORevB
#define MBIMDataClassUMB 0x400000 |
UMB
#define MBIMDataClassReservedForFutureCDMA 0x4f800000 |
Reserved for future CDMA
#define MBIMDataClassCustom 0x80000000 |
Custom
#define MBIMCellularClassGsm 0x1 |
MBIM_CELLULAR_CLASS A bitmap of cellular technologies. The following table shows the possible values for this member.None
#define MBIMCellularClassCdma 0x2 |
GPRS
#define MBIM_TELEPHONE_NUMBER_MAX_LEN 22 |
Maximum number of chars in a telephone number (excluding NULL terminator)
#define MBIM_REGISTRATION_NONE 0x0 |
MBIM_REGISTRATION_FLAGS A bitmap that indicates network conditions related to auto-attach and manual network selection capabilities.None
#define MBIM_REGISTRATION_MANUAL_SELECTION_NOT_AVAILABLE 0x1 |
Manual selection not available
#define MBIM_REGISTRATION_PACKET_SERVICE_AUTOMATIC_ATTACH 0x2 |
Packet service automatic attach
#define MBIM_ACCESS_STRING_MAX_LEN 100 |
Maximum number of chars in access string (excluding NULL terminator)
#define MBIM_USER_NAME_MAX_LEN 255 |
Maximum number of chars in user name (excluding NULL terminator)
#define MBIM_PASSWORD_MAX_LEN 255 |
Maximum number of chars in password (excluding NULL terminator)
#define MBIMContextTypeNone |
MBIM_CONTEXT_TYPES To use, declare a variable: uint8_t uuid[] = MBIMContextTypeXXX; The context is not yet provisioned
#define MBIMContextTypeInternet |
The context represents a connection to the Internet This context type is mandatory.
#define MBIMContextTypeVpn |
The context represents a connection to virtual private network (VPN to a corporate network).
#define MBIMContextTypeVoice |
The context represents a connection to a Voice-over-IP (VOIP) service
#define MBIMContextTypeVideoShare |
The context represents a connection to a video sharing service
#define MBIMContextTypePurchase |
The context represents a connection to an over-the-air activation site.
#define MBIMContextTypeIMS |
The context represents a connection to IMS.
#define MBIMContextTypeMMS |
The context represents a connection to MMS.
#define MBIMContextTypeLocal |
The context represents a local connection which is terminated at the device. Hence, the IP traffic will not be sent over the air.
#define MBIM_IPV4_CONFIGURATION_AVAILABLE_ADDRESS 0x1 |
MBIM_IPV4_CONFIGURATION_AVAILABLE_FLAGS A bitmap that indicates which IPv4 configuration values are available from device.IP address is available
#define MBIM_IPV4_CONFIGURATION_AVAILABLE_GATEWAY 0x2 |
Gateway is available
#define MBIM_IPV4_CONFIGURATION_AVAILABLE_DNS 0x4 |
DNS is available
#define MBIM_IPV4_CONFIGURATION_AVAILABLE_MTU 0x8 |
MTU is available
#define MBIM_IPV6_CONFIGURATION_AVAILABLE_ADDRESS 0x1 |
MBIM_IPV6_CONFIGURATION_AVAILABLE_FLAGS A bitmap that indicates which IPv6 configuration values are available from device.IP address is available
#define MBIM_IPV6_CONFIGURATION_AVAILABLE_GATEWAY 0x2 |
Gateway is available
#define MBIM_IPV6_CONFIGURATION_AVAILABLE_DNS 0x4 |
DNS is available
#define MBIM_IPV6_CONFIGURATION_AVAILABLE_MTU 0x8 |
MTU is available
typedef struct MbimEventEntry MbimEventEntry |
This structure represents the command IDs (CIDs) of indications related to a specific MBIM device service for which a user will be informed.
DeviceServiceId |
|
CidCount |
|
Cids |
|
enum MBIM_UNIQUE_ID_FLAGS |
enum MBIM_REGISTER_ACTION |
enum MBIM_REGISTER_STATE |
enum MBIM_REGISTER_MODE |
enum MBIM_PIN_TYPE |
enum MBIM_PIN_STATE |
enum MBIM_PIN_OPERATION |
const uint8_t* BasicConnectDeviceService_Uuid | ( | ) |
Returns the UUID for the MBIM Basic Connect device service.
uint32_t BasicConnectDeviceService_DeviceServiceSubscribeSetBuild | ( | const uint8_t ** | ppDeviceServiceId, |
uint32_t * | pCid, | ||
uint32_t * | pCommandType, | ||
uint8_t * | informationBuffer, | ||
uint32_t * | pInformationBufferLength, | ||
uint32_t | elementCount, | ||
MbimEventEntry * | elements | ||
) |
Build a MBIM_CID_DEVICE_SERVICE_SUBSCRIBE_LIST set payload.
[out] | ppDeviceServiceId | Device service UUID will be placed here on return. |
[out] | pCid | CID for command will be placed here on return. |
[out] | pCommandType | MBIM_COMMAND_TYPE will be placed here on return. |
[out] | informationBuffer | Buffer where MBIM payload will be constructed. |
[in,out] | pInformationBufferLength | in = informationBuffer capacity, out = bytes used. |
[in] | elementCount | Number of MbimEventEntry elements in the payload. |
[in] | elements | Array of elements. |
int BasicConnectDeviceService_DeviceServiceSubscribeSetSend | ( | MbimTransaction * | pTransaction, |
MbimTransport * | pTransport, | ||
uint32_t | elementCount, | ||
MbimEventEntry * | pElements | ||
) |
CAUTION: DEPRECATED, here for backward compatability. Please use combination of BasicConnectDeviceService_DeviceServiceSubscribeSetBuild() and MbimTransport_SendCommand() going forward.
Send a MBIM_CID_DEVICE_SERVICE_SUBSCRIBE_LIST command to the device service and return immediately.
[in] | pTransaction | Transaction object which will track the command/response. |
[in] | pTransport | MBIM transport object which will carry out the command. |
[in] | elementCount | Number of MbimEventEntry elements in the command. |
[in] | pElements | Array of elements. |
uint32_t BasicConnectDeviceService_DeviceServiceSubscribeParse | ( | uint8_t * | informationBuffer, |
uint32_t | informationBufferLength, | ||
uint32_t * | pElementCount, | ||
MbimEventEntry * | pElements | ||
) |
Parse a MBIM_CID_DEVICE_SERVICE_SUBSCRIBE_LIST response.
[in] | informationBuffer | Response's information data. |
[in] | informationBufferLength | Number of bytes of information in response. |
[in,out] | pElementCount | If caller sets *pElementCount = 0, on return it will be set to number of elements available, without returning any (pElements may be NULL). If caller sets *pElementCount > 0, function will return the minimum of this value and the number of elements available (pElements must not be NULL). This allows caller to optionally determine storage required in first call and retrieve actual data in second call. |
[out] | pElements | Array of elements to be written to by parsing response. |
uint32_t BasicConnectDeviceService_SubscriberReadyStatusQueryBuild | ( | const uint8_t ** | ppDeviceServiceId, |
uint32_t * | pCid, | ||
uint32_t * | pCommandType | ||
) |
Build a MBIM_CID_SUBSCRIBER_READY_STATUS query payload.
[out] | ppDeviceServiceId | Device service UUID will be placed here on return. |
[out] | pCid | CID for command will be placed here on return. |
[out] | pCommandType | MBIM_COMMAND_TYPE will be placed here on return. |
uint32_t BasicConnect_DeviceService_PacketServiceSetBuild | ( | const uint8_t ** | ppDeviceServiceId, |
uint32_t * | pCid, | ||
uint32_t * | pCommandType, | ||
uint8_t * | informationBuffer, | ||
uint32_t * | pInformationBufferLength, | ||
MBIM_PACKET_SERVICE_ACTION | packetServiceAction | ||
) |
Build a MBIM_CID_PACKET_SERVICE set payload.
[out] | ppDeviceServiceId | Device service UUID will be placed here on return. |
[out] | pCid | CID for command will be placed here on return. |
[out] | pCommandType | MBIM_COMMAND_TYPE will be placed here on return. |
[out] | informationBuffer | Buffer where MBIM payload will be constructed. |
[in,out] | pInformationBufferLength | in = informationBuffer capacity, out = bytes used. |
[in] | packetServiceAction | Packet service action. |
uint32_t BasicConnectDeviceService_PacketServiceQueryBuild | ( | const uint8_t ** | ppDeviceServiceId, |
uint32_t * | pCid, | ||
uint32_t * | pCommandType | ||
) |
Build a MBIM_CID_PACKET_SERVICE query payload.
[out] | ppDeviceServiceId | Device service UUID will be placed here on return. |
[out] | pCid | CID for command will be placed here on return. |
[out] | pCommandType | MBIM_COMMAND_TYPE will be placed here on return. |
uint32_t BasicConnectDeviceService_RegisterStateSetBuild | ( | const uint8_t ** | ppDeviceServiceId, |
uint32_t * | pCid, | ||
uint32_t * | pCommandType, | ||
uint8_t * | informationBuffer, | ||
uint32_t * | pInformationBufferLength, | ||
wchar_t * | providerId, | ||
MBIM_REGISTER_ACTION | registerAction, | ||
uint32_t | dataClass | ||
) |
Build a MBIM_CID_REGISTER_STATE set payload.
[out] | ppDeviceServiceId | Device service UUID will be placed here on return. |
[out] | pCid | CID for command will be placed here on return. |
[out] | pCommandType | MBIM_COMMAND_TYPE will be placed here on return. |
[out] | informationBuffer | Buffer where MBIM payload will be constructed. |
[in,out] | pInformationBufferLength | in = informationBuffer capacity, out = bytes used. |
[in] | providerId | provider ID (NULL-terminated). |
[in] | registerAction | Register action. |
[in] | dataClass | One of MBIM_DATA_CLASS. |
uint32_t BasicConnectDeviceService_RegisterStateQueryBuild | ( | const uint8_t ** | ppDeviceServiceId, |
uint32_t * | pCid, | ||
uint32_t * | pCommandType | ||
) |
Build a MBIM_CID_REGISTER_STATE query payload.
[out] | ppDeviceServiceId | Device service UUID will be placed here on return. |
[out] | pCid | CID for command will be placed here on return. |
[out] | pCommandType | MBIM_COMMAND_TYPE will be placed here on return. |
uint32_t BasicConnectDeviceService_ConnectSetBuild | ( | const uint8_t ** | ppDeviceServiceId, |
uint32_t * | pCid, | ||
uint32_t * | pCommandType, | ||
uint8_t * | informationBuffer, | ||
uint32_t * | pInformationBufferLength, | ||
uint32_t | sessionId, | ||
MBIM_ACTIVATION_COMMAND | activationCommand, | ||
wchar_t * | accessString, | ||
wchar_t * | userName, | ||
wchar_t * | password, | ||
MBIM_COMPRESSION | compression, | ||
MBIM_AUTH_PROTOCOL | authProtocol, | ||
MBIM_CONTEXT_IP_TYPE | ipType, | ||
uint8_t * | contextType | ||
) |
Build a MBIM_CID_CONNECT set payload.
[out] | ppDeviceServiceId | Device service UUID will be placed here on return. |
[out] | pCid | CID for command will be placed here on return. |
[out] | pCommandType | MBIM_COMMAND_TYPE will be placed here on return. |
[out] | informationBuffer | Buffer where MBIM payload will be constructed. |
[in,out] | pInformationBufferLength | in = informationBuffer capacity, out = bytes used. |
[in] | sessionId | Session ID for this session. |
[in] | activationCommand | Activation command. |
[in] | accessString | Access string (NULL-terminated), may be NULL. |
[in] | userName | User name (NULL-terminated), may be NULL . |
[in] | password | Password (NULL-terminated), may be NULL. |
[in] | compression | Compression type. |
[in] | authProtocol | Authentication protocol. |
[in] | ipType | IP type. |
[in] | contextType | Context type, UUID initialized to one of MBIM_CONTEXT_TYPES. |
uint32_t BasicConnectDeviceService_ConnectQueryBuild | ( | const uint8_t ** | ppDeviceServiceId, |
uint32_t * | pCid, | ||
uint32_t * | pCommandType, | ||
uint8_t * | informationBuffer, | ||
uint32_t * | pInformationBufferLength, | ||
uint32_t | sessionId | ||
) |
Build a MBIM_CID_CONNECT set payload.
[out] | ppDeviceServiceId | Device service UUID will be placed here on return. |
[out] | pCid | CID for command will be placed here on return. |
[out] | pCommandType | MBIM_COMMAND_TYPE will be placed here on return. |
[out] | informationBuffer | Buffer where MBIM payload will be constructed. |
[in,out] | pInformationBufferLength | in = informationBuffer capacity, out = bytes used. |
[in] | sessionId | Session ID for this session. |
uint32_t BasicConnectDeviceService_IpConfigurationQueryBuild | ( | const uint8_t ** | ppDeviceServiceId, |
uint32_t * | pCid, | ||
uint32_t * | pCommandType, | ||
uint8_t * | informationBuffer, | ||
uint32_t * | pInformationBufferLength, | ||
uint32_t | sessionId | ||
) |
Build a MBIM_CID_IP_CONFIGURATION query payload.
[out] | ppDeviceServiceId | Device service UUID will be placed here on return. |
[out] | pCid | CID for command will be placed here on return. |
[out] | pCommandType | MBIM_COMMAND_TYPE will be placed here on return. |
[out] | informationBuffer | Buffer where MBIM payload will be constructed. |
[in,out] | pInformationBufferLength | in = informationBuffer capacity, out = bytes used. |
[in] | sessionId | Session ID for this session. |
uint32_t BasicConnectDeviceService_PinSetBuild | ( | const uint8_t ** | ppDeviceServiceId, |
uint32_t * | pCid, | ||
uint32_t * | pCommandType, | ||
uint8_t * | informationBuffer, | ||
uint32_t * | pInformationBufferLength, | ||
MBIM_PIN_TYPE | pinType, | ||
MBIM_PIN_OPERATION | pinOperation, | ||
wchar_t * | pPin, | ||
wchar_t * | pNewPin | ||
) |
Build a MBIM_CID_PIN set payload.
[out] | ppDeviceServiceId | Device service UUID will be placed here on return. |
[out] | pCid | CID for command will be placed here on return. |
[out] | pCommandType | MBIM_COMMAND_TYPE will be placed here on return. |
[out] | informationBuffer | Buffer where MBIM payload will be constructed. |
[in,out] | pInformationBufferLength | in = informationBuffer capacity, out = bytes used. |
[in] | pinType | PIN type to be operated upon. |
[in] | pinOperation | Operation to be performed. |
[in] | pPin | PIN value (NULL-terminated), may be NULL. |
[in] | pNewPin | PIN value (NULL-terminated), may be NULL. |
uint32_t BasicConnectDeviceService_PinQueryBuild | ( | const uint8_t ** | ppDeviceServiceId, |
uint32_t * | pCid, | ||
uint32_t * | pCommandType | ||
) |
Build a MBIM_CID_PIN query payload.
[out] | ppDeviceServiceId | Device service UUID will be placed here on return. |
[out] | pCid | CID for command will be placed here on return. |
[out] | pCommandType | MBIM_COMMAND_TYPE will be placed here on return. |
uint32_t BasicConnectDeviceService_RadioStateSetBuild | ( | const uint8_t ** | ppDeviceServiceId, |
uint32_t * | pCid, | ||
uint32_t * | pCommandType, | ||
uint8_t * | informationBuffer, | ||
uint32_t * | pInformationBufferLength, | ||
MBIM_RADIO_SWITCH_STATE | radioState | ||
) |
Build a MBIM_CID_RADIO_STATE set payload.
[out] | ppDeviceServiceId | Device service UUID will be placed here on return. |
[out] | pCid | CID for command will be placed here on return. |
[out] | pCommandType | MBIM_COMMAND_TYPE will be placed here on return. |
[out] | informationBuffer | Buffer where MBIM payload will be constructed. |
[in,out] | pInformationBufferLength | in = informationBuffer capacity, out = bytes used. |
[in] | radioState | Desired radio state. |
uint32_t BasicConnectDeviceService_RadioStateQueryBuild | ( | const uint8_t ** | ppDeviceServiceId, |
uint32_t * | pCid, | ||
uint32_t * | pCommandType | ||
) |
Build a MBIM_CID_RADIO_STATE query payload.
[out] | ppDeviceServiceId | Device service UUID will be placed here on return. |
[out] | pCid | CID for command will be placed here on return. |
[out] | pCommandType | MBIM_COMMAND_TYPE will be placed here on return. |