summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--components/net/at/Kconfig2
-rw-r--r--components/net/at/at_socket/at_socket.h2
-rw-r--r--components/net/at/include/at.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/components/net/at/Kconfig b/components/net/at/Kconfig
index 92818331af..4aedbb888b 100644
--- a/components/net/at/Kconfig
+++ b/components/net/at/Kconfig
@@ -82,7 +82,7 @@ if RT_USING_AT
config AT_SW_VERSION_NUM
hex
- default 0x10300
+ default 0x10301
help
software module version number
diff --git a/components/net/at/at_socket/at_socket.h b/components/net/at/at_socket/at_socket.h
index 07e3de345c..3317579f05 100644
--- a/components/net/at/at_socket/at_socket.h
+++ b/components/net/at/at_socket/at_socket.h
@@ -66,12 +66,12 @@ typedef void (* at_socket_callback)(struct at_socket *conn, int event, uint16_t
/* AT socket operations function */
struct at_socket_ops
{
- int (*at_socket)(struct at_device *device, enum at_socket_type type);
int (*at_connect)(struct at_socket *socket, char *ip, int32_t port, enum at_socket_type type, rt_bool_t is_client);
int (*at_closesocket)(struct at_socket *socket);
int (*at_send)(struct at_socket *socket, const char *buff, size_t bfsz, enum at_socket_type type);
int (*at_domain_resolve)(const char *name, char ip[16]);
void (*at_set_event_cb)(at_socket_evt_t event, at_evt_cb_t cb);
+ int (*at_socket)(struct at_device *device, enum at_socket_type type);
};
/* AT receive package list structure */
diff --git a/components/net/at/include/at.h b/components/net/at/include/at.h
index a7a6aeca7a..2d0e270f6a 100644
--- a/components/net/at/include/at.h
+++ b/components/net/at/include/at.h
@@ -18,7 +18,7 @@
extern "C" {
#endif
-#define AT_SW_VERSION "1.3.0"
+#define AT_SW_VERSION "1.3.1"
#define AT_CMD_NAME_LEN 16
#define AT_END_MARK_LEN 4