Loading…

Method Name: set_new_password

Method ID: 0x40ED

Method Label: New password

Method Help: Sets a new password for write protection, if correct password is entered


  • {
  • char status[3];
  • long varid[2];
  • _set_all_resp_code(0);
  • _vassign(16394,16574);
  • _vassign(16393,16574);
  • _get_dev_var_value(literal_string(823),0,16393);
  • _get_dev_var_value(literal_string(826),0,16394);
  • varid[0] = 16394;
  • acknowledge(literal_string(827),varid);
  • _iassign(16392,2);
  • send(152,status);
  • if (status[0])
  • {
  • display_response_status(152,status[0]);
  • process_abort();
  • }


Please login for more