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

Simpliciti是否可支持无线唤醒

目前的协议栈低功耗只是建立在子节点自动进行低功耗模式,被MCU主动唤醒后进行数据上报。

我现在希望是能通过中心节点AP通过wor主动唤醒子节点ED。

如果不支持的话,我自己添加进去是否会有什么影响。目前在测试

Yue TANG:

不支持WOR,你完全可以自己加。去掉simpliciTI网络层部分.

附一个例子,供参考

user4603813:

回复 Yue TANG:

一直有个问题~ simpliciti协议栈SCB这个函数是怎么通过中断回调的~ 并没发现有执行回调的过程啊

user4603813:

回复 Yue TANG:

#ifdef MRFI_TIMER_ALWAYS_ACTIVE
/*************************************************************************************************** @fnMRFI_TimerISR** @briefManages the timer interrupts.*Everytime the timer overflows, this routine increments the*remaining bytes in the MRFI_Time array.*It also manages the 1 ms event counter sPending_ms_Events*See the above macro for implementation** @paramnone** @returnvoid (nothing)***************************************************************************************************/
BSP_ISR_FUNCTION(Mrfi_TimerISR, BSP_TIMER_VECTOR)
{{static union{ int32_t modulation; int8_t bytes[4]; };modulation += sTmrRateOffset;{uint16_t limit = bytes[3];limit += MRFI_ROLLOVER_LIMIT;BSP_TIMER_SET_OVERFLOW_VALUE( limit );}bytes[3] = 0; // clear upper byte}MRFI_Time++;#ifdef FREQUENCY_HOPPINGif( sHopCount == 0 ) /* if ready to hop frequencies */{sHopCount = sHopRate;sHopNowSem = 1; /* indicate a frequency change is due */// manage the channel indexer in the isr so if a semaphore is missed,// the channel index is always up to date with the current channelsLogicalChannel++; // increment the channel index// check to see if the channel index is rolling over#if MRFI_NUM_LOGICAL_CHANS <= 255if( sLogicalChannel >= MRFI_NUM_LOGICAL_CHANS )sLogicalChannel = 0;#endif}else /* if not ready to hop */sHopCount--; /* decrement hop counter */if( sHopCount > FHSS_HOP_MARGIN + 2&& sHopCount < MRFI_HOP_TIME_ms - 1 - FHSS_HOP_MARGIN )sTxValid = true;elsesTxValid = false;
#endifif( sOne_ms_event_hook != NULL ) /* if a 1 millisecond hook function exists */sOne_ms_event_hook( ); /* then call it */BSP_TIMER_CLEAR_OVERFLOW_FLAG( ); /* clear the event */return;
}#endif

这段代码协议栈并没有用到??

user4603813:

回复 Yue TANG:

找到了~ 感谢回复

赞(0)
未经允许不得转载:TI中文支持网 » Simpliciti是否可支持无线唤醒
分享到: 更多 (0)