JN5169 ZPS_eAplAfInit Error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

JN5169 ZPS_eAplAfInit Error

811 次查看
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

标签 (1)
0 项奖励
回复
1 回复

633 次查看
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 项奖励
回复