Rearrange stuff so it makes more sense
This commit is contained in:
		| @@ -1,13 +1,13 @@ | ||||
| /** | ||||
|  * @file       TinyWiFiClientESP8266.h | ||||
|  * @file       TinyGsmClientESP8266.h | ||||
|  * @author     Volodymyr Shymanskyy | ||||
|  * @license    LGPL-3.0 | ||||
|  * @copyright  Copyright (c) 2016 Volodymyr Shymanskyy | ||||
|  * @date       Nov 2016 | ||||
|  */ | ||||
|  | ||||
| #ifndef TinyWiFiClientESP8266_h | ||||
| #define TinyWiFiClientESP8266_h | ||||
| #ifndef TinyGsmClientESP8266_h | ||||
| #define TinyGsmClientESP8266_h | ||||
|  | ||||
| //#define TINY_GSM_DEBUG Serial | ||||
|  | ||||
| @@ -15,6 +15,8 @@ | ||||
|   #define TINY_GSM_RX_BUFFER 256 | ||||
| #endif | ||||
|  | ||||
| #define TINY_GSM_MUX_COUNT 5 | ||||
|  | ||||
| #include <TinyGsmCommon.h> | ||||
|  | ||||
| #define GSM_NL "\r\n" | ||||
| @@ -366,7 +368,7 @@ finish: | ||||
|  | ||||
| private: | ||||
|   Stream&       stream; | ||||
|   GsmClient*    sockets[5]; | ||||
|   GsmClient*    sockets[TINY_GSM_MUX_COUNT]; | ||||
| }; | ||||
|  | ||||
| typedef TinyGsm::GsmClient TinyGsmClient; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user