End Device Discovery Issue

@chris,

I have setup CC2531 as a coordinator and enddevice. Coordinator is ONLINE state but End Device
showing OFFLINE.

Please find below screen shots and log messages.


log file content:

10:39:39.249 INFO [safeCall-16] Thing 'zigbee:device:15bff614:00124b0006272a09' has been added.
10:39:39.254 DEBUG [qtp1249376645-111] ServiceEvent REGISTERED - [org.eclipse.smarthome.core.thing.binding.firmware.FirmwareUpdateHandler] - org.openhab.binding.zigbee
10:39:39.261 INFO [safeCall-14] 'zigbee:device:15bff614:00124b0006272a09' updated: INITIALIZING
10:39:39.275 INFO [safeCall-18] 'zigbee:device:15bff614:00124b0006272a09' changed from UNINITIALIZED to INITIALIZING
10:39:39.274 DEBUG [safeCall-14] 00124B0006272A09: Initializing ZigBee thing handler zigbee:device:15bff614:00124b0006272a09
10:39:39.288 DEBUG [safeCall-14] 00124B0006272A09: Coordinator status changed to ONLINE.
10:39:39.288 INFO [safeCall-18] 'zigbee:device:15bff614:00124b0006272a09' updated: OFFLINE
10:39:39.291 DEBUG [safeCall-14] 00124B0006272A09: Coordinator is ONLINE. Starting device initialisation.
10:39:39.293 INFO [safeCall-16] 'zigbee:device:15bff614:00124b0006272a09' changed from INITIALIZING to OFFLINE
10:39:39.295 DEBUG [pool-25-thread-5] 00124B0006272A09: NWK Discovery starting node rediscovery
10:39:39.305 DEBUG [pool-25-thread-5] TX CMD: NetworkAddressRequest [0/0 -> 65533/0, cluster=0000, TID=67, ieeeAddr=00124B0006272A09, requestType=0, startIndex=0]
10:39:39.306 DEBUG [pool-25-thread-5] TX APS: ZigBeeApsFrame [sourceAddress=0/0, destinationAddress=65533/0, profile=0000, cluster=0, addressMode=DEVICE, radius=31, apsSecurity=false, apsCounter=103, payload=00 09 2A 27 06 00 4B 12 00 00 00]
10:39:39.308 INFO [safeCall-14] Firmware status of thing zigbee:device:15bff614:00124b0006272a09 changed to UNKNOWN.
10:39:39.307 DEBUG [ESH-thingHandler-6] 00124B0006272A09: Node has not finished discovery
10:39:39.313 DEBUG [pool-25-thread-5] ->  AF_DATA_REQUEST (Packet: subsystem=null, length=21, apiId=24 01, data=FE 15 24 01 FD FF 00 00 00 00 67 30 1F 0B 00 09 2A 27 06 00 4B 12 00 00 00 2A, checksum=2A, error=false)
10:39:39.319 INFO [safeCall-16] 'zigbee:device:15bff614:00124b0006272a09' updated: OFFLINE: Node has not completed discovery
10:39:39.328 INFO [safeCall-14] 'zigbee:device:15bff614:00124b0006272a09' changed from OFFLINE to OFFLINE: Node has not completed discovery
10:39:39.537 DEBUG [ZToolPacketParser] <-  AF_DATA_SRSP (FE 01 64 01 00 64)
10:39:45.673 DEBUG [pool-25-thread-1] 063A490C00124B00: Node SVC Discovery running
10:39:45.677 DEBUG [pool-25-thread-1] TX CMD: NetworkAddressRequest [0/0 -> 65535/0, cluster=0000, TID=68, ieeeAddr=063A490C00124B00, requestType=0, startIndex=0]
10:39:45.682 DEBUG [pool-25-thread-1] TX APS: ZigBeeApsFrame [sourceAddress=0/0, destinationAddress=65535/0, profile=0000, cluster=0, addressMode=DEVICE, radius=31, apsSecurity=false, apsCounter=104, payload=00 00 4B 12 00 0C 49 3A 06 00 00]
10:39:45.689 DEBUG [pool-25-thread-1] ->  AF_DATA_REQUEST (Packet: subsystem=null, length=21, apiId=24 01, data=FE 15 24 01 FF FF 00 00 00 00 68 30 1F 0B 00 00 4B 12 00 0C 49 3A 06 00 00 5C, checksum=5C, error=false)
10:39:45.910 DEBUG [ZToolPacketParser] <-  AF_DATA_SRSP (FE 01 64 01 00 64)
10:39:47.305 DEBUG [pool-25-thread-2] Transaction timeout: NetworkAddressRequest [0/0 -> 65533/0, cluster=0000, TID=67, ieeeAddr=00124B0006272A09, requestType=0, startIndex=0]
10:39:47.310 DEBUG [pool-25-thread-5] 00124B0006272A09: NWK Discovery node rediscovery request failed. Wait before retry.
10:39:48.008 DEBUG [pool-25-thread-4] 063A3F5400124B00: Node SVC Discovery running
10:39:48.019 DEBUG [pool-25-thread-4] TX CMD: NetworkAddressRequest [0/0 -> 65535/0, cluster=0000, TID=69, ieeeAddr=063A3F5400124B00, requestType=0, startIndex=0]
10:39:48.023 DEBUG [pool-25-thread-4] TX APS: ZigBeeApsFrame [sourceAddress=0/0, destinationAddress=65535/0, profile=0000, cluster=0, addressMode=DEVICE, radius=31, apsSecurity=false, apsCounter=105, payload=00 00 4B 12 00 54 3F 3A 06 00 00]
10:39:48.026 DEBUG [pool-25-thread-4] ->  AF_DATA_REQUEST (Packet: subsystem=null, length=21, apiId=24 01, data=FE 15 24 01 FF FF 00 00 00 00 69 30 1F 0B 00 00 4B 12 00 54 3F 3A 06 00 00 73, checksum=73, error=false)
10:39:48.145 DEBUG [ZToolPacketParser] <-  AF_DATA_SRSP (FE 01 64 01 00 64)
10:39:48.815 DEBUG [pool-25-thread-5] TX CMD: NetworkAddressRequest [0/0 -> 65533/0, cluster=0000, TID=6A, ieeeAddr=00124B0006272A09, requestType=0, startIndex=0]
10:39:48.822 DEBUG [pool-25-thread-5] TX APS: ZigBeeApsFrame [sourceAddress=0/0, destinationAddress=65533/0, profile=0000, cluster=0, addressMode=DEVICE, radius=31, apsSecurity=false, apsCounter=106, payload=00 09 2A 27 06 00 4B 12 00 00 00]
10:39:48.829 DEBUG [pool-25-thread-5] ->  AF_DATA_REQUEST (Packet: subsystem=null, length=21, apiId=24 01, data=FE 15 24 01 FD FF 00 00 00 00 6A 30 1F 0B 00 09 2A 27 06 00 4B 12 00 00 00 27, checksum=27, error=false)
10:39:49.051 DEBUG [ZToolPacketParser] <-  AF_DATA_SRSP (FE 01 64 01 00 64)
10:39:53.678 DEBUG [pool-25-thread-6] Transaction timeout: NetworkAddressRequest [0/0 -> 65535/0, cluster=0000, TID=68, ieeeAddr=063A490C00124B00, requestType=0, startIndex=0]
10:39:53.683 DEBUG [pool-25-thread-1] 0: Node SVC Discovery NetworkAddressRequest returned null
10:39:53.687 DEBUG [pool-25-thread-1] 063A490C00124B00: Node SVC Discovery request NWK_ADDRESS failed. Retry 25, wait 27404ms before retry.
10:39:56.019 DEBUG [pool-25-thread-3] Transaction timeout: NetworkAddressRequest [0/0 -> 65535/0, cluster=0000, TID=69, ieeeAddr=063A3F5400124B00, requestType=0, startIndex=0]
10:39:56.024 DEBUG [pool-25-thread-4] 0: Node SVC Discovery NetworkAddressRequest returned null
10:39:56.028 DEBUG [pool-25-thread-4] 063A3F5400124B00: Node SVC Discovery request NWK_ADDRESS failed. Retry 24, wait 15869ms before retry.
10:39:56.815 DEBUG [pool-25-thread-2] Transaction timeout: NetworkAddressRequest [0/0 -> 65533/0, cluster=0000, TID=6A, ieeeAddr=00124B0006272A09, requestType=0, startIndex=0]
10:39:56.821 DEBUG [pool-25-thread-5] 00124B0006272A09: NWK Discovery node rediscovery request failed. Wait before retry.
10:39:58.325 DEBUG [pool-25-thread-5] TX CMD: NetworkAddressRequest [0/0 -> 65533/0, cluster=0000, TID=6B, ieeeAddr=00124B0006272A09, requestType=0, startIndex=0]
10:39:58.329 DEBUG [pool-25-thread-5] TX APS: ZigBeeApsFrame [sourceAddress=0/0, destinationAddress=65533/0, profile=0000, cluster=0, addressMode=DEVICE, radius=31, apsSecurity=false, apsCounter=107, payload=00 09 2A 27 06 00 4B 12 00 00 00]
10:39:58.333 DEBUG [pool-25-thread-5] ->  AF_DATA_REQUEST (Packet: subsystem=null, length=21, apiId=24 01, data=FE 15 24 01 FD FF 00 00 00 00 6B 30 1F 0B 00 09 2A 27 06 00 4B 12 00 00 00 26, checksum=26, error=false)
10:39:58.456 DEBUG [ZToolPacketParser] <-  AF_DATA_SRSP (FE 01 64 01 00 64)
10:40:06.326 DEBUG [pool-25-thread-1] Transaction timeout: NetworkAddressRequest [0/0 -> 65533/0, cluster=0000, TID=6B, ieeeAddr=00124B0006272A09, requestType=0, startIndex=0]
10:40:06.331 DEBUG [pool-25-thread-5] 00124B0006272A09: NWK Discovery node rediscovery request failed. Wait before retry.
10:40:07.835 DEBUG [pool-25-thread-5] TX CMD: NetworkAddressRequest [0/0 -> 65533/0, cluster=0000, TID=6C, ieeeAddr=00124B0006272A09, requestType=0, startIndex=0]
10:40:07.838 DEBUG [pool-25-thread-5] TX APS: ZigBeeApsFrame [sourceAddress=0/0, destinationAddress=65533/0, profile=0000, cluster=0, addressMode=DEVICE, radius=31, apsSecurity=false, apsCounter=108, payload=00 09 2A 27 06 00 4B 12 00 00 00]
10:40:07.844 DEBUG [pool-25-thread-5] ->  AF_DATA_REQUEST (Packet: subsystem=null, length=21, apiId=24 01, data=FE 15 24 01 FD FF 00 00 00 00 6C 30 1F 0B 00 09 2A 27 06 00 4B 12 00 00 00 21, checksum=21, error=false)
10:40:08.068 DEBUG [ZToolPacketParser] <-  AF_DATA_SRSP (FE 01 64 01 00 64)
10:40:11.905 DEBUG [pool-25-thread-6] 063A3F5400124B00: Node SVC Discovery running
10:40:11.909 DEBUG [pool-25-thread-6] TX CMD: NetworkAddressRequest [0/0 -> 65535/0, cluster=0000, TID=6D, ieeeAddr=063A3F5400124B00, requestType=0, startIndex=0]
10:40:11.913 DEBUG [pool-25-thread-6] TX APS: ZigBeeApsFrame [sourceAddress=0/0, destinationAddress=65535/0, profile=0000, cluster=0, addressMode=DEVICE, radius=31, apsSecurity=false, apsCounter=109, payload=00 00 4B 12 00 54 3F 3A 06 00 00]
10:40:11.924 DEBUG [pool-25-thread-6] ->  AF_DATA_REQUEST (Packet: subsystem=null, length=21, apiId=24 01, data=FE 15 24 01 FF FF 00 00 00 00 6D 30 1F 0B 00 00 4B 12 00 54 3F 3A 06 00 00 77, checksum=77, error=false)
10:40:12.145 DEBUG [ZToolPacketParser] <-  AF_DATA_SRSP (FE 01 64 01 00 64)
10:40:15.836 DEBUG [pool-25-thread-3] Transaction timeout: NetworkAddressRequest [0/0 -> 65533/0, cluster=0000, TID=6C, ieeeAddr=00124B0006272A09, requestType=0, startIndex=0]
10:40:15.840 DEBUG [pool-25-thread-5] 00124B0006272A09: NWK Discovery node rediscovery request failed. Wait before retry.
10:40:17.341 DEBUG [pool-25-thread-5] 00124B0006272A09: NWK Discovery finishing node rediscovery
10:40:19.911 DEBUG [pool-25-thread-4] Transaction timeout: NetworkAddressRequest [0/0 -> 65535/0, cluster=0000, TID=6D, ieeeAddr=063A3F5400124B00, requestType=0, startIndex=0]
10:40:19.915 DEBUG [pool-25-thread-6] 0: Node SVC Discovery NetworkAddressRequest returned null
10:40:19.919 DEBUG [pool-25-thread-6] 063A3F5400124B00: Node SVC Discovery request NWK_ADDRESS failed. Retry 25, wait 40806ms before retry.
10:40:21.102 DEBUG [pool-25-thread-2] 063A490C00124B00: Node SVC Discovery running
10:40:21.106 DEBUG [pool-25-thread-2] TX CMD: NetworkAddressRequest [0/0 -> 65535/0, cluster=0000, TID=6E, ieeeAddr=063A490C00124B00, requestType=0, startIndex=0]
10:40:21.110 DEBUG [pool-25-thread-2] TX APS: ZigBeeApsFrame [sourceAddress=0/0, destinationAddress=65535/0, profile=0000, cluster=0, addressMode=DEVICE, radius=31, apsSecurity=false, apsCounter=110, payload=00 00 4B 12 00 0C 49 3A 06 00 00]
10:40:21.119 DEBUG [pool-25-thread-2] ->  AF_DATA_REQUEST (Packet: subsystem=null, length=21, apiId=24 01, data=FE 15 24 01 FF FF 00 00 00 00 6E 30 1F 0B 00 00 4B 12 00 0C 49 3A 06 00 00 5A, checksum=5A, error=false)
10:40:21.241 DEBUG [ZToolPacketParser] <-  AF_DATA_SRSP (FE 01 64 01 00 64)
10:40:29.109 DEBUG [pool-25-thread-3] Transaction timeout: NetworkAddressRequest [0/0 -> 65535/0, cluster=0000, TID=6E, ieeeAddr=063A490C00124B00, requestType=0, startIndex=0]
10:40:29.116 DEBUG [pool-25-thread-2] 0: Node SVC Discovery NetworkAddressRequest returned null
10:40:29.123 DEBUG [pool-25-thread-2] 063A490C00124B00: Node SVC Discovery request NWK_ADDRESS failed. Retry 26, wait 31620ms before retry.
10:40:32.376 DEBUG [pool-25-thread-5] 00124B0006271D91: Node SVC Discovery running
10:40:32.394 DEBUG [pool-25-thread-5] TX CMD: NetworkAddressRequest [0/0 -> 65535/0, cluster=0000, TID=6F, ieeeAddr=00124B0006271D91, requestType=0, startIndex=0]
10:40:32.418 DEBUG [pool-25-thread-5] TX APS: ZigBeeApsFrame [sourceAddress=0/0, destinationAddress=65535/0, profile=0000, cluster=0, addressMode=DEVICE, radius=31, apsSecurity=false, apsCounter=111, payload=00 91 1D 27 06 00 4B 12 00 00 00]
10:40:32.483 DEBUG [pool-25-thread-5] ->  AF_DATA_REQUEST (Packet: subsystem=null, length=21, apiId=24 01, data=FE 15 24 01 FF FF 00 00 00 00 6F 30 1F 0B 00 91 1D 27 06 00 4B 12 00 00 00 8F, checksum=8F, error=false)
10:40:32.614 DEBUG [ZToolPacketParser] <-  AF_DATA_SRSP (FE 01 64 01 00 64)
10:40:40.396 DEBUG [pool-25-thread-6] Transaction timeout: NetworkAddressRequest [0/0 -> 65535/0, cluster=0000, TID=6F, ieeeAddr=00124B0006271D91, requestType=0, startIndex=0]
10:40:40.401 DEBUG [pool-25-thread-5] 0: Node SVC Discovery NetworkAddressRequest returned null
10:40:40.405 DEBUG [pool-25-thread-5] 00124B0006271D91: Node SVC Discovery request NWK_ADDRESS failed. Retry 27, wait 35424ms before retry.
10:41:00.733 DEBUG [pool-25-thread-3] 063A3F5400124B00: Node SVC Discovery running
10:41:00.748 DEBUG [pool-25-thread-2] 063A490C00124B00: Node SVC Discovery running
10:41:00.765 DEBUG [pool-25-thread-3] TX CMD: NetworkAddressRequest [0/0 -> 65535/0, cluster=0000, TID=70, ieeeAddr=063A3F5400124B00, requestType=0, startIndex=0]
10:41:00.767 DEBUG [pool-25-thread-2] TX CMD: NetworkAddressRequest [0/0 -> 65535/0, cluster=0000, TID=71, ieeeAddr=063A490C00124B00, requestType=0, startIndex=0]
10:41:00.771 DEBUG [pool-25-thread-3] TX APS: ZigBeeApsFrame [sourceAddress=0/0, destinationAddress=65535/0, profile=0000, cluster=0, addressMode=DEVICE, radius=31, apsSecurity=false, apsCounter=112, payload=00 00 4B 12 00 54 3F 3A 06 00 00]
10:41:00.773 DEBUG [pool-25-thread-2] TX APS: ZigBeeApsFrame [sourceAddress=0/0, destinationAddress=65535/0, profile=0000, cluster=0, addressMode=DEVICE, radius=31, apsSecurity=false, apsCounter=113, payload=00 00 4B 12 00 0C 49 3A 06 00 00]
10:41:00.776 DEBUG [pool-25-thread-3] ->  AF_DATA_REQUEST (Packet: subsystem=null, length=21, apiId=24 01, data=FE 15 24 01 FF FF 00 00 00 00 70 30 1F 0B 00 00 4B 12 00 54 3F 3A 06 00 00 6A, checksum=6A, error=false)
10:41:00.999 DEBUG [ZToolPacketParser] <-  AF_DATA_SRSP (FE 01 64 01 00 64)
10:41:01.004 DEBUG [pool-25-thread-2] ->  AF_DATA_REQUEST (Packet: subsystem=null, length=21, apiId=24 01, data=FE 15 24 01 FF FF 00 00 00 00 71 30 1F 0B 00 00 4B 12 00 0C 49 3A 06 00 00 45, checksum=45, error=false)
10:41:01.224 DEBUG [ZToolPacketParser] <-  AF_DATA_SRSP (FE 01 64 01 00 64)

What is the end device you are trying to discover?

I am trying to discover CC2531 end device. I had configured cc2531 device as a end device.

I’m not sure I can really help you. I have no idea what firmware you are running, what the device type is, how the profile is configured, what clusters are set, how the node descriptor, power descriptor and simple descriptor are configured?

If you are trying to create your own end device, I would suggest that you try a simple setup using whatever development system you are using. Trying to get this working in the binding is likely to be a lot more difficult.

Currently i am using Z-STACK-HOME v.1.2.2a package. The file name is CC2531ZNP-Pro-Secure_Standard.hex file.

CC2531 USB Dongles.

I had follow below steps:

  1. I had flashed CC2531ZNP-Pro-Secure_Standard.hex file into both devices (CC231 USB Dongles).

  2. I have been load Coordinator and End device script files into CC2531 devices. I have to share

    script files which has been load into devices( ZNP_script_example.7z)

  3. Then the devices are successfully configured as a coordinator and end device.

That’s not what I meant.

I meant that you are programming your own end device. You need to tell this device what the device type is, what the profile is, what endpoints and clusters are supported. I doubt you can expect to simply load the firmware, select “end device” and expect it to work.

Here is endpoint 0x0C for both devices.

So… I have to setup device type and profiles ,clusters,endpoint.

Please can you share some examples of device type and profile and endpoint,clusters.

So according to I will change for devices.

Thanks in adavance.

I would suggest to look at other commercially available devices (eg Hue bulbs, SmartThings sensors etc). I don’t know what you are actually trying to do here, so can’t really provide sensible information. I assume that you are already very knowledgeable with ZigBee already as it looks like you are trying to create your own devices, and this isn’t something that I’m really able to assist you with here.

As I said above, I would strongly suggest to try and get a simple system working. Don’t use the binding as this will complicate things. Start simple and build up in steps. Try and get your device defined and working as it is meant to with a simple coordinator system, and then once it is working properly, then introduce it to the binding.

If you are using TI development kits, then I’m sure that they have such systems available to help you with testing, but I’m not familiar with TI as most of my work uses Silabs chipsets/tools/etc.

I just gone through my programming script file.

Currently i am using home automation profile.

Device type means what is the device type.

I had set device type as a End Device.

Thanks for your suggestions @chris.