Hw Diagnostics Api Functions; Hwdiaggetportids; Hwdiagconnect - Huawei MU736 HSPA+ M.2 Connection Manual

Connection management api
Hide thumbs Also See for MU736 HSPA+ M.2:
Table of Contents

Advertisement

HUAWEI MU736 HSPA+ M.2 Module
Connection Management API

1.10 HW Diagnostics API Functions

Table 1-11 HW diagnostics API functions
Function names

HWDIAGGetPortIDs

HWDIAGConnect

HWDIAGDisconnect
1.10.1 HWDIAGGetPortIDs
Description
This function obtains the set of port IDs that is available for use by the HW diagnostics
API. This function must be called first in order for the diagnostics API to function
correctly.
Function timeout
4 sec
Prototype
ULONG HWDIAGGetPortIDs(
BYTE * pPortSize,
BYTE * pPorts);
Parameters
Type
BYTE *
BYTE *
1.10.2 HWDIAGConnect
Description
This function connects the HW Diagnostics API to the specified port ID.
Issue 01(2013-03-12)
The function returns result in a 1 sec timeout to 4 sec.
Variable
pPortSize
pPorts
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
HW Connection Management API
Description
Get available port IDs.
Connect to the module's diagnostics port.
Disconnect from the device diagnostics port.
Mode
Description
Upon input, the maximum
IN/OUT
number of elements that the port
ID array can contain.
Upon successful output, the
actual number of elements in the
port ID array.
OUT
Port ID array
27

Advertisement

Table of Contents
loading

Table of Contents