Undefined reference error - using zephyr and matter

Hello,

I'm trying to extend the matter light_switch example of matter to be able to use OpenThreads jam detection feature. For this I extended the existing prj.conf with CONFIG_OPENTHREAD_JAM_DETECTION=y

When I try to call I get an undefined reference to otJamDetectionStart, even though I included the jam_detection.h file at the top of the file.

The code where the error occurs:

otInstance *instance;
instance = otInstanceInitSingle();
otError err_code;

err_code = otJamDetectionStart(instance, my_jam_detection_callback, NULL);
return otJamDetectionIsEnabled(instance)

Does anybody know why this error occurs?

Thanks!

Emily

Parents Reply Children
No Data
Related