comparison src/cs/riviera/rvt/rvt_task.c @ 318:6cea809631d7

RVT: added TCH and KEEPALIVE channels
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 03 Dec 2017 01:24:19 +0000
parents 945cf7f506b2
children 9ffdfacfe969
comparison
equal deleted inserted replaced
317:07818fb33771 318:6cea809631d7
436 if ((rcv_state == RVT_WAIT_FOR_HEADER) && \ 436 if ((rcv_state == RVT_WAIT_FOR_HEADER) && \
437 (bytesRead) && \ 437 (bytesRead) && \
438 !(total_bytesRead)) 438 !(total_bytesRead))
439 { 439 {
440 if ((inBuffer[0] >= RVT_RV_HEADER) && 440 if ((inBuffer[0] >= RVT_RV_HEADER) &&
441 (inBuffer[0] <= RVT_EXTUI_HEADER)) 441 (inBuffer[0] <= RVT_KEEPALIVE_HEADER))
442 { 442 {
443 UINT8 idtab = 0; 443 UINT8 idtab = 0;
444 444
445 // Search for the ID in the table 445 // Search for the ID in the table
446 for (idtab = 0; 446 for (idtab = 0;