LM402配置为EU868频段
修改LoRaWAN_AT_Slave工程为EU868频段。
打开工程后,在左项目列表中找到Application/User/LoRaWAN/App
,打开lora_app.c文件后,右键打开lora_app.h头文件。修改ACTIVE_REGIN
定义
/* LoraWAN application configuration (Mw is configured by lorawan_conf.h) */
#define ACTIVE_REGION LORAMAC_REGION_EU868
打开lora_info.c文件,右键打开lorawan_conf.h头文件,修改区域
/* Region ------------------------------------*/
/* the region listed here will be linked in the MW code */
/* the application (on sys_conf.h) shall just configure one region at the time */
/*#define REGION_AS923*/
/*#define REGION_AU915*/
//#define REGION_CN470
/*#define REGION_CN779*/
/*#define REGION_EU433*/
#define REGION_EU868
/*#define REGION_KR920*/
/*#define REGION_IN865*/
/*#define REGION_US915*/
/*#define REGION_RU864*/
保存后,完整编译,烧写到LM402开发板后,就可以使用EU868频段来连接到相应的网络频段了。
作者:SteveChen 创建时间:2025-01-18 14:50
最后编辑:SteveChen 更新时间:2025-01-18 15:39
最后编辑:SteveChen 更新时间:2025-01-18 15:39