Hi,
Sometimes I get End Device and router capacity is 2 in ZPS_EVENT_NWK_DISCOVERY_COMPLETE Pkt sometimes it can give proper value, have anyone know the reason of this issue?
As per Zigbee specification ( Document 053474r20)
Router Capacity
TYPE : Boolean
Valid Range : TRUE(1) or FALSE(0)
Description : This value is set to true if the device is capable of accepting join requests from router-capable devices and set to FALSE otherwise.
EndDeviceCapacity
TYPE : Boolean
Valid Range : TRUE(1) or FALSE(0)
Description : This value is set to true if the device is capable of accepting join requests from end devices and set to FALSE otherwise.
NOTE : I have attached log for your reference and am using JN-SW-4166 SDK.
Set Channel to 11
vSL_WriteMessage(32793, 1, 93)
Scan is over Channel
vEZ_ClearDiscNT done
vAttemptDiscovery :- Discovery API Status =0
EZ_STATE = 0
APP_ZpsEventTask sStackEvent.eType : 0x000a
ZPS_EVENT_NWK_DISCOVERY_COMPLETE
vSL_WriteMessage(32791, 63, 54)
******eNodeState : 0x02*****sStackEvent.eType : 0xa
eGetEZModeState = 3 , u8JoinAttempts = 1
ZPS_EVENT_NWK_DISCOVERY_COMPLETE......NWK Found, Count = 4
vEZ_SortAndSaveNetworks
***Saving Open NWK ExPANID = 0xdf964fec0a52d931
*vEZ_SortAndSaveNetworks sEZModeData.u8DiscoveredNwkCount = 1
u8DiscoveredNwkCount : 1
u8JoinIndex : 0
u64ExtPanId : 0xX
u8EndDeviceCapacity : 2
u8LogicalChan : 11
u8PermitJoining : 1
u8RouterCapacity : 2
u8StackProfile : 2
u8ZigBeeVersion : 2
Join Network API Success 0
vSL_WriteMessage(32800, 16, 1a)