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.

CC2430ZDK, Location application Sample, Z-Stack: v1.4.3, Application Sample: 1.2.1

Genius 11085 points

I send the SYS_GET_NV_INFO(0x 02 001F 00 1F) to dongle (SmartRF04FB with CC2430ZDK_EM). It response SYS_GET_NV_INFO (02101F201E00124B0000030C71FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE9). The Status of IEEEAdd is Success but all Status of Scan Channels, PanID, Security Level and PreConfigKey are Fail. Why?

And Why the Network ID is 1200( displayed by LCD) when download the dongle of Z-LocationEngine, but the Network ID is C71(displayed by LCD) when download the dongle of Application Sample?And what is "Network ID"? How can I change it?

  • Hi Pra,

    Are you using Z-Tool to send the SYS_GET_NV_INFO?

    This is not a NV- Non Volatile memory write command. It is a NV read command. If you are trying to change the configuration data of your network you can not use this command.

    LPWRocks 

  • The SYS_GET_NV_INFO won't give you the correct information. There are separate SYS commands to get the PAN ID, Chanlist, etc so you should use those. The .hex files that you can download using the Z-Location Engine tool are pre-programmed with the PAN ID (or network ID) of 0x1200. If you don't set the ZDAPP_CONFIG_PAN_ID setting in the f8wconfig.cfg file to something other than 0xFFFF, the coordinator will use the 2 least significant bytes of it's IEEE address to create the network ID. If you have a random IEEE address assigned by using the SW5 joystick button press, then the network ID will be random everytime you reset the coordinator. If you program the IEEE address using the SmartRF flash programmer then it will always be the same. The safest thing to do is just to set it to a known value in the f8wconfig.cfg file though. This way you know what PAN ID the coordinator is using and what PAN ID joining devices will be looking for and they will join the correct network.