Lines Matching refs:sock_fd
43 const uint8_t* uuid, int channel, int* sock_fd, int flags);
45 const uint8_t* uuid, int channel, int* sock_fd, int flags);
93 const uint8_t* service_uuid, int channel, int* sock_fd, int flags) in btsock_listen() argument
95 if((service_uuid == NULL && channel <= 0) || sock_fd == NULL) in btsock_listen()
97 …TRACE_ERROR("invalid parameters, uuid:%p, channel:%d, sock_fd:%p", service_uuid, channel, sock_fd); in btsock_listen()
100 *sock_fd = -1; in btsock_listen()
105 status = btsock_rfc_listen(service_name, service_uuid, channel, sock_fd, flags); in btsock_listen()
123 const uint8_t* uuid, int channel, int* sock_fd, int flags) in btsock_connect() argument
125 if((uuid == NULL && channel <= 0) || bd_addr == NULL || sock_fd == NULL) in btsock_connect()
128 bd_addr, uuid, channel, sock_fd); in btsock_connect()
131 *sock_fd = -1; in btsock_connect()
136 status = btsock_rfc_connect(bd_addr, uuid, channel, sock_fd, flags); in btsock_connect()