Hello,
when I play around with the matter template example, I always get a thread child device. How to get a full thread device with routing etc?
Thanks, Edi
Hello,
when I play around with the matter template example, I always get a thread child device. How to get a full thread device with routing etc?
Thanks, Edi
Hi Edi,
The default device type is set to Minimal Thread Device (MTD) in the Matter samples, as you can see in template/Kconfig#L15-L17. MTDs can only be child devices.
You can change the device type to Full Thread Device (FTD) by adding the following Kconfig options in prj.conf:
CONFIG_OPENTHREAD_FTD=yCONFIG_OPENTHREAD_NORDIC_LIBRARY_FTD=y
Best regards,
Marte
Ah, thanks, I missed the second line and got compile error! Will try it next time in the lab and report back.
Ah, thanks, I missed the second line and got compile error! Will try it next time in the lab and report back.
Hi,
The samples need some extra configurations set for FTD to work, which CONFIG_OPENTHREAD_NORDIC_LIBRARY_FTD sets. Without these configurations, the build will fail.
Best regards,
Marte