Loading…

方法名称: mthChangeRoleSecurity

方法ID: 0x43BE

方法标签: Login

方法描述: Change the security role. The number of leading zeros in a password indicates the role-level: 000X -> Operator 00XX -> Expert 0XXX -> Service XXXX -> Factory (Fct. C6.2.1)


  • {
  • char status[3];
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • tmpOldAccessLevel = eAccessLevelHart;
  • MthClearPasswordVariables();
  • _add_abort_method(17338);
  • _add_abort_method(17343);
  • _get_dev_var_value(literal_string(2287),0,16930);


请登录以获得完整内容