commit
a6c434b4f6
|
@ -32,7 +32,12 @@
|
|||
#include <at.h>
|
||||
#include <at_socket.h>
|
||||
|
||||
#if !defined(RT_USING_NETDEV)
|
||||
#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 */
|
||||
|
||||
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10200
|
||||
#error "This AT Client version is older, please check and update latest AT Client!"
|
||||
|
|
|
@ -22,16 +22,21 @@
|
|||
* 2018-06-20 chenyong first version
|
||||
*/
|
||||
|
||||
#include <at.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <rtthread.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <at.h>
|
||||
#include <at_socket.h>
|
||||
|
||||
#if !defined(RT_USING_NETDEV)
|
||||
#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 */
|
||||
|
||||
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10200
|
||||
#error "This AT Client version is older, please check and update latest AT Client!"
|
||||
|
|
|
@ -28,11 +28,16 @@
|
|||
#include <rtthread.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <netdev.h>
|
||||
|
||||
#include <at.h>
|
||||
#include <at_socket.h>
|
||||
|
||||
#if !defined(RT_USING_NETDEV)
|
||||
#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 */
|
||||
|
||||
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10200
|
||||
#error "This AT Client version is older, please check and update latest AT Client!"
|
||||
#endif
|
||||
|
|
|
@ -22,16 +22,22 @@
|
|||
* 2018-06-20 chenyong first version
|
||||
*/
|
||||
|
||||
#include <at.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <rtthread.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <netdev.h>
|
||||
#include <at.h>
|
||||
#include <at_socket.h>
|
||||
|
||||
#if !defined(RT_USING_NETDEV)
|
||||
#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 */
|
||||
|
||||
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10200
|
||||
#error "This AT Client version is older, please check and update latest AT Client!"
|
||||
#endif
|
||||
|
|
|
@ -24,16 +24,22 @@
|
|||
* 2019-03-08 thomasonegd add power_on & power_off api
|
||||
*/
|
||||
|
||||
#include <at.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <rtthread.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <netdev.h>
|
||||
#include <at.h>
|
||||
#include <at_socket.h>
|
||||
|
||||
#if !defined(RT_USING_NETDEV)
|
||||
#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 */
|
||||
|
||||
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10200
|
||||
#error "This AT Client version is older, please check and update latest AT Client!"
|
||||
#endif
|
||||
|
|
|
@ -29,11 +29,16 @@
|
|||
#include <rtdevice.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
#include <netdev.h>
|
||||
|
||||
#include <at.h>
|
||||
#include <at_socket.h>
|
||||
|
||||
#if !defined(RT_USING_NETDEV)
|
||||
#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 */
|
||||
|
||||
#if !defined(AT_SW_VERSION_NUM) || AT_SW_VERSION_NUM < 0x10200
|
||||
#error "This AT Client version is older, please check and update latest AT Client!"
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue