164 | | |
---|
165 | | // // delete a previous command/response if present |
---|
166 | | // if(m_response) { |
---|
167 | | // delete m_response; |
---|
168 | | // m_response=NULL; |
---|
169 | | // } |
---|
170 | | // |
---|
171 | | // // now figure out what command it is |
---|
172 | | // switch (m_header.category) { |
---|
173 | | // case EFC_CAT_HARDWARE_INFO: |
---|
174 | | // switch(m_header.command) { |
---|
175 | | // case EFC_CMD_HW_HWINFO_GET_CAPS: |
---|
176 | | // m_response=new EfcHardwareInfoCmd(); |
---|
177 | | // if (!m_response) { |
---|
178 | | // debugError("Could not allocate response\n"); |
---|
179 | | // return false; |
---|
180 | | // } |
---|
181 | | // result &= m_command->deserialize( de ); |
---|
182 | | // case EFC_CMD_HW_GET_POLLED: |
---|
183 | | // debugError("Unsupported EFC command %d for EFC_CAT_HARDWARE_INFO\n", m_header.command); |
---|
184 | | // return false; |
---|
185 | | // case EFC_CMD_HW_SET_EFR_ADDRESS: |
---|
186 | | // debugError("Unsupported EFC command %d for EFC_CAT_HARDWARE_INFO\n", m_header.command); |
---|
187 | | // return false; |
---|
188 | | // case EFC_CMD_HW_READ_SESSION_BLOCK: |
---|
189 | | // debugError("Unsupported EFC command %d for EFC_CAT_HARDWARE_INFO\n", m_header.command); |
---|
190 | | // return false; |
---|
191 | | // case EFC_CMD_HW_GET_DEBUG_INFO: |
---|
192 | | // debugError("Unsupported EFC command %d for EFC_CAT_HARDWARE_INFO\n", m_header.command); |
---|
193 | | // return false; |
---|
194 | | // case EFC_CMD_HW_SET_DEBUG_TRACKING: |
---|
195 | | // debugError("Unsupported EFC command %d for EFC_CAT_HARDWARE_INFO\n", m_header.command); |
---|
196 | | // return false; |
---|
197 | | // default: |
---|
198 | | // debugError("Invalid EFC command %d for EFC_CAT_HARDWARE_INFO\n", m_header.command); |
---|
199 | | // return false; |
---|
200 | | // } |
---|
201 | | // break; |
---|
202 | | // case EFC_CAT_FLASH: |
---|
203 | | // debugError("Unsupported EFC category: %d\n", m_header.category); |
---|
204 | | // return false; |
---|
205 | | // case EFC_CAT_TRANSPORT: |
---|
206 | | // debugError("Unsupported EFC category: %d\n", m_header.category); |
---|
207 | | // return false; |
---|
208 | | // case EFC_CAT_HARDWARE_CONTROL: |
---|
209 | | // debugError("Unsupported EFC category: %d\n", m_header.category); |
---|
210 | | // return false; |
---|
211 | | // case EFC_CAT_PHYSICAL_OUTPUT_MIX: |
---|
212 | | // debugError("Unsupported EFC category: %d\n", m_header.category); |
---|
213 | | // return false; |
---|
214 | | // case EFC_CAT_PHYSICAL_INPUT_MIX: |
---|
215 | | // debugError("Unsupported EFC category: %d\n", m_header.category); |
---|
216 | | // return false; |
---|
217 | | // case EFC_CAT_PLAYBACK_MIX: |
---|
218 | | // debugError("Unsupported EFC category: %d\n", m_header.category); |
---|
219 | | // return false; |
---|
220 | | // case EFC_CAT_RECORD_MIX: |
---|
221 | | // debugError("Unsupported EFC category: %d\n", m_header.category); |
---|
222 | | // return false; |
---|
223 | | // case EFC_CAT_MONITOR_MIX: |
---|
224 | | // debugError("Unsupported EFC category: %d\n", m_header.category); |
---|
225 | | // return false; |
---|
226 | | // case EFC_CAT_IO_CONFIG: |
---|
227 | | // debugError("Unsupported EFC category: %d\n", m_header.category); |
---|
228 | | // return false; |
---|
229 | | // default: |
---|
230 | | // debugError("Invalid EFC category: %d\n", m_header.category); |
---|
231 | | // return false; |
---|
232 | | // } |
---|
233 | | |
---|