Loading…

Method Name: calc_SP_upper_limit

Method ID: 0x4139

Method Label: SP Upper Limit For Stress Condition

Method Help: SP upper limit for stress condition


  • {
  • int maxSPlimit;
  • int SP_up_limit_stress;
  • int temp_val;
  • long ids[4];
  • PUT_MESSAGE(literal_string(1111));
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • send_command(154);
  • maxSPlimit = _ivar_value(16539);
  • SP_up_limit_stress = maxSPlimit - maxSPlimit / 10;
  • temp_val = _ivar_value(16399);
  • temp_val = 0x06;
  • switch (temp_val)


Please login for more