comparison rvinterf/asyncshell/tchcmd.c @ 1014:961efadd530a default tip

fc-shell TCH DL handler: add support for CSD modes TCH DL capture mechanism in FC Tourmaline firmware has been extended to support CSD modes in addition to speech - add the necessary support on the host tools side. It needs to be noted that this mechanism in its present state does NOT provide the debug utility value that was sought: as we learned only after the code was implemented, TI's DSP has a misfeature in that the buffer we are reading (a_dd_0[]) is zeroed out when the IDS block is enabled, i.e., we are reading all zeros and not the real DL bits we were after. But since the code has already been written, we are keeping it - perhaps we can do some tests with IDS disabled.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 26 Nov 2024 06:27:43 +0000
parents 2e6764022292
children
comparison
equal deleted inserted replaced
1013:bc4dc383ff4a 1014:961efadd530a
137 case TCH_EFR_MODE: 137 case TCH_EFR_MODE:
138 mode_kw = "EFR"; 138 mode_kw = "EFR";
139 expect_pktlen = 45; 139 expect_pktlen = 45;
140 databytes = 33; 140 databytes = 33;
141 break; 141 break;
142 case TCH_24F_MODE:
143 mode_kw = "D24";
144 expect_pktlen = 21;
145 databytes = 10;
146 break;
147 case TCH_48F_MODE:
148 mode_kw = "D48";
149 expect_pktlen = 27;
150 databytes = 16;
151 break;
152 case TCH_96_MODE:
153 mode_kw = "D96";
154 expect_pktlen = 41;
155 databytes = 30;
156 break;
157 case TCH_144_MODE:
158 mode_kw = "D144";
159 expect_pktlen = 49;
160 databytes = 38;
161 break;
142 default: 162 default:
143 goto inv; 163 goto inv;
144 } 164 }
145 if (rvi_msg_len != expect_pktlen) 165 if (rvi_msg_len != expect_pktlen)
146 goto inv; 166 goto inv;