This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

怎么enable defined(DMM_ZCSWITCH) && defined(NWK_TOPOLOGY_DISCOVERY)

Other Parts Discussed in Thread: CC1352P

在调试CC1352P的zed_sw_ota_client 的时候,有下面这段代码:但是defined(DMM_ZCSWITCH) && defined(NWK_TOPOLOGY_DISCOVERY) 这两个并没有定义,通过什么方式去定义这两个,因为我想用终端的has_deviceAnnounce这个功能?

#if defined(DMM_ZCSWITCH) && defined(NWK_TOPOLOGY_DISCOVERY)
zdoCBReq.has_mgmtLqiRsp = true;
zdoCBReq.mgmtLqiRsp = true;
zdoCBReq.has_deviceAnnounce = true;
zdoCBReq.deviceAnnounce = true;
zdoCBReq.has_matchDescRsp = true;
zdoCBReq.matchDescRsp = true;
#endif