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.

例程SerialAPP中的几个问题

Other Parts Discussed in Thread: CC2530

问题1

Ln211行

SerialApp_RxSeq = 0xC3;
此处的0xC3是怎么得到的?

问题2

Ln 444行 

if ( (seqnb > SerialApp_RxSeq) || // Normal
((seqnb < 0x80 ) && ( SerialApp_RxSeq > 0x80)) ) // Wrap-around
此处的0x80代表什么?怎么得到的?

问题3

Ln 473-474行
osal_set_event( SerialApp_TaskID, SERIALAPP_RESP_EVT );
osal_stop_timerEx(SerialApp_TaskID, SERIALAPP_RESP_EVT);
此处为什么要停止与SERIALAPP_RESP_EVT相联系的定时器,这个定时器是在什么地方启动的