Chapter 3 — Configuring the Computer

GetRadioIpAddress()

Call this function to obtain a formatted string indicating whether DHCP is enabled, and what is the current adapters IP address.

 

 

Syntax

UINT GetRadioIpAddress( TCHAR * );

 

 

Parameters

Pointer to a character array that contains the formatted string of the IP

 

 

 

address and static/DHCP information.

 

 

Return Values

ERROR_SUCCESS when successful, ERR_QUERY_FAILED when the

 

 

 

query failed, or ERR_CONNECT_FAILED if a connection with the

 

 

 

radio failed.

 

 

 

 

Remarks

If ERROR_SUCCESS is returned, your TCHAR array contains a string

 

 

 

formatted as follows:

 

 

 

IP: DHCP Enabled\nxxx.xxx.xxx.xxx\n or

 

 

 

IP: DHCP Disabled\nxxx.xxx.xxx.xxx\n

 

 

Definitions

#ifdef DYNAMIC_LOADING

 

 

 

typedef UINT (*PFN_GetRadioIpAddress)(TCHAR *);

 

 

 

#else

 

 

 

 

 

UINT GetRadioIpAddress(TCHAR *);

 

 

 

#endif

 

 

 

 

GetCCXStatus()

 

 

 

 

Call this to get information about the current CCX status of the adapter.

 

 

 

Syntax

UINT GetCCXStatus( ULONG & );

Parameters

NDIS_NETWORK_EAP_MODE_OFF

Disable EAP mode.

 

 

NDIS_NETWORK_EAP_MODE_ON

Enable EAP mode.

Return Values ERROR_SUCCESS when successful, ERR_QUERY_FAILED when the query failed, or ERR_CONNECT_FAILED if a connection with the radio failed.

Remarks

If ERROR_SUCCESS is returned, your ULONG reference is populated with one of parameters listed

 

above.

Definitions

#ifdef DYNAMIC_LOADING

 

typedef UINT (*PFN_GetCCXStatus)(ULONG &);

 

#else

 

UINT GetCCXStatus(ULONG &);

 

#endif

86

751G Color Mobile Computer User’s Manual

Page 100
Image 100
Intermec 751G user manual Uint GetRadioIpAddress Tchar, Uint GetCCXStatus Ulong