1、sx127x.h增加了频率可调函数

2、删除了bsp.h的lora通道配置宏定义
3、删除了SGCP.h中MAC的组成参数定义,改为在main.c中进行定义,当使用bootloader时通过读取BootPara结构体参数获取本机MAC,否则将通过App程序自定义MAC
4、BootPara结构体参数增加
This commit is contained in:
2026-05-11 10:10:13 +08:00
parent bbd563b069
commit 9b06145341
8 changed files with 72 additions and 23 deletions
+1
View File
@@ -802,6 +802,7 @@ typedef struct {
//////////////////////////////////////////////////////////////////////
void Sx1276LoRaLoopHandler(void);
void Sx1276LoRaInit(void (*RxCallBack)(uint8_t *rBuff, uint8_t rlen));
void SX1276LoRaSetFreqHz(uint32_t dwFreqHz);
void Sx1276LoRaSendBuffer(uint8_t* pucBuff, uint8_t ucLen);
uint8_t SX1276LoRaReadChannel(void);
boolean_t SX1276LoRaWriteChannel(uint8_t Channel);