⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 systemlowpowerlisteningp.nc

📁 tinyos-2.x.rar
💻 NC
字号:
#include "Lpl.h"

module SystemLowPowerListeningP
{
  provides interface SystemLowPowerListening;
}

implementation
{
  uint16_t remoteWakeup = LPL_DEF_REMOTE_WAKEUP;
  uint16_t delayAfterReceive = DELAY_AFTER_RECEIVE;

  command void SystemLowPowerListening.setDefaultRemoteWakeupInterval(uint16_t intervalMs) { remoteWakeup = intervalMs; }
  command void SystemLowPowerListening.setDelayAfterReceive(uint16_t intervalMs) { delayAfterReceive = intervalMs; }

  command uint16_t SystemLowPowerListening.getDefaultRemoteWakeupInterval() { return remoteWakeup; }
  command uint16_t SystemLowPowerListening.getDelayAfterReceive() { return delayAfterReceive; }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -