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/IPAddress.h

Committer:
yangcq88517
Date:
2015-02-04
Revision:
1:fd19bd683e90
Parent:
0:8e83b9448758
Child:
9:0ce800923eda

File content as of revision 1:fd19bd683e90:

#ifndef SmartLab_MuRata_Type_IPAddress
#define SmartLab_MuRata_Type_IPAddress

#include "IConfig.h"

#include <string>
#include "mbed.h"

using namespace std;

namespace SmartLabMuRata
{
class IPAddress : public IConfig
{
private:
    char address[4];

public :
    IPAddress();

    IPAddress(const string & ip);

    void SetValue(const char * data, int offset = 0);

    virtual const char * GetValue();

    virtual int GetValueLength();
    
    void ToString(string * ipString);
};
}

#endif