Easylube

Dependencies:   DS1820 libmDot mbed-rtos mbed

Lora.h

Committer:
TataLora
Date:
2016-10-14
Revision:
3:323401b1b227
Parent:
2:26ffaed90e4f

File content as of revision 3:323401b1b227:


#ifndef LORA_NETWORK_NAME

#include "mDot.h"
#include "MTSLog.h"
//#include <vector>

class Lora {
public:
    Lora(mDot* dot, std::string networkName, std::string networkPassword, uint8_t frequencySubBand = 1);
    void SendData(std::vector<uint8_t> data, uint8_t maxAttempts);
    
private:
    void config();
    
    mDot* _dot;
    std::string _networkName;
    std::string _networkPassword;
    uint8_t _frequencySubBand;
    
    bool _isInitialized;
};

#endif