JN5169 ZPS_eAplAfInit Error

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

JN5169 ZPS_eAplAfInit Error

699 Views
jamesnksky
Contributor I

Dear Sir

OccupancySensor When changing eHA_RegisterOccupancySensorEndPoint of eApp_HA_RegisterEndpoint function to eHA_RegisterSmartPlugEndPoint in the sample project, the following error occurs.

APP Start: Switch Power Up
APP Sensor Node: APP_vInitialiseNode*
APP Sensor Node: u16AHI_PowerStatus() = 1104
APP Report: eStatusReportReload=1
APP Sensor Node: Set Sec state
APP Sensor Node: ZPS_eAplAfInitEPCR = 831cc : EEAR = deadbef1
Stack dump:
4007e78 : 00000008
4007e7c : 0009d9ff

ref source : JN-AN-1189-ZigBee-HA-Demo \ OccupancySensor

Labels (1)
0 Kudos
1 Reply

521 Views
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Park,

I am assuming that you want to change the occupancy sensor to smart plug.

You have to make some changes like this.

const uint8 u8MyEndpoint =  SMARTPLUG_PLUG_ENDPOINT;
tsHA_SmartPlugDevice sPlug;



 ****************************************************************************/
teZCL_Status eApp_HA_RegisterEndpoint(tfpZCL_ZCLCallBackFunction fptr)
{
    return eHA_RegisterSmartPlugEndPoint(SMARTPLUG_PLUG_ENDPOINT,
                                              fptr,
                                              &sPlug);
}

Also, you have to change some set up the endpoint.

Example

pastedImage_1.png

Hope it helps.

Regards,

Mario

0 Kudos