ATSET [PID]=[Value] ERROR for negative values

Inquiry and support for Freematics products
Post Reply
Thales.Portela
Posts: 1
Joined: Sat Mar 12, 2016 4:13 am

ATSET [PID]=[Value] ERROR for negative values

Post by Thales.Portela »

Hello,

I am trying to use OBDII Emulator without the GUI. My problem is related to ATSET [PID]=[Value] command. As according to OBDII documentation Engine Coolant Temperature PID ranges from -40 to 215 ºC, I set the lowest value -40 using "ATSET 0105=-40", however it returns ERROR repeatedly. Can't PIDs be set to negative values at all or is there anything I am doing wrong about this command?

Thanks,

Thales
stanley
Site Admin
Posts: 1039
Joined: Sat Mar 01, 2014 3:15 am

Re: ATSET [PID]=[Value] ERROR for negative values

Post by stanley »

PID data is a unsigned one byte or two bytes data. You need to map the actual value to the PID value first before pushing it to the emulator.
Post Reply