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
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
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.
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