MySensors Library & Examples
2.3.2-62-ge298769
drivers
TinyGSM
TinyGsmClient.h
1
9
#ifndef TinyGsmClient_h
10
#define TinyGsmClient_h
11
12
#if defined(TINY_GSM_MODEM_SIM800) || defined(TINY_GSM_MODEM_SIM868) || defined(TINY_GSM_MODEM_U201) || defined(TINY_GSM_MODEM_ESP8266)
13
#define TINY_GSM_MODEM_HAS_SSL
14
#endif
15
16
#if defined(TINY_GSM_MODEM_SIM808) || defined(TINY_GSM_MODEM_SIM868) || defined(TINY_GSM_MODEM_A7)
17
#define TINY_GSM_MODEM_HAS_GPS
18
#endif
19
20
#if defined(TINY_GSM_MODEM_SIM800) || defined(TINY_GSM_MODEM_SIM900)
21
#define TINY_GSM_MODEM_HAS_GPRS
22
#include "TinyGsmClientSIM800.h"
23
typedef
TinyGsmSim800
TinyGsm
;
24
typedef
TinyGsmSim800::GsmClient
TinyGsmClient;
25
typedef
TinyGsmSim800::GsmClientSecure
TinyGsmClientSecure;
26
27
#elif defined(TINY_GSM_MODEM_SIM808) || defined(TINY_GSM_MODEM_SIM868)
28
#define TINY_GSM_MODEM_HAS_GPRS
29
#include "TinyGsmClientSIM808.h"
30
typedef
TinyGsmSim808
TinyGsm
;
31
typedef
TinyGsmSim808::GsmClient
TinyGsmClient;
32
typedef
TinyGsmSim808::GsmClientSecure
TinyGsmClientSecure;
33
34
#elif defined(TINY_GSM_MODEM_A6) || defined(TINY_GSM_MODEM_A7)
35
#define TINY_GSM_MODEM_HAS_GPRS
36
#include "TinyGsmClientA6.h"
37
typedef
TinyGsm::GsmClient
TinyGsmClient;
38
39
#elif defined(TINY_GSM_MODEM_M590)
40
#define TINY_GSM_MODEM_HAS_GPRS
41
#include "TinyGsmClientM590.h"
42
typedef
TinyGsm::GsmClient
TinyGsmClient;
43
44
#elif defined(TINY_GSM_MODEM_U201)
45
#define TINY_GSM_MODEM_HAS_GPRS
46
#include "TinyGsmClientU201.h"
47
typedef
TinyGsmU201
TinyGsm
;
48
typedef
TinyGsmU201::GsmClient
TinyGsmClient;
49
typedef
TinyGsmU201::GsmClientSecure
TinyGsmClientSecure;
50
51
#elif defined(TINY_GSM_MODEM_ESP8266)
52
#define TINY_GSM_MODEM_HAS_WIFI
53
#include "TinyGsmClientESP8266.h"
54
typedef
TinyGsm::GsmClient
TinyGsmClient;
55
typedef
TinyGsm::GsmClientSecure
TinyGsmClientSecure;
56
57
#elif defined(TINY_GSM_MODEM_XBEE)
58
#define TINY_GSM_MODEM_HAS_GPRS
59
#define TINY_GSM_MODEM_HAS_WIFI
60
#include "TinyGsmClientXBee.h"
61
typedef
TinyGsm::GsmClient
TinyGsmClient;
62
63
#else
64
#error "Please define GSM modem model"
65
#endif
66
67
#endif
TinyGsmSim800
Definition:
TinyGsmClientSIM800.h:43
TinyGsmU201::GsmClient
Definition:
TinyGsmClientU201.h:47
TinyGsmU201::GsmClientSecure
Definition:
TinyGsmClientU201.h:195
TinyGsm::GsmClientSecure
Definition:
TinyGsmClientESP8266.h:174
TinyGsm
Definition:
TinyGsmClientA6.h:42
TinyGsmSim800::GsmClient
Definition:
TinyGsmClientSIM800.h:48
TinyGsm::GsmClient
Definition:
TinyGsmClientA6.h:47
TinyGsmSim800::GsmClientSecure
Definition:
TinyGsmClientSIM800.h:206
TinyGsmSim808
Definition:
TinyGsmClientSIM808.h:14
TinyGsmU201
Definition:
TinyGsmClientU201.h:42
Copyright (C) 2013-2019 Sensnology AB. Generated by
doxygen
1.8.17