【修改】添加对 AT Client 版本号判断
Signed-off-by: chenyong <1521761801@qq.com>
This commit is contained in:
parent
fe2bb3d4d6
commit
26b3e2b2b7
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue