'How to send an AT commands with Header and Data Bytes
this is my first Ask :D and i really haven't find something around. I've already developed an app that read a lot of informations from attached ELM327 via standard OBD Pid commands and some other via CanBus. But i have to read from different Headers in very strictly times and i would avoid to send 2 commands have the info (actually this is causing many reading errors between each read). This happen because in time X i send the header setting (ex AT SH 7AA) and then relative Pid request (ex 010A) but right after (X+1) i have to send a request on another header (ex AT SH 7BB) and relative Pid (ex 020B). So i would know if i could send a sort of "AT 7AA-010A" and not AT SH 7AA + AT 010A Any help will be greatly appreciated. Regards, Luca.
Solution 1:[1]
With ELM327 (and the behemoth of clones), it‘s not possible. You will have to consecutively switch header and then send PIDs. The STN-chipset based OBD2 adapters can do something like that, they have an enhanced command set. Then again, for your application it might be better to utilize a real CAN adapter as opposed to an OBD2 one, since the former has no limits whatsoever.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Dharman |
