From 387d1ffc16ce9e050403baee0ed07f3d9accf632 Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期五, 04 七月 2025 14:55:15 +0800 Subject: [PATCH] 初步移植完成0.6.8SDK,但发送有len太长未找到原因 --- keil/include/components/app/inc/ranging_ss_twr.h | 14 +++----------- 1 files changed, 3 insertions(+), 11 deletions(-) diff --git a/keil/include/components/app/inc/ranging_ss_twr.h b/keil/include/components/app/inc/ranging_ss_twr.h index 1979f99..f1fb740 100644 --- a/keil/include/components/app/inc/ranging_ss_twr.h +++ b/keil/include/components/app/inc/ranging_ss_twr.h @@ -1,5 +1,5 @@ /* - * 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. @@ -41,7 +41,7 @@ #ifndef RANGING_H_ #define RANGING_H_ #include "ranging_ss_twr_task.h" -#include "wsf_timer.h" +#include "mk_timer_list.h" #include "mk_mac.h" #include "uwb_api.h" @@ -103,7 +103,7 @@ { wsfQueue_t msg_queue; wsfHandlerId_t handle_id; - wsfTimer_t daemon_timer; + mk_timer_t daemon_timer; }; #ifdef __cplusplus @@ -179,14 +179,6 @@ * @return 0: successful, 1: fail */ uint8_t ranging_response_msg_set(uint16_t data_len, const uint8_t *data); - -/** - * @brief Calculate timestamp difference. - * @param[in] ts_a Ranging timestamp a - * @param[in] ts_b Ranging timestamp b - * @return ts_a - ts_b - */ -int64_t ranging_timestamp_diff(int64_t ts_a, int64_t ts_b); /** * @brief Calculate ranging Tround. -- Gitblit v1.9.3