Home
last modified time | relevance | path

Searched refs:socket_id (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.5.0/drivers/modem/
Dwncm14a2a.c114 int socket_id; member
253 static struct wncm14a2a_socket *socket_from_id(int socket_id) in socket_from_id() argument
258 if (socket_id < 1) { in socket_from_id()
263 if (ictx.sockets[i].socket_id == socket_id) { in socket_from_id()
279 sock->socket_id = 0; in socket_put()
354 sock->socket_id, net_buf_frags_len(frag)); in send_data()
704 sock->socket_id = atoi(value); in on_cmd_sockcreat()
870 int socket_id, left_bytes; in on_cmd_sockdataind() local
888 socket_id = atoi(value); in on_cmd_sockdataind()
906 sock = socket_from_id(socket_id); in on_cmd_sockdataind()
[all …]
Dhl7800.c386 int socket_id; member
789 static struct hl7800_socket *socket_from_id(int socket_id) in socket_from_id() argument
794 if (socket_id < 1) { in socket_from_id()
799 if (iface_ctx.sockets[i].socket_id == socket_id) { in socket_from_id()
815 sock->socket_id = -1; in socket_put()
973 iface_ctx.last_socket_id = sock->socket_id; in send_at_cmd()
1385 snprintk(buf, sizeof(buf), "AT+KTCPSND=%d,%zu", sock->socket_id, in send_data()
1394 sock->socket_id, dst_addr, in send_data()
3209 LOG_DBG("Sock %d closed", sock->socket_id); in notify_all_tcp_sockets_closed()
3798 LOG_DBG("Sock %d trigger NULL packet", sock->socket_id); in sock_notif_cb_work()
[all …]
Dublox-sara-r4.c776 static int on_cmd_sockread_common(int socket_id, in on_cmd_sockread_common() argument
817 sock = modem_socket_from_id(&mdata.socket_config, socket_id); in on_cmd_sockread_common()
819 LOG_ERR("Socket not found! (%d)", socket_id); in on_cmd_sockread_common()
826 LOG_ERR("Socket data not found! Skip handling (%d)", socket_id); in on_cmd_sockread_common()
906 int ret, socket_id, new_total; in MODEM_CMD_DEFINE() local
909 socket_id = ATOI(argv[0], 0, "socket_id"); in MODEM_CMD_DEFINE()
911 sock = modem_socket_from_id(&mdata.socket_config, socket_id); in MODEM_CMD_DEFINE()
919 LOG_ERR("socket_id:%d left_bytes:%d err: %d", socket_id, in MODEM_CMD_DEFINE()