Driver


Functions

SWI_API SWI_RCODE SwiGetServiceName (LPTSTR pstrServiceName, U32 &nSize)
SWI_API SWI_RCODE SwiGetDriverVersion (LPTSTR szDriverVersion, U32 szLength, U32 timeout)

Function Documentation

SWI_API SWI_RCODE SwiGetDriverVersion ( LPTSTR  szDriverVersion,
U32  szLength,
U32  timeout 
)

This function is used to retrieve the NDIS driver version.

This command only works with devices using the network adapter interface.

Parameters:
[OUT] szDriverVersion: A NULL terminated string containing the NDIS driver version.
[IN] szLength: Length of buffer provided for the NDIS driver version. A recommended buffer size of 100 bytes is recommended.
[IN] timeout: Response timeout value in milliseconds.
Returns:
SWI_RCODE_OK The request has been received by the modem.

SWI_RCODE_REQUEST_TIMEOUT: The request has timed out.

See SWI_RCODE for other error return codes.

SWI_API SWI_RCODE SwiGetServiceName ( LPTSTR  pstrServiceName,
U32 &  nSize 
)

This function is used to get the name of the driver interface in use.

This command only works with devices using the network adapter interface.

Parameters:
[OUT] pstrServiceName: Buffer to store the service name
[IN/OUT] nSize: Maximum service name length/required length.
Returns:
SWI_RCODE_OK: Service name successfully retrieved

SWI_RCODE_SMALL_BUF: Buffer provided is not big enough. nSize contains the required buffer size.


Generated on Fri Oct 2 10:27:31 2009 for 3G SDK by  doxygen 1.5.9