Murata RF modules are designed to simplify wireless development and certification by minimizing the amount of RF expertise you need to wirelessly enable a wide range of applications.
Diff: Type/WIFINetworkDetail.h
- Revision:
- 0:8e83b9448758
- Child:
- 9:0ce800923eda
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Type/WIFINetworkDetail.h Tue Feb 03 21:24:15 2015 +0000 @@ -0,0 +1,51 @@ +#ifndef SmartLab_MuRata_Type_WIFINetworkDetail +#define SmartLab_MuRata_Type_WIFINetworkDetail + +#include "WIFINetwork.h" +#include "BSSType.h" + +namespace SmartLabMuRata +{ +class WIFINetworkDetail : public WIFINetwork +{ +private: + int rssi; + BSSType netType; + // Max Data Rate (Mbps) + int maxDataRate; + +public : + WIFINetworkDetail(); + + WIFINetworkDetail(const char * SSID, const SecurityMode securityMode, const BSSType networkType, const int rssi, const int maxDataRate); + + int GetRSSI(); + + /// <summary> + /// Max Data Rate (Mbps) + /// </summary> + /// <returns></returns> + int GetMaxDataRate(); + + BSSType GetNetworkType(); + + WIFINetworkDetail * SetRSSI(const int rssi); + + WIFINetworkDetail * SetNetworkType(const BSSType networkType) ; + + WIFINetworkDetail * SetMaxDataRate(const int maxDataRate); + + virtual WIFINetworkDetail * SetSecurityKey(const char * SecurityKey); + + virtual WIFINetworkDetail * SetBSSID(const char * BSSID); + + virtual WIFINetworkDetail * SetSSID(const char * SSID); + + virtual WIFINetworkDetail * SetSecurityMode(const SecurityMode securityMode); + + virtual WIFINetworkDetail * SetChannel(const char channel); + +}; +} + +#endif \ No newline at end of file