【修改】AT 组件版本判断操作

Signed-off-by: chenyong <1521761801@qq.com>
This commit is contained in:
chenyong 2019-07-19 16:43:44 +08:00
parent fe27e52ff9
commit d70339d4c8
15 changed files with 2 additions and 57 deletions

View File

@ -29,10 +29,6 @@
#include <at_device_ec20.h>
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
#error "This AT Client version is older, please check and update latest AT Client!"
#endif
#define LOG_TAG "at.dev"
#include <at_log.h>

View File

@ -29,10 +29,6 @@
#include <at_device_ec20.h>
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
#error "This AT Client version is older, please check and update latest AT Client!"
#endif
#define LOG_TAG "at.skt"
#include <at_log.h>

View File

@ -28,10 +28,6 @@
#include <at_device_esp8266.h>
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
#error "This AT Client version is older, please check and update latest AT Client!"
#endif
#define LOG_TAG "at.dev"
#include <at_log.h>

View File

@ -28,10 +28,6 @@
#include <at_device_esp8266.h>
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
#error "This AT Client version is older, please check and update latest AT Client!"
#endif
#define LOG_TAG "at.skt"
#include <at_log.h>

View File

@ -28,10 +28,6 @@
#include <at_device_m26.h>
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
#error "This AT Client version is older, please check and update latest AT Client!"
#endif
#define LOG_TAG "at.dev"
#include <at_log.h>

View File

@ -28,10 +28,6 @@
#include <at_device_m26.h>
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
#error "This AT Client version is older, please check and update latest AT Client!"
#endif
#define LOG_TAG "at.dev"
#include <at_log.h>

View File

@ -27,10 +27,6 @@
#include <at_device_mw31.h>
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
#error "This AT Client version is older, please check and update latest AT Client!"
#endif
#define LOG_TAG "at.dev"
#include <at_log.h>

View File

@ -27,10 +27,6 @@
#include <at_device_mw31.h>
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
#error "This AT Client version is older, please check and update latest AT Client!"
#endif
#define LOG_TAG "at.skt"
#include <at_log.h>

View File

@ -28,10 +28,6 @@
#include <at_device_rw007.h>
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
#error "This AT Client version is older, please check and update latest AT Client!"
#endif
#define LOG_TAG "at.dev"
#include <at_log.h>

View File

@ -28,10 +28,6 @@
#include <at_device_rw007.h>
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
#error "This AT Client version is older, please check and update latest AT Client!"
#endif
#define LOG_TAG "at.skt"
#include <at_log.h>

View File

@ -30,10 +30,6 @@
#include <at_device_sim76xx.h>
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
#error "This AT Client version is older, please check and update latest AT Client!"
#endif
#define LOG_TAG "at.dev"
#include <at_log.h>

View File

@ -30,10 +30,6 @@
#include <at_device_sim76xx.h>
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
#error "This AT Client version is older, please check and update latest AT Client!"
#endif
#define LOG_TAG "at.skt"
#include <at_log.h>

View File

@ -29,10 +29,6 @@
#include <at_device_sim800c.h>
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
#error "This AT Client version is older, please check and update latest AT Client!"
#endif
#define LOG_TAG "at.dev"
#include <at_log.h>

View File

@ -28,10 +28,6 @@
#include <at_device_sim800c.h>
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300
#error "This AT Client version is older, please check and update latest AT Client!"
#endif
#define LOG_TAG "at.skt"
#include <at_log.h>

View File

@ -32,9 +32,10 @@ extern "C" {
#include <at.h>
#include <at_socket.h>
#if !defined(RT_USING_NETDEV)
#if !defined(RT_USING_NETDEV) || (!defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10300)
#error "This RT-Thread version is older, please check and updata laster RT-Thread!"
#else
#include <arpa/inet.h>
#include <netdev.h>
#endif /* RT_USING_NETDEV */