Skip to content

voltage sensor and raw_command #124

Description

@Aaron811020

Under the RMCP interface, I run get_device_sdr_list to get sensor info. The threshold of voltage would be over 100.
And another question, could you provide the example of raw_command on the RMCP interface? I just can get the response"\xd4" now.

Result:
{'data': <pyipmi.utils.ByteBuffer object at 0x7fd6a7c37ac0>, 'id': 3823, 'version': 81, 'type': 1, 'length': 49, 'owner_id': 32, 'owner_lun': 0, 'number': 59, 'entity_id': 7, 'entity_instance': 43, 'initialization': ['scanning', 'events', 'thresholds', 'hysteresis', 'type', 'default_scanning'], 'capabilities': ['auto_rearm', 'hysteresis_read_and_setable', 'threshold_readable'], 'sensor_type_code': 2, 'event_reading_type_code': 1, 'assertion_mask': 31252, 'deassertion_mask': 31252, 'discrete_reading_mask': 16191, 'units_1': 0, 'units_2': 4, 'units_3': 0, 'analog_data_format': 0, 'rate_unit': 0, 'modifier_unit': 0, 'percentage': 0, 'linearization': 0, 'm': 16, 'tolerance': 0, 'b': 163, 'accuracy': 0, 'accuracy_exp': 0, 'k2': -3, 'k1': 0, 'analog_characteristic': ['nominal_reading', 'normal_max', 'normal_min'], 'nominal_reading': 196, 'normal_maximum': 221, 'normal_minimum': 176, 'sensor_maximum_reading': 255, 'sensor_minimum_reading': 0, 'threshold': {'unr': 230, 'ucr': 225, 'unc': 221, 'lnr': 161, 'lcr': 166, 'lnc': 176}, 'hysteresis': {'positive_going': 1, 'negative_going': 1}, 'reserved': 0, 'oem': 0, 'device_id_string_type_length': 198, 'device_id_string': b'3.3VSB', 'next_id': 3890}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions