JN5169 ZPS_eAplAfInit Error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

JN5169 ZPS_eAplAfInit Error

759件の閲覧回数
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 返信

581件の閲覧回数
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 件の賞賛