PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
ClariusWifi.h
Go to the documentation of this file.
1 #ifndef _CLARIUSWIFI_H
2 #define _CLARIUSWIFI_H
3 
4 // local includes
5 #include "PlusConfigure.h"
6 
7 // Windows includes
8 #include <windows.h>
9 #include <wlanapi.h>
10 #include <objbase.h>
11 #include <wtypes.h>
12 
13 // STL includes
14 #include <iostream>
15 #include <string>
16 
18 {
19 public:
20  ClariusWifi();
21  ~ClariusWifi();
22 
28 
31  PlusStatus IsClariusNetworkReady(std::string ssid);
32 
34 
36  PlusStatus ConnectToClariusWifi(std::string ssid, std::string password);
37 
40 
42  PlusStatus UpdateClariusWifiProfile(std::string ssid, std::string password);
43 
44 private:
45 
47  PlusStatus StringToSsid(std::string ssid, PDOT11_SSID pdot11_ssid);
48 
49  bool Connected; // are we currently connected to Clarius Wifi network
50  HANDLE HClient; // client handle
51  DWORD CurApiVersion; // negotiated WLAN api version
52  GUID InterfaceGuid; // WLAN interface to connect to the Clarius over
53  DOT11_BSS_TYPE BssType; // BSS type to connect to
54 };
55 
56 #endif // _CLARIUSWIFI_H
PlusStatus IsClariusNetworkReady(std::string ssid)
Definition: ClariusWifi.cxx:78
igsioStatus PlusStatus
Definition: PlusCommon.h:40
PlusStatus DeInitialize()
Definition: ClariusWifi.cxx:58
PlusStatus UpdateClariusWifiProfile(std::string ssid, std::string password)
PlusStatus ConnectToClariusWifi(std::string ssid, std::string password)
unsigned long DWORD
Definition: ATC3DGm.h:451
PlusStatus IsClariusNetworkConnected()
PlusStatus DisconnectFromClariusWifi()
const char int const char * password
Definition: phidget22.h:2552
PlusStatus Initialize()
Definition: ClariusWifi.cxx:37