Other Parts Discussed in Thread: CC1352P, Z-STACK
Tool/software:
Hello. First timer with Zigbee and these boards.
I believe I have successfully set up one of the boards to act as a coordinator, but I am trying to get one to act as an end device, and it seems to be failing at the point of requesting a Node Descriptor from the end device.
I'm using the zigpy_znp library.
This is roughly what I'm seeing on the coordinator side of things:
INFO:sncalternativebearer.bearer_interfaces.zigbee_802154_controller:Devices: {00:12:4b:00:22:7a:b0:5b: <ZNPCoordinator model='Coordinator' manuf='Texas Instruments' nwk=0x0000 ieee=00:12:4b:00:22:7a:b0:5b is_initialized=True>}
INFO:zigpy_znp.zigbee.application:on zdo message: ZDO.MsgCbIncoming.Callback(Src=0x0000, IsBroadcast=<Bool.false: 0>, ClusterId=32822, SecurityUse=0, TSN=0, MacDst=0x0000, Data=b'\x00')
INFO:zigpy_znp.zigbee.application:Trust center device join: ZDO.TCDevInd.Callback(SrcNwk=0x5D1A, SrcIEEE=00:12:4b:00:22:7a:d8:6f, ParentNwk=0x0000)
INFO:zigpy.application:New device 0x5d1a (00:12:4b:00:22:7a:d8:6f) joined the network
INFO:zigpy.device:[0x5d1a] Scheduling initialization
INFO:zigpy.device:[0x5d1a] Requesting 'Node Descriptor'
INFO:zigpy.device:[0x5d1a] Requesting 'Node Descriptor'
INFO:zigpy.device:[0x5d1a] Requesting 'Node Descriptor'
INFO:zigpy.device:[0x5d1a] Requesting 'Node Descriptor'
INFO:zigpy.device:[0x5d1a] Requesting 'Node Descriptor'
INFO:sncalternativebearer.bearer_interfaces.zigbee_802154_controller:Devices: {00:12:4b:00:22:7a:b0:5b: <ZNPCoordinator model='Coordinator' manuf='Texas Instruments' nwk=0x0000 ieee=00:12:4b:00:22:7a:b0:5b is_initialized=True>, 00:12:4b:00:22:7a:d8:6f: <Device model=None manuf=None nwk=0x5D1A ieee=00:12:4b:00:22:7a:d8:6f is_initialized=False>}
And on my end device:
INFO:sncalternativebearer.bearer_interfaces.zigbee_802154_end_device:Found network beacon: Beacon(Src=0x0000, PanId=0xB11F, Channel=15, PermitJoining=1, RouterCapacity=1, DeviceCapacity=1, ProtocolVersion=2, StackProfile=2, LQI=189, Depth=0, UpdateId=0, ExtendedPanId=12:5d:a6:ef:a0:c0:dc:8e)
INFO:sncalternativebearer.bearer_interfaces.zigbee_802154_end_device:Waiting for network beacon(s) to be found...
INFO:sncalternativebearer.bearer_interfaces.zigbee_802154_end_device:Network discovery complete: <Status.SUCCESS: 0>
INFO:sncalternativebearer.bearer_interfaces.zigbee_802154_end_device:End device has sent network join request
INFO:sncalternativebearer.bearer_interfaces.zigbee_802154_end_device:Received join confirmation: ZDO.JoinCnf.Callback(Status=<Status.SUCCESS: 0>, Nwk=0x5D1A, ParentNwk=0x0000)
INFO:sncalternativebearer.bearer_interfaces.zigbee_802154_end_device:Device announcement sent ZDO.EndDeviceAnnce.Rsp(Status=<Status.SUCCESS: 0>)
So the coordinator is recognizing the device's network join request, and scheduling the device for initialization, but that never resolves.
Is there something obvious I'm missing that I need to do to get my CC1352P to join my other CC1352P as an end device?
Thanks