Skip to content

Commit f56af40

Browse files
committed
[at_socket] update AT_SW_VERSION and adjust at_socket_ops
1 parent 067106f commit f56af40

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

components/net/at/Kconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ if RT_USING_AT
8282

8383
config AT_SW_VERSION_NUM
8484
hex
85-
default 0x10300
85+
default 0x10301
8686
help
8787
software module version number
8888

components/net/at/at_socket/at_socket.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ typedef void (* at_socket_callback)(struct at_socket *conn, int event, uint16_t
6666
/* AT socket operations function */
6767
struct at_socket_ops
6868
{
69-
int (*at_socket)(struct at_device *device, enum at_socket_type type);
7069
int (*at_connect)(struct at_socket *socket, char *ip, int32_t port, enum at_socket_type type, rt_bool_t is_client);
7170
int (*at_closesocket)(struct at_socket *socket);
7271
int (*at_send)(struct at_socket *socket, const char *buff, size_t bfsz, enum at_socket_type type);
7372
int (*at_domain_resolve)(const char *name, char ip[16]);
7473
void (*at_set_event_cb)(at_socket_evt_t event, at_evt_cb_t cb);
74+
int (*at_socket)(struct at_device *device, enum at_socket_type type);
7575
};
7676

7777
/* AT receive package list structure */

components/net/at/include/at.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
extern "C" {
1919
#endif
2020

21-
#define AT_SW_VERSION "1.3.0"
21+
#define AT_SW_VERSION "1.3.1"
2222

2323
#define AT_CMD_NAME_LEN 16
2424
#define AT_END_MARK_LEN 4

0 commit comments

Comments
 (0)