bts_id.h 1.1 KB

12345678910111213141516171819202122232425
  1. // 秒寻科技
  2. // 计算主站ID
  3. // zt
  4. // 2023-03-12
  5. #ifndef __BTS_ID_H__
  6. #define __BTS_ID_H__
  7. #include "../../sysdefine/sysdef.h"
  8. // 供外部使用接口
  9. void bts_id_init();
  10. void bts_id_main(BTS_AMPL_MIRROR_DATA_T *pstBtsAmplMirrorDataList, PUB_LOCATION_DATA_T *pstLocationDataList, BTS_ID_JUDGEMENT_MAIN_BTS_T *pstJudgementMainBtsList);
  11. // 内部使用接口
  12. void bts_id_mirror_data(BTS_AMPL_MIRROR_DATA_T *pstBtsAmplMirrorDataList, BTS_ID_MIRROR_DATA_T *pstBtsIdMirrorDataList);
  13. void bts_id_cal_main_bts_id(BTS_ID_MIRROR_DATA_T *pstBtsIdMirrorDataList, PUB_LOCATION_DATA_T *pstLocationDataList, BTS_ID_JUDGEMENT_MAIN_BTS_T *pstJudgementMainBtsList);
  14. void bts_id_ampl_sort(BTS_ID_MIRROR_DATA_T *pstBtsIdMirrorDataList, uint8 *pbySortIndexList);
  15. uint8 bts_id_cal_bts_id(BTS_ID_MIRROR_DATA_T *pstBtsIdMirrorData, uint32 *pdwResultBtsId, uint8 *pbyShiftTimes);
  16. uint32 bts_id_cal_bit_judgement_threshold(flt32 *pfBitMaxAmplitude);
  17. uint32 bts_id_judgement_bits(flt32 *pfBitMaxAmplitude, flt32 fThreshold);
  18. uint8 bts_id_check_bts_id(uint32 dwCalBtsId, uint32 *pdwBtsIdList, uint32 *pdwBtsId, uint8 *pbyRightShift);
  19. uint32 bts_id_circle_right_shift(uint32 dwBtsId);
  20. #endif