Merge pull request #19 from chenyong111/master

【修改】添加对 AT Client 版本号判断
This commit is contained in:
朱天龙 (Armink) 2018-08-22 16:32:37 +08:00 committed by GitHub
commit 41042058a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -31,6 +31,10 @@
#include <at_socket.h>
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10000
#error "This AT Client version is older, please check and update latest AT Client!"
#endif
#ifndef AT_DEVICE_NOT_SELECTED
#define ESP8266_MODULE_SEND_MAX_SIZE 2048

View File

@ -31,6 +31,10 @@
#include <at.h>
#include <at_socket.h>
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10000
#error "This AT Client version is older, please check and update latest AT Client!"
#endif
#ifndef AT_DEVICE_NOT_SELECTED
#define M26_MODULE_SEND_MAX_SIZE 1460