eHA_RegisterSmartPlugEndPoint() ERROR

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

eHA_RegisterSmartPlugEndPoint() ERROR

1,866 Views
小鹏陈
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

Tags (2)
3 Replies

1,655 Views
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 Kudos
Reply

1,655 Views
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,655 Views
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 Kudos
Reply