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.

定时启动事件怎样能延时2个小时以上?

Other Parts Discussed in Thread: Z-STACK

您好:

   1. 因为项目的原因,需要终端2个小时才启动一个事件,但是目前协议栈上给的函数osal_start_timerEx( uint8 taskID, uint16 event_id, uint16 timeout_value ), 最多延时65秒,试问,怎样才能延时到2个小时呢?

    2. 我将osal_start_timerEx( uint8 taskID, uint16 event_id, uint16 timeout_value ),改为osal_start_timerEx( uint8 taskID, uint16 event_id, uint32 timeout_value ),

也将osalTimerRec_t * osalAddTimer( uint8 task_id, uint16 event_flag, uint16 timeout ),改为

osalTimerRec_t * osalAddTimer( uint8 task_id, uint16 event_flag, uint32 timeout ),发现可以延时到2个小时以上,但是,协调器向终端发送信息,终端就接收不到了,这是什么原因?我应该做什么样的改动?

3.我按照 2 改完后,发现有一个警告,但是这个警告怎么也找不到修改的地方,这个警告是:Warning[w6]: Type conflict for external/entry "osal_start_timerEx", in module APS against external/entry in module OSAL_Timers; function types differ in parameter 3; different basic types ,我该怎么修改?

   期待你们的回复,谢谢了