Modify "zps_gen.c" file param

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Modify "zps_gen.c" file param

944 Views
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 Kudos
Reply
2 Replies

822 Views
patrick_pan
NXP Employee
NXP Employee

Hi, Li

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

0 Kudos
Reply

822 Views
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 Kudos
Reply