eHA_RegisterSmartPlugEndPoint() ERROR

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

eHA_RegisterSmartPlugEndPoint() ERROR

1,875 次查看
小鹏陈
Contributor II

Hello everybody,

   When i use the function eHA_RegisterSmartPlugEndPoint() to register device,   console display some message:

ccsbRm5s.ltrans0.o:(.text+0x1692): undefined reference to `au8SimpleMeteringServerAttributeControlBits'
ccsbRm5s.ltrans0.o:(.text+0x16a6): undefined reference to `sCLD_SimpleMetering'
ccsbRm5s.ltrans0.o:(.text+0x16ab): undefined reference to `sCLD_SimpleMetering'
ccsbRm5s.ltrans0.o:(.text+0x16af): undefined reference to `eSE_SMCreate'
ccsbRm5s.ltrans0.o:(.text+0x16af): relocation truncated to fit: R_BA_18_PCREL against undefined symbol eSE_SMCreate'

collect2.exe: error: ld returned 1 exit status

标记 (2)
3 回复数

1,664 次查看
jonw1
Contributor II

Mario,

I am having this issue as well. I am getting the same exact build errors when adding the simple metering cluster to my project. I am developing with JN-AN-1217-Zigbee-3-0-Base-Device.

Best Regards,
Jonathan Witthoeft

0 项奖励
回复

1,664 次查看
jonw1
Contributor II

I found the problem was I did not have this line un-commented in the default project make file:
APP_CLUSTERS_SMART_ENERGY_SRC               ?= 1

As soon as I added it, it compiled.

1,664 次查看
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Chris,

Could you please share the implementation that you are doing? Also, what is the application that you are working on? are you working with the JN-AN-1216 Control bridge?

Regards,

Mario

0 项奖励
回复