SET_CONFIG return error for reserved parameters
parent
2e99dbf34a
commit
cf126bb119
|
@ -256,6 +256,11 @@ void J2534Connection::processIOCTLSetConfig(unsigned long Parameter, unsigned lo
|
|||
default:
|
||||
printf("Got unknown SET code %X\n", Parameter);
|
||||
}
|
||||
|
||||
// reserved parameters usually mean special equiptment is required
|
||||
if (Parameter >= 0x20) {
|
||||
throw ERR_NOT_SUPPORTED;
|
||||
}
|
||||
}
|
||||
|
||||
unsigned long J2534Connection::processIOCTLGetConfig(unsigned long Parameter) {
|
||||
|
|
Loading…
Reference in New Issue