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
"Customer Centricity, Enthusiasm, Mass collaboration and Great minds are the best path towards great products"
“Victory awaits him who has everything in order – luck people call it. Defeat is certain for him who has neglected to take the necessary precautions in time; this is called bad luck.” Roald Amundsen, The South Pole
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.