summaryrefslogtreecommitdiff
path: root/components/net/at/include
diff options
context:
space:
mode:
authorzylx <[email protected]>2018-08-08 14:32:24 +0800
committerzylx <[email protected]>2018-08-08 18:18:03 +0800
commitf3bce48502933a4db01b8ca5dc2e7d7dbe82871d (patch)
tree3f061f76ebb6129f9183f30892c9d7edbdcdd345 /components/net/at/include
parent7d255c68e576ae98606ddb76f1513ecf01c01cc5 (diff)
[net][at] add at_client_wait_connect
Diffstat (limited to 'components/net/at/include')
-rw-r--r--components/net/at/include/at.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/components/net/at/include/at.h b/components/net/at/include/at.h
index 782cb0c400..aafb819e5e 100644
--- a/components/net/at/include/at.h
+++ b/components/net/at/include/at.h
@@ -27,7 +27,7 @@
#include <rtthread.h>
-#define AT_SW_VERSION "0.2.3"
+#define AT_SW_VERSION "0.2.4"
#define DBG_ENABLE
#define DBG_SECTION_NAME "AT"
@@ -216,6 +216,9 @@ int at_req_parse_args(const char *req_args, const char *req_expr, ...);
/* AT client initialize and start */
int at_client_init(void);
+/* AT client wait for connection to external devices. */
+int at_client_wait_connect(rt_uint32_t timeout);
+
/* AT client send commands to AT server and waiter response */
int at_exec_cmd(at_response_t resp, const char *cmd_expr, ...);