How to change MAC Address in SARD

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to change MAC Address in SARD

1,975 次查看
roby
Contributor I
Hi all,

I am carring out an 802.15.4 ( lib ver -> 1.603 )Star Network by using SARD boards. I would like to change the default Extended MAC address on each one by setting up my Extended MAC Address.

I tried to modify the NV_data.c file MAC address in the Init_NV_RAM_Struct_t section but I does not works.

Can anyone help me?

Thanks
Roby
标签 (1)
0 项奖励
回复
1 回复

800 次查看
EvanYin
Contributor I
#ifdef SYSTEM_CLOCK_16_78MHZ
 0x10, // 16 MHz -> ~16,78 MHz
 //0x3646,
 (ABEL_XTAL_TRIM | ABEL_XTAL_BIAS_CURRENT | ABEL_CHIP_RATE | 6),
 (ABEL_CCA_ENERGY_DETECT_THRESHOLD | ABEL_POWER_COMPENSATION_OFFSET),
// ICG clock
 0x18,
 0x60, // 0x60 => CPU clk=32,78 MHz, Buc clk = 16,39 MHz
// ICG Filter
 0x02,
 0x40,
// SCI
 0x00,
 0x09, // 0x09 => 115200 @ 16,78 MHz
#endif SYSTEM_CLOCK_16_78MHZ
//  MACµØÖ·
0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
 
rpelace the upper line with the MAC you want,,,, such as "0x11,0x22,0x33,0x44,0xFF,0xFF,0xFF,0xFF,"
0 项奖励
回复