Home
last modified time | relevance | path

Searched refs:recvData (Results 1 - 5 of 5) sorted by relevance

/vendor/hisilicon/hispark_pegasus/demo/environment_demo/
H A Dapp_demo_aht20.c132 unsigned char recvData[AHT_REG_ARRAY_LEN] = { 0 }; in Aht20Read() local
139 (void)memset_s(&recvData, sizeof(recvData), 0x0, sizeof(recvData)); in Aht20Read()
141 aht20I2cData.receiveBuf = recvData; in Aht20Read()
147 temper = (float)(((recvData[BUFF_BIT_3] & LOW_4_BIT) << IOT_BIT_16) | in Aht20Read()
148 (recvData[BUFF_BIT_4] << IOT_BIT_8) | in Aht20Read()
149 recvData[BUFF_BIT_5]); // 温度拼接 in Aht20Read()
155 humi = (float)((recvData[BUFF_BIT_1] << IOT_BIT_12 | recvData[BUFF_BIT_ in Aht20Read()
[all...]
/vendor/hisilicon/hispark_pegasus/demo/udp_demo/
H A Dudp_server.c112 char recvData[UDP_RECV_LEN] = {0}; in UdpServerDemo() local
116 int recvLen = recvfrom(sServer, recvData, UDP_RECV_LEN, 0, (struct sockaddr*)&remoteAddr, (socklen_t*)&addrLen); in UdpServerDemo()
120 printf("Received data:%s\r\n", recvData); in UdpServerDemo()
122 if (strstr(recvData, WECHAT_MSG_LIGHT_OFF) != NULL) { in UdpServerDemo()
123 printf("Control equipment information received:%s\r\n", recvData); in UdpServerDemo()
126 } else if (strstr(recvData, WECHAT_MSG_LIGHT_ON) != NULL) { in UdpServerDemo()
127 printf("Control equipment information received:%s\r\n", recvData); in UdpServerDemo()
130 } else if (strstr(recvData, WECHAT_MSG_UNLOAD_PAGE) != NULL) { in UdpServerDemo()
H A Dudp_client.c56 char recvData[UDP_RECV_BUF_LEN] = {0}; in UdpClientDemo() local
58 int recvLen = recvfrom(sClient, recvData, UDP_RECV_BUF_LEN, 0, (struct sockaddr*)&serverAddr, &len); in UdpClientDemo()
60 printf("recv_data = %s\r\n", recvData); in UdpClientDemo()
/vendor/hisilicon/hispark_pegasus/demo/nfc_demo/
H A Dc081_nfc.h21 unsigned char* recvData, unsigned char sendLen, unsigned char readLen);
H A Dapp_demo_nfc.c31 unsigned char* recvData, unsigned char sendLen, unsigned char readLen) in WriteRead()
41 co8iNfcI2cReadData.receiveBuf = recvData; in WriteRead()
30 WriteRead(unsigned char regHigh8bitCmd, unsigned char regLow8bitCmd, unsigned char* recvData, unsigned char sendLen, unsigned char readLen) WriteRead() argument

Completed in 2 milliseconds