workaround: do not treat ?H1 as an illegal answer to H1 (for IPS)
This commit is contained in:
2
oxinst.c
2
oxinst.c
@ -110,10 +110,12 @@ int OxiHandler(void *object)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (eab->cmd[0] != eab->ans[0] && eab->cmd[0] != '{') {
|
if (eab->cmd[0] != eab->ans[0] && eab->cmd[0] != '{') {
|
||||||
|
if (strcmp(eab->cmd, "H1\r") != 0 || strcmp(eab->ans, "?H1") != 0) {
|
||||||
iret = EASE_ILL_ANS;
|
iret = EASE_ILL_ANS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (iret != 1) {
|
if (iret != 1) {
|
||||||
eab->errCode = iret;
|
eab->errCode = iret;
|
||||||
eab->state = EASE_idle;
|
eab->state = EASE_idle;
|
||||||
|
Reference in New Issue
Block a user