Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
WIFINetworkDetail.h
00001 #ifndef SmartLab_MuRata_Type_WIFINetworkDetail 00002 #define SmartLab_MuRata_Type_WIFINetworkDetail 00003 00004 #include "WIFINetwork.h" 00005 #include "BSSType.h" 00006 00007 namespace SmartLabMuRata 00008 { 00009 class WIFINetworkDetail : public WIFINetwork 00010 { 00011 private: 00012 int8_t rssi; 00013 BSSType netType; 00014 // Max Data Rate (Mbps) 00015 int maxDataRate; 00016 00017 public : 00018 WIFINetworkDetail(); 00019 00020 virtual ~WIFINetworkDetail(); 00021 00022 WIFINetworkDetail(const char * SSID, const SecurityMode securityMode, const BSSType networkType, const int rssi, const int maxDataRate); 00023 00024 int8_t GetRSSI(); 00025 00026 /// <summary> 00027 /// Max Data Rate (Mbps) 00028 /// </summary> 00029 /// <returns></returns> 00030 int GetMaxDataRate(); 00031 00032 BSSType GetNetworkType(); 00033 00034 WIFINetworkDetail * SetRSSI(const int rssi); 00035 00036 WIFINetworkDetail * SetNetworkType(const BSSType networkType) ; 00037 00038 WIFINetworkDetail * SetMaxDataRate(const int maxDataRate); 00039 00040 virtual WIFINetworkDetail * SetSecurityKey(const char * SecurityKey); 00041 00042 virtual WIFINetworkDetail * SetBSSID(const char * BSSID); 00043 00044 virtual WIFINetworkDetail * SetSSID(const char * SSID); 00045 00046 virtual WIFINetworkDetail * SetSecurityMode(const SecurityMode securityMode); 00047 00048 virtual WIFINetworkDetail * SetChannel(const char channel); 00049 00050 }; 00051 } 00052 00053 #endif
Generated on Fri Jul 15 2022 01:02:11 by
1.7.2