API failed in vEZ_JoinSavedNetwork 0xC3

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API failed in vEZ_JoinSavedNetwork 0xC3

1,825 Views
vihang_jani
Contributor I

Hi,

      Sometimes I get “API failed in vEZ_JoinSavedNetwork 0xC3” message when device attempt to call ZPS_eAplZdoJoinNetwork within  vEZ_JoinSavedNetwork to join network , sometimes it can join the network, have anyone know the reason of this issue?

0xC3(195) return value of  ZPS_eAplZdoJoinNetwork  API is coming 4 to 6 times in scanning all channel .


NOTE  : I have attached log for your reference and am using JN-SW-4166 SDK. 


Set Channel to 13

vSL_WriteMessage(32793, 1, 95)

vEZ_ClearDiscNT done
vAttemptDiscovery :- Discovery API Status =0
EZ_STATE = 0
******eNodeState : 0x02*****sStackEvent.eType : 0x0
eGetEZModeState = 3 , u8JoinAttempts = 2
EZ_STATE = 3
APP_ZpsEventTask sStackEvent.eType : 0x000a
ZPS_EVENT_NWK_DISCOVERY_COMPLETE

vSL_WriteMessage(32791, 35, 67)
******eNodeState : 0x02*****sStackEvent.eType : 0xa
eGetEZModeState = 3 , u8JoinAttempts = 3
OS_eStartSWTimer APP_JoinDelayTimer
EZ_STATE = 3
******eNodeState : 0x02*****sStackEvent.eType : 0x0
eGetEZModeState = 3 , u8JoinAttempts = 4
EZ_STATE = 3
******eNodeState : 0x02*****sStackEvent.eType : 0x0
eGetEZModeState = 3 , u8JoinAttempts = 5
OS_E_SWTIMER_EXPIRED
Discovery FailedtoJoin.....1
vEZ_ClearDiscNT done
vAttemptDiscovery :- Discovery API Status =0
EZ_STATE = 3
APP_ZpsEventTask sStackEvent.eType : 0x000a
ZPS_EVENT_NWK_DISCOVERY_COMPLETE

vSL_WriteMessage(32791, 35, 67)

******eNodeState : 0x02*****sStackEvent.eType : 0xa
eGetEZModeState = 3 , u8JoinAttempts = 0
ZPS_EVENT_NWK_DISCOVERY_COMPLETE......NWK Found, Count = 2
vEZ_SortAndSaveNetworks
**Saving Open NWK ExPANID = 0x00b57fffeb39849
vEZ_SortAndSaveNetworks sEZModeData.u8DiscoveredNwkCount = 1
u8DiscoveredNwkCount : 1
u8JoinIndex : 0
u64ExtPanId : 0xX00b57fffeb39849
u8EndDeviceCapacity : 1
u8LogicalChan : 13
u8PermitJoining : 1
u8RouterCapacity : 1
u8StackProfile : 2
u8ZigBeeVersion : 2
API failed in vEZ_JoinSavedNetwork 195

vSL_WriteMessage(32800, 16, ba)

Exhausted NWK Join


EZ_STATE = 3
******eNodeState : 0x02*****sStackEvent.eType : 0x0
eGetEZModeState = 0 , u8JoinAttempts = 1
E_EZ_SETUP_START
vEZ_ClearStateVariables
eEZ_SetChannel

Labels (1)
0 Kudos
Reply
7 Replies

1,426 Views
vihang_jani
Contributor I

Hi Mario,

 

I am using JN-SW-4364-ZigBee-SmartEnergy1.x1721 and JN-AN-1207-Smart-Energy-HAN-Solutions-Network-CoProcessor.

0 Kudos
Reply

1,426 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Vihang,

What is the link where you are downloading the SDK and the AN?

ZigBee Smart Energy|NXP 

Smart Energy SDK JN-SW-4064

The AN that we provide are:

pastedImage_1.png

0 Kudos
Reply

1,426 Views
vihang_jani
Contributor I

Hi Mario,

I am using JN-SW-4364-ZigBee-SmartEnergy1.x1721 and JN-AN-1207-Smart-Energy-HAN-Solutions-Network-CoProcessor.

0 Kudos
Reply

1,426 Views
vihang_jani
Contributor I

Good Morning Mario,

I am using Application Note JN-SW-4364-ZigBee-SmartEnergy1.x-v1721 and JN-AN-1207-Smart-Energy-HAN-Solutions-Network-CoProcessor

0 Kudos
Reply

1,426 Views
vihang_jani
Contributor I

Good Morning Mario,

I am using Application Note JN-SW-4364-ZigBee-SmartEnergy1.x-v1721 and JN-AN-1207-Smart-Energy-HAN-Solutions-Network-CoProcessor

0 Kudos
Reply

1,426 Views
vihang_jani
Contributor I

Application Note is JN-SW-4364-ZigBee-SmartEnergy1.x-v1721

0 Kudos
Reply

1,426 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Vihang,

I'm sorry. Could you please confirm the SDK and the JN-AN-xxxx version?

Regards,

Mario

0 Kudos
Reply