Intermec CN2B Uživatelský manuál Strana 183

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 264
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 182
Chapter 7 — Programming
CN2B Mobile Computer User’s Manual 165
GetDiversity()
Call this function to get the current diversity setting of your 802.11b/g
radio. This uses an optional NDIS5.1 OID to query the radio, of which a
large number of 802.11b/g devices do not support. This may be inaccurate.
Syntax UINT GetDiversity(USHORT *);
Parameters None.
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 USHORT reference is popu-
lated with one of the parameters listed above.
Definitions #ifdef DYNAMIC_LOADING
typedef UINT (*PFN_GetDiversity)(USHORT *);
#else
UINT GetDiversity(USHORT *);
#endif
GetLinkSpeed()
Call this function to get the current link speed of the 802.11b/g radio.
Syntax UINT GetLinkSpeed( int & );
Parameters This accepts an int reference, and your int is populated with the cur-
rent link speed, in Mbps, rounded to the nearest whole integer, for
example: 1, 2, 5, 11, etc.
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 Data returned is valid if ERROR_SUCCESS is returned.
Definitions #ifdef DYNAMIC_LOADING
typedef UINT (*PFN_GetLinkSpeed)(int &);
#else
UINT GetLinkSpeed(int &);
#endif
Definitions #ifdef DYNAMIC_LOADING
typedef UINT (*PFN_GetBSSID)(TCHAR *);
#else
UINT GetBSSID(TCHAR *);
#endif
Zobrazit stránku 182
1 2 ... 178 179 180 181 182 183 184 185 186 187 188 ... 263 264

Komentáře k této Příručce

Žádné komentáře