FreeCalypso > hg > fc-magnetite
changeset 318:6cea809631d7
RVT: added TCH and KEEPALIVE channels
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 03 Dec 2017 01:24:19 +0000 |
parents | 07818fb33771 |
children | 9ffdfacfe969 |
files | src/cs/riviera/rvt/rvt_def_i.h src/cs/riviera/rvt/rvt_gen.h src/cs/riviera/rvt/rvt_task.c |
diffstat | 3 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cs/riviera/rvt/rvt_def_i.h Wed Nov 29 08:10:15 2017 +0000 +++ b/src/cs/riviera/rvt/rvt_def_i.h Sun Dec 03 01:24:19 2017 +0000 @@ -41,6 +41,8 @@ {"OTHER", RVT_OTHER_HEADER, NULL}, \ {"AT", RVT_AT_HEADER, NULL}, \ {"EXTUI", RVT_EXTUI_HEADER, NULL}, \ + {"TCH", RVT_TCH_HEADER, NULL}, \ + {"KEEPALIVE", RVT_KEEPALIVE_HEADER, NULL}, \ RVT_END_OF_TABLE \ }
--- a/src/cs/riviera/rvt/rvt_gen.h Wed Nov 29 08:10:15 2017 +0000 +++ b/src/cs/riviera/rvt/rvt_gen.h Sun Dec 03 01:24:19 2017 +0000 @@ -80,8 +80,12 @@ #define RVT_PROF_HEADER 0x16 #define RVT_GTTBACK_HEADER 0x17 #define RVT_OTHER_HEADER 0x18 -#define RVT_AT_HEADER 0x1A /* FreeCalypso addition */ -#define RVT_EXTUI_HEADER 0x1B /* ditto */ +/* FreeCalypso additions */ +#define RVT_AT_HEADER 0x1A +#define RVT_EXTUI_HEADER 0x1B +#define RVT_TCH_HEADER 0x1C +#define RVT_KEEPALIVE_HEADER 0x1D +/* end of FreeCalypso additions */ #define RVT_INVALID_HEADER 0xFF typedef void (*RVT_CALLBACK_FUNC)(T_RVT_BUFFER, UINT16);
--- a/src/cs/riviera/rvt/rvt_task.c Wed Nov 29 08:10:15 2017 +0000 +++ b/src/cs/riviera/rvt/rvt_task.c Sun Dec 03 01:24:19 2017 +0000 @@ -438,7 +438,7 @@ !(total_bytesRead)) { if ((inBuffer[0] >= RVT_RV_HEADER) && - (inBuffer[0] <= RVT_EXTUI_HEADER)) + (inBuffer[0] <= RVT_KEEPALIVE_HEADER)) { UINT8 idtab = 0;