#ifndef _GSMMannager_H_
#define _GSMMannager_H_


// #define TINY_GSM_MODEM_SIM800
#define TINY_GSM_MODEM_BG96
#define SerialMon Serial
#include <TinyGsmClient.h>
#include <PubSubClient.h>
#include "log.h"


//#define TINY_GSM_DEBUG SerialMon
#define GSM_AUTOBAUD_MIN 9600
#define GSM_AUTOBAUD_MAX 115200
#define TINY_GSM_USE_GPRS true
#define TINY_GSM_USE_WIFI false

#define GSM_PIN ""



class GSMMannger
{
   public:
       GSMMannger(int serialnumber,int rx,int tx);  // ���ǹ��캯��
        // GSMMannger();
        TinyGsm *modem;
        TinyGsmClient *client;
        String GetDataAndTime();
        void loop();
        String I2toS(int n);
    int year,month, day, hour,minute, second;
    float timezone;

};

#endif
 
 