Modify "zps_gen.c" file param

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

Modify "zps_gen.c" file param

762 次查看
qidongli
Contributor II

Hi,

I want to modify the parameters in the following table. What are some ways to do that? I found "zps_gen.c" file is only read!

PRIVATE const zps_tsNwkNibInitialValues s_sNibInitialValues =
{
600,
05,
7,
15,
1,
2,
11,
18,
0,
2,
0,
1,
0,
15,
3,
3,
255,
5,
TRUE,
TRUE,
5,
4,
1,
2,
8
,0/* u16VerifyLinkCostTransmitRate */
};

Regards,

Liqidong

0 项奖励
2 回复数

640 次查看
patrick_pan
NXP Employee
NXP Employee

Hi, Li

another way to change value inside zps_gen.c is modify corresponding item in zpscfg

0 项奖励

640 次查看
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi,

You can modify the structure.

For example: 


    
ZPS_tsNwkNib *psNib =  ZPS_psAplZdoGetNib( );
psNib->sTbl.psNibDefault[0].u8MaxRouters = 0x01;

Regards,

Mario

0 项奖励