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.

Type/WIFINetworkDetail.h

Committer:
yangcq88517
Date:
2016-03-16
Revision:
9:0ce800923eda
Parent:
0:8e83b9448758

File content as of revision 9:0ce800923eda:

#ifndef SmartLab_MuRata_Type_WIFINetworkDetail
#define SmartLab_MuRata_Type_WIFINetworkDetail

#include "WIFINetwork.h"
#include "BSSType.h"

namespace SmartLabMuRata
{
class WIFINetworkDetail : public WIFINetwork
{
private:
    int8_t rssi;
    BSSType netType;
    // Max Data Rate (Mbps)
    int maxDataRate;

public :
    WIFINetworkDetail();
    
    virtual ~WIFINetworkDetail();

    WIFINetworkDetail(const char * SSID, const SecurityMode securityMode, const BSSType networkType, const int rssi, const int maxDataRate);

    int8_t 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