Home
last modified time | relevance | path

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

/hardware/nxp/uwb/halimpl/hal/sr200/
Dfwd_hdll.cc1371 uint8_t *hdll_frame = NULL; in phBuildHdllCmd() local
1383 hdll_frame = (uint8_t *)malloc(sizeof(uint8_t) * hdll_frame_size); in phBuildHdllCmd()
1384 if (NULL == hdll_frame) { in phBuildHdllCmd()
1385 return hdll_frame; in phBuildHdllCmd()
1395 hdll_frame[HDLL_CHUNK_OFFSET] = (hdll_header >> 8); in phBuildHdllCmd()
1396 hdll_frame[HDLL_LEN_OFFSET] = (hdll_header & 0xFF); in phBuildHdllCmd()
1400 hdll_frame[HDLL_TYPE_OFFSET] = type | hdllCmd->group; in phBuildHdllCmd()
1401 hdll_frame[HDLL_OPERATION_OFFSET] = hdllCmd->operation; in phBuildHdllCmd()
1405 memcpy(&hdll_frame[HDLL_PAYLOAD_OFFSET], hdllCmd->payload, in phBuildHdllCmd()
1409 hdll_crc = phHal_Host_CalcCrc16(hdll_frame, hdll_frame_size - 2); in phBuildHdllCmd()
[all …]