| | |
| | | /* |
| | | * Copyright (c) 2019-2023 Beijing Hanwei Innovation Technology Ltd. Co. and |
| | | * Copyright (c) 2019-2025 Beijing Hanwei Innovation Technology Ltd. Co. and |
| | | * its subsidiaries and affiliates (collectly called MKSEMI). |
| | | * |
| | | * All rights reserved. |
| | |
| | | if (sts_valid_check()) |
| | | { |
| | | report.sts_valid = 1; |
| | | ranging_first_path_detect(ind->rssi); |
| | | ranging_first_path_detect(ind->rssi, ind->snr); |
| | | |
| | | #if PDOA_3D_EN |
| | | uint16_t target_addr = uwbs_peer_short_addr_get(); |
| | |
| | | uint16_t distance = 0; |
| | | board_ranging_result_correct(&distance, &report.azimuth, &report.elevation); |
| | | |
| | | report.pdoa[0] = pdoa_select_get(0, 3); |
| | | report.pdoa[1] = pdoa_select_get(1, 3); |
| | | report.pdoa[2] = pdoa_select_get(2, 3); |
| | | report.pdoa[0] = pdoa_result_get(0, 3); |
| | | report.pdoa[1] = pdoa_result_get(1, 3); |
| | | report.pdoa[2] = pdoa_result_get(2, 3); |
| | | |
| | | float *sts_rssi = sts_rssi_output_get(); |
| | | report.sts_rssi[0] = sts_rssi[0]; |