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.
How to send an AT commands with Header and Data Bytes
925 Views Asked by Duca Oscuro At
1
There are 1 best solutions below
Related Questions in CAN-BUS
- How to send custom CAN messages using ELM327?
- What's the easiest way to prevent null chars from terminating my string?
- Driver with callback function
- What manufacturer code must I use in J1939?
- Lin bus add a slave to a configured lin cluster
- Convert string to bytes
- Any PIC18F microcontroller with both CANTX, CANRX and USB D+/D-
- Getting started with CAN bus
- where is the interrupt handler of can bus driver on BeagleBone black
- How a CAN Bus addressing works?
- CAN BUS Acknowledgment error
- How to setup PDO mapping?
- Retrieve hexadecimal argv[] in tab from struct can_frame
- Polling / Pushing from Socket
- How can I write a CANopen stack?
Related Questions in OBD-II
- How to send custom CAN messages using ELM327?
- OBD-ii Reader freezing and not real time
- How can I read/write data to and from an OBD-II adapter with Windows Phone 8?
- i want data from obd using by bluetooth sample app
- Send a string message continously with delay via Bluetooth
- Read OBDII data in Ionic 2 via bluetooth
- IPhone Bluetooth Connectivity to external hardware device over ATCommand or any other way
- Sending command to OBDII using Ionic 3 native bluetooth plugin
- Unable to communicate with ELM327 bluetooth
- Unable to send ATZ command to ELM 327 after establishing connection with ELM327 in android
- Isolating obd scan tool from other bluetooth devices during bluetooth device search
- How does the following code snippet work?
- Getting "No data" response from BOD II in android
- Asynchronous Values Update using GCDAsynSocket api
- How to get specified data from stream?
Related Questions in ELM327
- How to send custom CAN messages using ELM327?
- Command Format to send to OBD (Android)
- Unable to send ATZ command to ELM 327 after establishing connection with ELM327 in android
- Getting "No data" response from BOD II in android
- Java Get/Set method returns null
- Set up ELM327 to behave like FTDI - just forwarding commands without OBD init
- How to parse the data from OBD II simulator for every 2 seconds in android
- Error running 01 46, response: ...UNABLETOCONNECT
- BLE and ELM327 (CAN)
- Connecting to ELM327 over Bluetooth (Android)
- obdII bluetooth with CANCaseXL tool
- Send multiple OBD commands together and get response simultaneously
- How to send an AT commands with Header and Data Bytes
- Error Response from OBD-ii (7F 01 11)
- Reading OBDII data with Java
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
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.