From c1e6196d3da930a82f12313bce04205b3488f7f1 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期日, 24 三月 2024 09:22:59 +0800 Subject: [PATCH] Merge branch '免布线标签-lora-泰斗GPS' of http://47.108.70.204:60062/r/XRange_Tag into 免布线标签-lora-泰斗GPS --- Src/radio/Lora.h | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/Src/radio/Lora.h b/Src/radio/Lora.h index d4b5fd8..e668664 100644 --- a/Src/radio/Lora.h +++ b/Src/radio/Lora.h @@ -13,19 +13,33 @@ void LedToggle(void); void SwitchLoraSettings(uint32_t freq,uint8_t sf,uint8_t power); void LoraInit(void); + //#define TEST_FREQ #ifdef TEST_FREQ - +#define LORA_UPCHANNEL_FRQ 456 +#define LORA_UPCHANNEL_SF 7 + +#define TEST_FREQ_OFFSET 0 #define UWB_CHANNEL_FRQ 450 #define UWB_CHANNEL_SF 5 -#define REPORT_MANGE_CHANNEL_FRQ 458 +#define REPORT_MANGE_CHANNEL_FRQ 458 +TEST_FREQ_OFFSET #define REPORT_CHANNEL_SF 7 #else +#define LORA_UPCHANNEL_FRQ 476 +#define LORA_UPCHANNEL_SF 7 + #define UWB_CHANNEL_FRQ 470 #define UWB_CHANNEL_SF 5 #define REPORT_MANGE_CHANNEL_FRQ 478 #define REPORT_CHANNEL_SF 7 #endif +#define APP2_ADRESS 0X8012800 +#define APP1_ADRESS 0X8005000 + +#define APP_SIZE 0XAB00 + +#define APP_1OR2_ADRESS 0x8004B38 + #endif -- Gitblit v1.9.3