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:
@@ -30,6 +30,9 @@ typedef struct {
|
||||
uint32_t PackageCnt;
|
||||
uint32_t AppSize;
|
||||
uint32_t Crc32Check;
|
||||
uint32_t FirstRunFlag;//第一次运行
|
||||
uint8_t DevMac[6];//设备MAC
|
||||
uint32_t LoraFreq;//Lora频率
|
||||
}BootPara_t, *BootPara;
|
||||
|
||||
//主机下发升级请求载荷结构体
|
||||
@@ -58,4 +61,5 @@ typedef struct {
|
||||
//输出接口
|
||||
void Update(uint8_t *PayLoad);
|
||||
void UpdateInit(void);
|
||||
extern BootPara_t BLPara;
|
||||
#endif
|
||||
Reference in New Issue
Block a user