【修改】添加对 AT Client 版本号判断

Signed-off-by: chenyong <1521761801@qq.com>
This commit is contained in:
chenyong 2018-08-22 15:19:44 +08:00
parent fe2bb3d4d6
commit 26b3e2b2b7
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