TI中文支持网
TI专业的中文技术问题搜集分享网站

sensor是怎么控制功耗的?

是通过修改下面代码里的时间来达到降低功耗的吗?修改时间后低功耗是协议自动控制的吗?还是有其它的控制代码,例如使任务进入挂起状态

#if (((CONFIG_PHY_ID >= APIMAC_MRFSK_STD_PHY_ID_BEGIN) && (CONFIG_PHY_ID <= APIMAC_MRFSK_GENERIC_PHY_ID_BEGIN)) || \
((CONFIG_PHY_ID >= APIMAC_GENERIC_US_915_PHY_132) && (CONFIG_PHY_ID <= APIMAC_GENERIC_ETSI_863_PHY_133)))
/*! Default Polling interval in milliseconds. It will get updated upon reception
of a config request message */
#define CONFIG_POLLING_INTERVAL 100/*6000*/
/*! PAN Advertisement Solicit trickle timer duration in milliseconds */
#define CONFIG_PAN_ADVERT_SOLICIT_CLK_DURATION 6000
/*! PAN Config Solicit trickle timer duration in milliseconds */
#define CONFIG_PAN_CONFIG_SOLICIT_CLK_DURATION 6000
/*! Default Reporting Interval – in milliseconds. It will get updated upon
reception of a config request message */
#define CONFIG_REPORTING_INTERVAL 200/*180000*/
#else
/*! Default Polling interval in milliseconds. It will get updated upon reception
of a config request message */
#define CONFIG_POLLING_INTERVAL 100/*60000*/
/*! PAN Advertisement Solicit trickle timer duration in milliseconds */
#define CONFIG_PAN_ADVERT_SOLICIT_CLK_DURATION 60000
/*! PAN Config Solicit trickle timer duration in milliseconds */
#define CONFIG_PAN_CONFIG_SOLICIT_CLK_DURATION 60000
/*! Default Reporting Interval – in milliseconds. It will get updated upon
reception of a config request message */
#define CONFIG_REPORTING_INTERVAL 200/*600000*/
#endif

user5611410:

回复 VV:

您好,请问15.4 stack中如何屏蔽config消息呢?

YiKai Chen:

回复 user5611410:

試試屏蔽掉processConfigRequest()

赞(0)
未经允许不得转载:TI中文支持网 » sensor是怎么控制功耗的?
分享到: 更多 (0)