Light bulb feature confusing

 

        I don't have found CONFIG_OPENTHREAD_FTD feature in the bulb project prj.conf or prj_release.conf file, but I have found that it is enabled in the final .config file within output folder.
        So I confused where is it set?

BR

Chuan

Parents
  • Hi Chuan,

    Even if you do not see CONFIG_OPENTHREAD_FTD in your prj.conf or prj_release.conf, it can be set by default, by dependencies, or by feature sets you have enabled elsewhere in your configuration. For OpenThread, CONFIG_OPENTHREAD_FTD is the default device type if not otherwise specified. To override it, explicitly set CONFIG_OPENTHREAD_MTD=y (for Minimal Thread Device) or CONFIG_OPENTHREAD_FTD=n in your configuration files. Or it can also be that you have enabled configurations such as CONFIG_OPENTHREAD_NORDIC_LIBRARY_MASTER or CONFIG_OPENTHREAD_NORDIC_LIBRARY_FTD which will automatically enable CONFIG_OPENTHREAD_FTD.
    Regards,
    Swathy
  •   

            As you said, CONFIG_OPENTHREAD_FTD is the default device type, so in prj.conf or prj_release.conf within bulb project I have not found it.

            But for switch project, it is MTD role, but I have not found CONFIG_OPENTHREAD_MTD in project conf files yet, can you tell me the reason? 

           Besides, I have not found CONFIG_OPENTHREAD_NORDIC_LIBRARY_MASTER or CONFIG_OPENTHREAD_NORDIC_LIBRARY_FTD in project conf files yet, where to set them?

    BR

    Chuan

Reply
  •   

            As you said, CONFIG_OPENTHREAD_FTD is the default device type, so in prj.conf or prj_release.conf within bulb project I have not found it.

            But for switch project, it is MTD role, but I have not found CONFIG_OPENTHREAD_MTD in project conf files yet, can you tell me the reason? 

           Besides, I have not found CONFIG_OPENTHREAD_NORDIC_LIBRARY_MASTER or CONFIG_OPENTHREAD_NORDIC_LIBRARY_FTD in project conf files yet, where to set them?

    BR

    Chuan

Children
No Data
Related