Loading…

Method Name: MthDisableServiceAccessHart

Method ID: 0x472C

Method Label: Disable Service Access

Method Help: Disabling service parameter access via HART. I.e. Resetting the authorization level to Standard (1).


  • {
  • char achCmdStatus[3];
  • int iDesiredLevel;
  • long ai32VariableIds[2];
  • int iResult;
  • iResult = SELECT_FROM_LIST(literal_string(1951),literal_string(1950));
  • if (iResult != 1)
  • return;
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _iassign(18108,0);
  • _iassign(17232,1);
  • iDesiredLevel = _ivar_value(17232);
  • send(184,achCmdStatus);
  • if (achCmdStatus[0] != 0)
  • {
  • display_response_status(184,achCmdStatus[0]);


Please login for more