How to use zps configuration in Beyond Studio(guidance req)

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

How to use zps configuration in Beyond Studio(guidance req)

1,197 Views
dheerajsawant
Contributor V

Hello Friends, davidashraf , mario_castaneda

I am using JN5168-001-M00 Module 

 i am reading Document like JN-AN-3113 and 3116.

I have create communication between Sleeping Device to Coordinator with major help of NXP Community. 

Thank You so much for your support. 

Now i just wanted to understand proper ZPS Configuration Tool.

I want to read  profile ID , End Point etc. 

My Problem:-

1) I can change End Point Number in ZPS Configuration Tool it also reflects to .zpscfg file. 

But i wont't be able to Read it.

whenever i change it get error Like PDUM Error because of that My RF Communication get Stop.

What i want:- 

1) just wanted to read End Point ID ,Application ID or its Address of Sleeping Device.

Why i want:- 

1) Because i wanted to use 20 End Point. so to recognize which End Device send data to Coordinator. 

I hope you understand my Problem.  

Thank you for your Time

0 Kudos
7 Replies

806 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Dheeraj,

Just to confirm, Do you want the sent reports, for example, every 10 min? and you want to send the cluster id and the endpoint, aren't you?

Best Regards,

Mario

0 Kudos

806 Views
dheerajsawant
Contributor V

Hello mario_castaneda‌, 

Yes, Mario

i want to send cluster and end point id. 

because i just want to understand which end point sends data to coordinator. 

just want to says that i try below code

DBG_vPrintf(TRACE_APP, " Profile :%x\r\n", sStackEvent.uEvent.sApsDataIndEvent.u16ProfileId);
DBG_vPrintf(TRACE_APP, " Cluster :%x\r\n",sStackEvent.uEvent.sApsDataIndEvent.u16ClusterId);
DBG_vPrintf(TRACE_APP, " EndPoint:%x\r\n",sStackEvent.uEvent.sApsDataIndEvent.u8DstEndpoint);
DBG_vPrintf(TRACE_APP, "APP: vCheckStackEvent: ZPS_EVENT_APS_DATA_CONFIRM SED Status %d, Address 0x%04x\n",
sStackEvent.uEvent.sApsDataConfirmEvent.u8Status,sStackEvent.uEvent.sApsDataConfirmEvent.uDstAddr.u16Addr);

0 Kudos

806 Views
dheerajsawant
Contributor V

But when i connect 2 sleeping device and try to read its end device ID its show only endpoint :  1.

Please help 

Best Regards, 

Dheeraj Sawant

0 Kudos

806 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Dheeraj,

Look for the source address using the API ZPS_tsAfDataIndEvent

Regards,

Mario

0 Kudos

806 Views
377086561
Contributor II

Hi Mario,

I only want the MAC address of the child device, how can I control it?

pastedImage_1.png

How is u8SrcAddrMode equal to 2

pastedImage_2.png

0 Kudos

806 Views
377086561
Contributor II

pastedImage_1.png

This data is obviously not correct. Can you help me answer my doubts?mario_castaneda

0 Kudos

806 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi,

Please look at the next community post.

https://community.nxp.com/thread/488670 

Regards,

Mario