This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Questions about lines of code in SimpliciTI

Other Parts Discussed in Thread: SIMPLICITI

Hello,

I am want to use the simpliciTI (unrestircted 868.8MHz) for CC1111 dongle and trying to understnd the simpliciTI working.Can someone help me out with the below

a)How to assign values and what values should be assigned for the below described

1) DEFAULT_JOIN_TOKEN, 2) DEFAULT_LINK_TOKEN, and 3) THIS_DEVICE_ADDRESS.

b)IOCTL_LEVEL_3

Where can I see the assinged(I mean which code of lines define these) values for the above a) and b) in the simpliciTI code of CC1111 provided by TI.

Thankyou.

  • Hi,

    stefan 12 said:

    a)How to assign values and what values should be assigned for the below described

    1) DEFAULT_JOIN_TOKEN, 2) DEFAULT_LINK_TOKEN, and 3) THIS_DEVICE_ADDRESS.

    The DEFAULT_JOIN_TOKEN and DEFAULT_LINK_TOJEN can be found in smpl_nwk_config.dat, while THIS_DEVICE_ADDRESS can be found in smpl_config.dat. See the following screenshot from your IAR SimpliciTI project view:

    stefan 12 said:

    b)IOCTL_LEVEL_3

    Where can I see the assinged(I mean which code of lines define these) values for the above a) and b) in the simpliciTI code of CC1111 provided by TI.

    DEFAULT_LINK_TOKEN is initial value of sLinkToken (see nwk_link.c)

    DEFAULT_JOIN_TOKEN is initial value of sJoinToken (see nwk_join.c)

    THIS_DEVICE_ADDRESS is initial value of sMyROMAddress (see nwk_globals.c)

    All value can be changed during run time using the SMPL_Ioctl() function. See the documentation for detailed information.