AT Commands problem
Posted: Thu Nov 27, 2014 7:21 am
Hi, i recently aquired a OBDII Emulator and i am trying to use it without the GUI.
But i had some doubts in the commands as well some things didn't work.. Don't know if i am doint it wrong.
The documentation says (with no example at all):
ATSET [PID]=[Value]
Function: setting the value of an OBD-II PID
Arguments:
PID: a 4-digit HEX number specifying an OBD-II PID
Value£º the value of the OBD-II-PID
Response: OK or Error
ATGET [PID]
Function: retrieving the current value of an OBD-II PID
Argument: a 4-digit HEX number specifying an OBD-II PID
Response: The raw HEX data of the requested OBD-II PID
Well.. All PIDs are returning 00 00, and if i set a PID, it still returns 00 00.. Here is an example of my use:
ATGET 010C
010C=00 00
ATSET 010C=FF
OK
ATGET 010C
010C=00 00
I tried with 000C too.. Actually i did it first.. Cause "PID" as far as i know stands for service $01 (the other ones are TID, INFOTYPES and so on)..
As i saw in examples here in te forum, it might be the service the first two numbers, is it correct? (if it is, should be on the documentation).
And is i use PID 0067 (or 0167) the system crashes.. (and sends me a lot of 00s ).
Hope you can help, thanks.
But i had some doubts in the commands as well some things didn't work.. Don't know if i am doint it wrong.
The documentation says (with no example at all):
ATSET [PID]=[Value]
Function: setting the value of an OBD-II PID
Arguments:
PID: a 4-digit HEX number specifying an OBD-II PID
Value£º the value of the OBD-II-PID
Response: OK or Error
ATGET [PID]
Function: retrieving the current value of an OBD-II PID
Argument: a 4-digit HEX number specifying an OBD-II PID
Response: The raw HEX data of the requested OBD-II PID
Well.. All PIDs are returning 00 00, and if i set a PID, it still returns 00 00.. Here is an example of my use:
ATGET 010C
010C=00 00
ATSET 010C=FF
OK
ATGET 010C
010C=00 00
I tried with 000C too.. Actually i did it first.. Cause "PID" as far as i know stands for service $01 (the other ones are TID, INFOTYPES and so on)..
As i saw in examples here in te forum, it might be the service the first two numbers, is it correct? (if it is, should be on the documentation).
And is i use PID 0067 (or 0167) the system crashes.. (and sends me a lot of 00s ).
Hope you can help, thanks.