cc2530 随机时间

// Setup to send message again in normal period (+ a little jitter)
    osal_start_timerEx( SampleApp_TaskID, SAMPLEAPP_SEND_PERIODIC_MSG_EVT,

        (SAMPLEAPP_SEND_PERIODIC_MSG_TIMEOUT + (osal_rand() & 0x00FF)) );


2、设备启动延时设置    (     ZDApp.c   )

      ZDOInitDevice( 0 );      //协调器立即启动


posted @ 2015-10-21 15:20  云中鹤5786  阅读(196)  评论(0)    收藏  举报