/device/board/bearpi/bearpi_hm_nano/app/C3_e53_sc1_pls/src/ |
D | E53_SC1.c | 115 uint8_t recv_data[BH1750_RECV_DATA_LEN] = { 0 }; in E53SC1ReadData() local 116 …ret = IoTI2cRead(WIFI_IOT_I2C_IDX_1, (BH1750_ADDR << 1) | 0x01, recv_data, sizeof(recv_data)); // … in E53SC1ReadData() 120 …*data = (float)(((recv_data[0] << DATA_WIDTH_8_BIT) + recv_data[1]) / BH1750_COEFFICIENT_LUX); // … in E53SC1ReadData()
|
/device/board/bearpi/bearpi_hm_nano/app/D8_iot_cloud_oc_light/src/ |
D | E53_SC1.c | 113 uint8_t recv_data[BH1750_RECV_DATA_LEN] = { 0 }; in E53SC1ReadData() local 114 …ret = IoTI2cRead(WIFI_IOT_I2C_IDX_1, (BH1750_ADDR << 1) | 0x01, recv_data, sizeof(recv_data)); // … in E53SC1ReadData() 118 …*data = (float)(((recv_data[0] << DATA_WIDTH_8_BIT) + recv_data[1]) / BH1750_COEFFICIENT_LUX); // … in E53SC1ReadData()
|
/device/board/talkweb/niobe407/applications/301_network_tcpclient/ |
D | tcp_client.c | 28 char recv_data[512] = {0}; in tcp_client() local 54 recv_data_len = recv(sock, recv_data, 511, 0); in tcp_client() 58 recv_data[recv_data_len] = '\0'; in tcp_client() 60 printf("recv:%s\n", recv_data); in tcp_client() 61 write(sock, recv_data, recv_data_len); in tcp_client()
|
D | README_zh.md | 140 char recv_data[512]={0}; 177 recv_data_len = recv(sock, recv_data, 511, 0); 180 recv_data[recv_data_len] = '\0'; 183 printf("recv:%s\n",recv_data); 185 write(sock,recv_data,recv_data_len);
|
/device/board/talkweb/niobe407/applications/302_network_tcpserver/ |
D | tcp_server.c | 36 char recv_data[TCP_SERVER_RCV_DATA_SIZE] = {0}; in tcp_server() local 72 recv_data_len = recv(connected, recv_data, RECV_BUFFER_MAX, 0); in tcp_server() 76 recv_data[recv_data_len] = '\0'; in tcp_server() 79 printf("recv %s\n", recv_data); in tcp_server() 80 write(connected, recv_data, recv_data_len); in tcp_server()
|
D | README_zh.md | 168 char recv_data[512]={0}; 222 recv_data_len = recv(connected, recv_data, 511, 0); 227 recv_data[recv_data_len] = '\0'; 229 printf("recv %s\n",recv_data); 232 write(connected,recv_data,recv_data_len); 243 if (recv_data) free(recv_data);
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/app/demo/src/ |
D | app_demo_i2c.c | 72 hi_u8 recv_data[I2C_REG_ARRAY_LEN] = { 0 }; in i2c_demo_writeread() local 78 memset_s(recv_data, I2C_REG_ARRAY_LEN, 0x0, sizeof(recv_data)); in i2c_demo_writeread() 83 es8311_i2c_data.receive_buf = recv_data; in i2c_demo_writeread() 92 printf("----- revData[%d] = 0x%x! -----\r\n", i, recv_data[i]); in i2c_demo_writeread()
|
/device/board/bearpi/bearpi_hm_nano/app/D6_iot_cloud_oc/src/ |
D | E53_IA1.c | 223 uint8_t recv_data[BH1750_RECV_DATA_LEN] = { 0 }; in E53IA1ReadData() local 224 …ret = IoTI2cRead(WIFI_IOT_I2C_IDX_1, (BH1750_ADDR << 1) | 0x01, recv_data, sizeof(recv_data)); // … in E53IA1ReadData() 228 …ReadData->Lux = (float)(((recv_data[0] << DATA_WIDTH_8_BIT) + recv_data[1]) / BH1750_COEFFICIENT_L… in E53IA1ReadData()
|
D | oc_mqtt.c | 72 … void (*cmd_rsp_cb)(uint8_t *recv_data, size_t recv_size, uint8_t **resp_data, size_t *resp_size); 179 …void (*cmd_rsp_cb)(uint8_t *recv_data, uint32_t recv_size, uint8_t **resp_data, uint32_t *resp_siz… in oc_set_cmd_rsp_cb() argument
|
/device/board/bearpi/bearpi_hm_nano/app/C2_e53_ia1_temp_humi_pls/src/ |
D | E53_IA1.c | 223 uint8_t recv_data[BH1750_RECV_DATA_LEN] = { 0 }; in E53IA1ReadData() local 224 …ret = IoTI2cRead(WIFI_IOT_I2C_IDX_1, (BH1750_ADDR << 1) | 0x01, recv_data, sizeof(recv_data)); // … in E53IA1ReadData() 228 …ReadData->Lux = (float)(((recv_data[0] << DATA_WIDTH_8_BIT) + recv_data[1]) / BH1750_COEFFICIENT_L… in E53IA1ReadData()
|
/device/board/bearpi/bearpi_hm_nano/app/D11_iot_cloud_oc_agriculture/src/ |
D | E53_IA1.c | 223 uint8_t recv_data[BH1750_RECV_DATA_LEN] = { 0 }; in E53IA1ReadData() local 224 …ret = IoTI2cRead(WIFI_IOT_I2C_IDX_1, (BH1750_ADDR << 1) | 0x01, recv_data, sizeof(recv_data)); // … in E53IA1ReadData() 228 …ReadData->Lux = (float)(((recv_data[0] << DATA_WIDTH_8_BIT) + recv_data[1]) / BH1750_COEFFICIENT_L… in E53IA1ReadData()
|
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_cli/ |
D | cli_uart.c | 104 uint8_t *recv_data = (uint8_t *)os_malloc(buf_len); in cli_uart_cmd() local 105 if (recv_data == NULL) { in cli_uart_cmd() 113 int data_len = bk_uart_read_bytes(uart_id, recv_data, buf_len, time_out); in cli_uart_cmd() 120 CLI_LOGI("recv_buffer[%d]=0x%x\n", i, recv_data[i]); in cli_uart_cmd() 123 if (recv_data) { in cli_uart_cmd() 124 os_free(recv_data); in cli_uart_cmd() 126 recv_data = NULL; in cli_uart_cmd()
|
/device/board/bearpi/bearpi_hm_nano/app/D6_iot_cloud_oc/ |
D | README.md | 38 > void oc_set_cmd_rsp_cb(void(*cmd_rsp_cb)(uint8_t *recv_data, size_t recv_size, uint8_t **resp_dat… 44 |recv_data | 接收到的数据。 | 209 void oc_cmd_rsp_cb(uint8_t *recv_data, size_t recv_size, uint8_t **resp_data, size_t *resp_size) 216 app_msg->msg.cmd.payload = (char *)recv_data; 218 printf("recv data is %.*s\n", recv_size, recv_data); 221 free(recv_data);
|
D | iot_cloud_oc_sample.c | 124 void MsgRcvCallback(uint8_t *recv_data, size_t recv_size, uint8_t **resp_data, size_t *resp_size) in MsgRcvCallback() argument 131 app_msg->msg.cmd.payload = (char *)recv_data; in MsgRcvCallback() 133 printf("recv data is %s\n", recv_data); in MsgRcvCallback() 136 free(recv_data); in MsgRcvCallback()
|
/device/board/bearpi/bearpi_hm_nano/app/D6_iot_cloud_oc/include/ |
D | oc_mqtt.h | 158 void oc_set_cmd_rsp_cb(void (*cmd_rsp_cb)(uint8_t *recv_data, uint32_t recv_size,
|
/device/board/unionman/unionpi_tiger/hardware/bt/src/ |
D | hci_h5.c | 189 RTB_QUEUE_HEAD *recv_data; // Unreliable packets queue member 949 skb_queue_tail(rtk_h5.recv_data, rx_skb); in rtk_notify_hw_h5_init_result() 1328 skb_queue_tail(rtk_h5.recv_data, h5->rx_skb); in h5_complete_rx_pkt() 1490 while (h5_data_ready_running && (skb_queue_get_length(rtk_h5.recv_data) == 0)) { in data_ready_cb_thread() 1495 if (h5_data_ready_running && (skb = skb_dequeue_head(rtk_h5.recv_data)) != NULL) { in data_ready_cb_thread() 1658 rtk_h5.recv_data = RtbQueueInit(); in hci_h5_int_init() 2031 skb_queue_tail(rtk_h5.recv_data, rtk_h5.internal_skb); in h5_wait_controller_baudrate_ready_timeout_handler()
|
D | userial_vendor.c | 108 RTB_QUEUE_HEAD *recv_data; member 298 vnd_userial.recv_data = RtbQueueInit(); in userial_vendor_init() 730 RtbQueueTail(vnd_userial.recv_data, skb_data); in userial_enqueue_coex_rawdata() 989 skb_data = RtbDequeueHead(vnd_userial.recv_data); in userial_coex_handler()
|
/device/board/hisilicon/hispark_phoenix/peripherals/bluetooth/rtkbt/code/libbt-vendor/src/ |
D | hci_h5.c | 196 RTB_QUEUE_HEAD *recv_data; // Unreliable packets queue member 1341 skb_queue_tail(rtk_h5.recv_data, rx_skb); in rtk_notify_hw_h5_init_result() 1792 skb_queue_tail(rtk_h5.recv_data, h5->rx_skb); in h5_complete_rx_pkt() 1970 while (h5_data_ready_running && (skb_queue_get_length(rtk_h5.recv_data) == 0)) in data_ready_cb_thread() 1976 if (h5_data_ready_running && (skb = skb_dequeue_head(rtk_h5.recv_data)) != NULL) in data_ready_cb_thread() 2173 rtk_h5.recv_data = RtbQueueInit(); in hci_h5_int_init() 2581 skb_queue_tail(rtk_h5.recv_data, rtk_h5.internal_skb); in h5_wait_controller_baudrate_ready_timeout_handler()
|
D | userial_vendor.c | 110 RTB_QUEUE_HEAD *recv_data; member 308 vnd_userial.recv_data = RtbQueueInit(); in userial_vendor_init() 748 RtbQueueTail(vnd_userial.recv_data, skb_data); in userial_enqueue_coex_rawdata() 1025 skb_data = RtbDequeueHead(vnd_userial.recv_data); in userial_coex_handler()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/ |
D | rtw_btcoex.c | 1331 u8 recv_data[255]; in rtw_btcoex_recvmsgbysocket() local 1366 _rtw_memset(recv_data, 0, sizeof(recv_data)); in rtw_btcoex_recvmsgbysocket() 1367 _rtw_memcpy(recv_data, skb->data + 8, recv_length); in rtw_btcoex_recvmsgbysocket() 1369 parse_res = rtw_btcoex_parse_recv_data(recv_data, recv_length); in rtw_btcoex_recvmsgbysocket() 1401 rtw_btcoex_parse_hci_cmd(pbtcoexadapter, recv_data, recv_length); in rtw_btcoex_recvmsgbysocket() 1451 rtw_btcoex_parse_hci_cmd(pbtcoexadapter, recv_data, recv_length); in rtw_btcoex_recvmsgbysocket()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/input/sensor/stk3x1x/ |
D | stk3x1x.c | 1827 int32_t recv_data; in stk_recv_store() local 1834 recv_data = stk3x1x_i2c_smbus_read_byte_data(ps_data->client, value); in stk_recv_store() 1835 printk("%s: reg 0x%x=0x%x\n", __func__, (int)value, recv_data); in stk_recv_store() 1836 atomic_set(&ps_data->recv_reg, recv_data); in stk_recv_store()
|