/device/board/talkweb/niobe407/applications/302_network_tcpserver/ |
D | tcp_server.c | 35 int sock, connected; in tcp_server() local 64 connected = accept(sock, (struct sockaddr *)&client_addr, &sin_size); in tcp_server() 70 setsockopt(connected, IPPROTO_TCP, TCP_NODELAY, (void *)&flag, sizeof(int)); in tcp_server() 72 recv_data_len = recv(connected, recv_data, RECV_BUFFER_MAX, 0); in tcp_server() 80 write(connected, recv_data, recv_data_len); in tcp_server() 84 if (connected >= 0) { in tcp_server() 85 closesocket(connected); in tcp_server() 88 connected = -1; in tcp_server()
|
D | README_zh.md | 167 int sock = -1,connected; 205 connected = accept(sock, (struct sockaddr *)&client_addr, &sin_size); 207 printf("new client connected from (%s, %d)\n", 212 setsockopt(connected, 222 recv_data_len = recv(connected, recv_data, 511, 0); 232 write(connected,recv_data,recv_data_len); 236 if (connected >= 0) 237 closesocket(connected); 239 connected = -1; 274 new client connected from (192.168.8.119, 64333)
|
/device/soc/chipsea/cst85/liteos_m/sdk/modules/wb_coex/src/ |
D | wb_coex.c | 46 void wb_coex_wifi_connected_set(int connected) in wb_coex_wifi_connected_set() argument 48 g_coex_controller.wifi_connected = (uint8_t)connected; in wb_coex_wifi_connected_set() 56 void wb_coex_bt_connected_set(int connected) in wb_coex_bt_connected_set() argument 58 g_coex_controller.bt_connected = (uint8_t)connected; in wb_coex_bt_connected_set()
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/smp/ |
D | smp_l2c.c | 40 static void smp_connect_callback(UINT16 channel, BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason, 45 static void smp_br_connect_callback(UINT16 channel, BD_ADDR bd_addr, BOOLEAN connected, UINT16 reas… 102 static void smp_connect_callback (UINT16 channel, BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason, in smp_connect_callback() argument 114 if(!connected && &p_cb->rsp_timer_ent) { in smp_connect_callback() 123 (connected) ? "connected" : "disconnected"); in smp_connect_callback() 125 if (connected) { in smp_connect_callback() 250 static void smp_br_connect_callback(UINT16 channel, BD_ADDR bd_addr, BOOLEAN connected, in smp_br_connect_callback() argument 272 (connected) ? "connected" : "disconnected"); in smp_br_connect_callback() 274 if (connected) { in smp_br_connect_callback()
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gatt/ |
D | gatt_attr.c | 45 static void gatt_connect_cback(tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, 121 p_clcb->connected && !memcmp(p_clcb->bda, bda, BD_ADDR_LEN)) { in gatt_profile_find_clcb_by_bd_addr() 147 p_clcb->connected = 1; in gatt_profile_clcb_alloc() 289 BOOLEAN connected, tGATT_DISCONN_REASON reason, in gatt_connect_cback() argument 296 (bda[4] << 8) + bda[5], connected, conn_id, reason); in gatt_connect_cback() 308 p_clcb->connected = 1; in gatt_connect_cback() 313 if (!p_clcb->connected) { in gatt_connect_cback() 318 if (connected) { in gatt_connect_cback() 320 p_clcb->connected = 1; in gatt_connect_cback() 564 p_clcb->connected = 1; in GATT_ConfigServiceChangeCCC() [all …]
|
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/esp/wechat_AirSync/ |
D | wx_airsync_prf.c | 76 if (airsync_cb_env.clcb.connected && airsync_cb_env.enabled) { in airsync_profile_cb() 86 if (airsync_cb_env.clcb.connected && airsync_cb_env.enabled) { in airsync_profile_cb() 147 airsync_cb_env.clcb.connected = false; in airsync_profile_cb() 152 … if (airsync_cb_env.clcb.connected && (airsync_cb_env.clcb.conn_id == p_data->conn.conn_id)) { in airsync_profile_cb() 207 p_clcb->connected = 1; in airsync_env_clcb_alloc() 229 … if (p_clcb->in_use && p_clcb->connected && memcmp(p_clcb->remote_bda, remote_bda, BD_ADDR_LEN)) { in airsync_env_find_conn_id_by_bd_adddr()
|
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/esp/ble_button/ |
D | button_pro.c | 169 button_cb_env.clcb.connected = false; in button_profile_cb() 176 if (button_cb_env.clcb.connected && (button_cb_env.clcb.conn_id == p_data->conn.conn_id)) { in button_profile_cb() 232 p_clcb->connected = 1; in button_env_clcb_alloc() 254 … if (p_clcb->in_use && p_clcb->connected && memcmp(p_clcb->remote_bda, remote_bda, BD_ADDR_LEN)) { in button_env_find_conn_id_by_bd_adddr() 278 if (p_clcb->in_use && p_clcb->connected && (p_clcb->conn_id == conn_id)) { in button_env_clcb_dealloc() 328 BOOLEAN conn_status = button_cb_env.clcb.connected; in button_msg_notify()
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gap/ |
D | gap_ble.c | 48 …ic void gap_ble_c_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, 102 if (p_clcb->in_use && p_clcb->connected && p_clcb->conn_id == conn_id) { in gap_ble_find_clcb_by_conn_id() 556 if (p_clcb->connected) { in gap_ble_cl_op_cmpl() 574 BOOLEAN connected, tGATT_DISCONN_REASON reason, in gap_ble_c_connect_cback() argument 583 if (connected) { in gap_ble_c_connect_cback() 585 p_clcb->connected = 1; in gap_ble_c_connect_cback() 589 p_clcb->connected = 0; in gap_ble_c_connect_cback() 696 p_clcb->connected = 1; in gap_ble_accept_cl_operation() 707 if (p_clcb->connected && p_clcb->cl_op_uuid == 0) { in gap_ble_accept_cl_operation() 780 if (!p_clcb->connected) { in GAP_BleCancelReadPeerDevName()
|
/device/soc/chipsea/cst85/liteos_m/sdk/modules/wb_coex/api/ |
D | wb_coex.h | 43 void wb_coex_wifi_connected_set(int connected); 47 void wb_coex_bt_connected_set(int connected);
|
/device/board/bearpi/bearpi_hm_nano/app/D10_iot_cloud_oc_infrared/ |
D | iot_cloud_oc_sample.c | 64 int connected; member 75 if (g_app_cb.connected != 1) { in deal_report_msg() 127 g_app_cb.connected = 1; in CloudMainTaskEntry()
|
D | README.md | 35 g_app_cb.connected = 1; 54 if (g_app_cb.connected != 1) {
|
/device/soc/esp/esp32/components/esp_event/ |
D | event_send_compat.inc | 76 HANDLE_SYS_EVENT_ARG(WIFI, STA_CONNECTED, connected); 194 const system_event_sta_connected_t *connected = &event->event_info.connected; 196 …connected->ssid, connected->ssid_len, MAC2STR(connected->bssid), connected->channel, connected->au…
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/ |
D | cdn-dp-core.c | 206 if (dp->connected) { in cdn_dp_connector_detect() 266 if (!dp->connected) { in cdn_dp_connector_mode_valid() 449 if (!dp->connected) { in cdn_dp_disable() 636 if (!dp->connected && cdn_dp_connected_port(dp)) { in cdn_dp_encoder_disable() 896 dp->connected = true; in cdn_dp_pd_event_work() 901 dp->connected = false; in cdn_dp_pd_event_work() 909 dp->connected = false; in cdn_dp_pd_event_work() 915 dp->connected = false; in cdn_dp_pd_event_work() 926 dp->connected = false; in cdn_dp_pd_event_work() 935 dp->connected = false; in cdn_dp_pd_event_work() [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/usb/sunxi_usb/manager/ |
D | usb_msg_center.c | 191 cfg->port.connected = true; in insmod_device_driver() 240 if (cfg->port.connected) { in rmmod_device_driver() 242 cfg->port.connected = false; in rmmod_device_driver()
|
/device/board/bearpi/bearpi_hm_nano/app/D9_iot_cloud_oc_manhole_cover/ |
D | iot_cloud_oc_sample.c | 81 int connected; member 96 if (g_app_cb.connected != 1) { in deal_report_msg() 161 g_app_cb.connected = 1; in CloudMainTaskEntry()
|
D | README.md | 35 g_app_cb.connected = 1; 58 if (g_app_cb.connected != 1) {
|
/device/board/bearpi/bearpi_hm_nano/app/D8_iot_cloud_oc_light/ |
D | iot_cloud_oc_sample.c | 77 int connected; member 88 if (g_app_cb.connected != 1) { in deal_report_msg() 233 g_app_cb.connected = 1; in CloudMainTaskEntry()
|
/device/board/bearpi/bearpi_hm_nano/app/D7_iot_cloud_oc_smoke/ |
D | iot_cloud_oc_sample.c | 78 int connected; member 89 if (g_app_cb.connected != 1) { in deal_report_msg() 235 g_app_cb.connected = 1; in CloudMainTaskEntry()
|
/device/board/bearpi/bearpi_hm_nano/app/D12_iot_cloud_oc_gps/ |
D | iot_cloud_oc_sample.c | 78 int connected; member 90 if (g_app_cb.connected != 1) { in deal_report_msg() 241 g_app_cb.connected = 1; in CloudMainTaskEntry()
|
D | README.md | 37 g_app_cb.connected = 1; 58 if (g_app_cb.connected != 1) {
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/ |
D | coap_dtls.h | 525 void *coap_tls_new_client_session(struct coap_session_t *coap_session, int *connected); 539 void *coap_tls_new_server_session(struct coap_session_t *coap_session, int *connected);
|
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/std/spp/ |
D | btc_spp.c | 57 bool connected; member 138 (*slot)->connected = 0; in spp_malloc_slot() 308 slot->connected = 1; in btc_spp_rfcomm_inter_cb() 339 slot->connected = 1; in btc_spp_rfcomm_inter_cb() 351 if (slot->connected && p_data->rfc_close.port_status != PORT_LOCAL_CLOSED) { in btc_spp_rfcomm_inter_cb() 511 if (spp_local_param.spp_slots[i] != NULL && spp_local_param.spp_slots[i]->connected) { in btc_spp_uninit() 518 if (spp_local_param.spp_slots[i] != NULL && !spp_local_param.spp_slots[i]->connected) { in btc_spp_uninit() 624 if (!slot || (slot && !slot->connected)) { in btc_spp_disconnect() 711 if (spp_local_param.spp_slots[i] != NULL && !spp_local_param.spp_slots[i]->connected && in btc_spp_stop_srv() 734 … if (spp_local_param.spp_slots[i] != NULL && spp_local_param.spp_slots[i]->connected && in btc_spp_stop_srv() [all …]
|
/device/board/bearpi/bearpi_hm_nano/app/D11_iot_cloud_oc_agriculture/ |
D | iot_cloud_oc_sample.c | 83 int connected; member 98 if (g_app_cb.connected != 1) { in deal_report_msg() 301 g_app_cb.connected = 1; in CloudMainTaskEntry()
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/include/stack/ |
D | l2cap_client.h | 31 void (*connected)(l2cap_client_t *client, void *context); member
|
/device/soc/chipsea/cst85/liteos_m/sdk/modules/wifi/console/ |
D | wifi_host_console.c | 414 char *state, *connected; in do_ip() local 423 connected = ",CONNECTED"; in do_ip() 425 connected = ""; in do_ip() 428 connected = ""; in do_ip() 446 state, connected); in do_ip()
|