client_parser -> at_recv_readline -> at_client_getchar(client, &ch, RT_WAITING_FOREVER); -> rt_device_read / rt_sem_take(client->rx_notice,..) 同时at组件对外开放以下接口(at.h文件内): #defineat_exec_cmd(resp, ...) at_obj_exec_cmd(at_client_get_firs...
Available add-ons Advanced Security Enterprise-grade security features GitHub Copilot Enterprise-grade AI features Premium Support Enterprise-grade 24/7 support Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of ...
interface GigabitEthernet1/1 nameif outside security-level 0 ip address 10.88.243.108 255.255.255.128 object network NETWORK_OBJ_192.168.50.0_24 subnet 192.168.50.0 255.255.255.0 nat (inside,outside) source static any any destination static NETWORK_OBJ_192.1...
RequestHandler.handle : self.close_connection = True""server.BaseHTTPServer.handle_one_request : self.raw_requestline = self.rfile.readline(65537)""socket.readinto : self._checkClosed()""socket.readinto : return self._sock.recv_into(b) #b == <memory at 0x0000026304E38C4...
AT client 对象信息 structat_client{rt_device_tdevice;at_status_tstatus;charend_sign;/* the current received one line data buffer */char*recv_line_buf;/* The length of the currently received one line data */rt_size_trecv_line_len;/* The maximum supported receive data length */rt_size...
// wait any uart datauart_recv_len = uart_rx_any(nic->uart_obj);if(uart_recv_len >0) {if(tmp_len >=sizeof(tmp_buf)) {// lock across// printk("lock across frame_len %d tmp_len %d\n", frame_len, tmp_len);tmp_len =0; ...
recv_pkt 使用,挂载在 rlist 列表中 */15|-> at_client_obj_recv/* rt-thread/components/net/at/src/at_client.c */16|-> at_client_getchar/* rt-thread/components/net/at/src/at_client.c */17|-> at_evt_cb_set[AT_SOCKET_EVT_RECV](socket, AT_SOCKET_EVT_RECV, recv_buf, bfsz);...
) at_client_obj_send(at_client_get_first(), buf, size) 发送指定长度数据(单客户端模式) 参数 buf 发送数据的指针 size 发送数据的长度 #define at_client_recv ( buf, size, timeout ) at_client_obj_recv(at_client_get_first(), buf, size, timeout) ...
int at_client_obj_recv(at_client_t client, char *buf, int size, uint32_t timeout);/* AT...
|-> at_obj_exec_cmd() /* 发送各种AT指令初始化EC200x rt-thread/components/net/at/src/at_client.c */ |-> ec200x_netdev_set_info /* packages/at_device-v2.0.4/class/ec200x/at_device_ec200x.c */ |-> at_device_get_by_name /* packages/at_device-v2.0.4/src/at_device.c *...