Getradioipaddress(), Getccxstatus() – Intermec 700 User Manual

Page 301

Advertising
background image

Programming

Chapter 7

277

700 Series Color Mobile Computer User’s Manual

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 function 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

Advertising