Loading…

Method Name: uds_max_temp_time_method

Method ID: 0x4027

Method Label: Max Temp -Time

Method Help:


  • {
  • int day;
  • int month;
  • int year;
  • int hours;
  • int mins;
  • int secs;
  • long time_stamp;
  • send_command(139);
  • time_stamp = _ivar_value(16424);
  • mins = (time_stamp & 0x03F00000) >> 20;
  • hours = (time_stamp & 0x000F8000) >> 15;
  • year = 2000 + ((time_stamp & 0x00007E00) >> 9);
  • day = (time_stamp & 0x000001f0) >> 4;
  • month = (time_stamp & 0x0000000f) >> 0;
  • secs = (time_stamp & 0xFC000000) >> 26;
  • if (time_stamp < 0)
  • secs = secs + 0x20;


Please login for more