Hello,I have detected a error in ZNP Proyect. I am going to explain the step that i have done to understand well.
I have opened a original ZNP proyect ( stack 2.5.0 ) and I have done some changes:1- Secure = 12- zgPreconfig = TRUE3- Change default password 4- Add "f8wCoord.cfg" file in Tool folder ( to create a Coordinator )After, I have compiled the proyect in Debug mode and I have burned the code in one USB dongle.After this step I have registered this USB's endpoint. I have used AF_REGISTER command to do it:<TX>07:16:11.61 COM17 AF_REGISTER (0x2400) EndPoint: 0x0A AppProfID: 0x0104 AppDeviceId: 0x0402 AppDevVer: 0x00 LatencyReq: NO_LATENCY_REQS (0x0) AppNumInClusters: 0x06 AppInClusterList: 0x0000, 0x0003, 0x0004, 0x0006, 0x0703, 0xFC01 AppNumOutClusters: 0x06 AppOutClusterList: 0x0000, 0x0003, 0x0004, 0x0006, 0x0703, 0xFC01In next step I have added a Router and a End device in the net.when I have a net with this two devices:I have ask to the net about the address of the End Device. Here you have the questions, and I have not received any asnwer!!<TX>07:04:12.03 COM17 ZDO_NWK_ADDR_REQ (0x2500) IEEEAddress: 0x00124B0001647897 ReqType: EXTENDED (0x1) StartIndex: 0x00<RX>07:04:12.05 COM17 ZDO_NWK_ADDR_REQ_SRSP (0x6500) Status: afStatus_SUCCESS (0x0)<TX>07:04:30.09 COM17 ZDO_NWK_ADDR_REQ (0x2500) IEEEAddress: 0x00124B0001647897 ReqType: SINGLE_DEVICE_RESPONSE (0x0) StartIndex: 0x00<RX>07:04:30.11 COM17 ZDO_NWK_ADDR_REQ_SRSP (0x6500) Status: afStatus_SUCCESS (0x0)can somebody tell me what is wrong?Regards,
I'm not familiar with the ZNP protocol, so I can provide a little help (if any), however I do have one question:
It's not obvious from your post, but what about the security on the router and end device side? Is it enabled?
Yes the secure is enabled on the router and end device!
Ok, what happens if you disabling security, does it works?
I'd recommend going back to the original ZNP build and verify that the error. Otherwise you're asking all of us a multi-variable problem.
On the application configuration, it looks like you're listing some binding clusters, BTW. I don't use binding.
Keep in mind that the network find commands (Find IEEE address, find NWK address) don't work for end devices.
Hello,Why do you say , that "the network find commands (Find IEEE address, find NWK address) don't work for end devices."If you ask about a IEEE of the end device, you usually have answer!I am going to test with the ZNP's original proyect. After the test I will write the test results.Regards,
Hello Everybody,I have started with original 2.5.0 stack.In original 2.5.0 project, I have changed the DEFAULT_CHANLIST to my channel and I have added f8wRouter.cfg file in Tools folder.I have build and download in the cc2531 USB.I have started the USB with Ztool's ZB_START_REQUEST and my surprise, The usb is started as a Coordinator!!What is wrong? I have added the Router File!!Can anybody tell me something?
ZNP stands for ZigBee Network Processor. You don't need to specify device type (coordinator, router, enddevice) when you build the ZNP as your application running on the host processor should configure device type at run time.
The host processor shall use the ZB_WRITE_CONFIGURATION command to configure ZCD_NV_LOGICAL_TYPE to set device type (same for PanID and channel configuration). You can find out more information about the ZNP startup sequence in the ZNP interface specification.
Hi Yaoyao,Thank you for your answer.I had read that the user you can configure the device using ZB_WRITE_CONFIGURATION. I want to define the configuration of the device in the begining and in the code, without any other external communication. For this reason, I had added f8wRouter.cfg file in Tools folder, thinking that adding this file, the device will be a router.Do you think that if i write with zb_WriteConfiguration the init features of the device, this would work?Where do you think that I need to add all the configuration functions?
If you do not want to have any external communication, you should not use ZNP. You should run both application and core stack on the same device.
Try start with sample application - GenericApp, or HA Sample App or SE Sample App.
Hello Yaoyao, I do not express well the last time. What I want is not having to configure the device with messages! I just want to configure it from the code and then use the external communication to obtain information from network devices. For this reason I set it all in code. Do you understand me now?
Hello Yaoyao,I have started to use the ZNp proyect as you said me.I have obtained a lot of information about internal NV parameter which is very interesting. But I have a problem routing messages to the EndDevices, and surely you can help me.I have configured a USB device with ZNP like a coordinator and I want to add a router first and a Enddevice to the network.When I add a device apart of the usual Zigbee questions, the new device asks one question to the coordinator, and if the device has a response, the new device starts working!Well, the router is joined well, but the enddevice no! My question is about Enddevice's communication parameters.Do you know if I need to change any ZNP's feature, to send correctly the messages to the END devices?Thanks
Hello Again,I have solved the one part of the problem, changing device's ROUTE_EXPIRY_TIME. Now I can send and receive some messages!I have registered one endpoint, and when I am sending and receiving messages with clusters that is registered in the EndPoint, I have not problems.I have problems when I use ZDO messages.When I use ZDO_NWK_ADDR_REQ message, to know the Address of the one End device, this message is not routed correctly. The device send a broadcast message but it not route the message to the End device!With ZDO_NODE_DESC_REQ, ZDO_POWER_DESC_REQ, ZDO_SIMPLE_DESC_REQ,ZDO_ACTIVE_EP_REQ messages, I have other problem. The messages goes out of the USB and the node responses the messages, but the USB don't send the information to ZTOOL.I registered this ENDPOINT:EndPoint = 0x0a;AppProfID = 0x0104;AppDeviceId = 0x0007;AppDevVer = 0x00;LatencyReq = 0x00;AppNumInClusters = 0x04;AppInClusterList = [0x0000,0x0003,0x0004,0x0006];AppNumOutClusters = 0x04;AppOutClusterList = [0x0000,0x0003,0x0004,0x0006];Can anybody tell me any solution?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.