FreeCalypso > hg > tcs211-fcmodem
comparison chipsetsw/riviera/rvt/rvt_task.c @ 9:7ee1a8f57933
RVT changes for AT channel support backported from FreeCalypso GSM fw
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 19:02:17 +0000 |
parents | 509db1a7b7b8 |
children |
comparison
equal
deleted
inserted
replaced
8:7df028236331 | 9:7ee1a8f57933 |
---|---|
435 // Check for the header. Hence, get the sendee | 435 // Check for the header. Hence, get the sendee |
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_L1_HEADER) || \ | 441 (inBuffer[0] <= RVT_EXTUI_HEADER)) |
442 (inBuffer[0] == RVT_L23_HEADER) || \ | |
443 (inBuffer[0] == RVT_TM_HEADER) || \ | |
444 (inBuffer[0] == RVT_RNET_HEADER) || \ | |
445 (inBuffer[0] == RVT_PROF_HEADER) || \ | |
446 (inBuffer[0] == RVT_GTTBACK_HEADER) || \ | |
447 (inBuffer[0] == RVT_OTHER_HEADER)) | |
448 { | 442 { |
449 UINT8 idtab = 0; | 443 UINT8 idtab = 0; |
450 | 444 |
451 // Search for the ID in the table | 445 // Search for the ID in the table |
452 for (idtab = 0; | 446 for (idtab = 0; |