blob: 1dafa6b92f1e6861761ef687c656078f8007a211 [file] [log] [blame]
ganesanb5502e3e2022-12-13 11:07:43 +00001#!/usr/bin/env python3
2
3r"""
4DCMI raw commands table:
5
6 - Define DCMI interface index, commands and expected output.
7
8"""
9
10DCMI_RAW_CMD = {
11 # Interface name
12 "DCMI": {
13 "MANAGEMENT_CONTROLLER_IDENTIFIER_STRING": {
14 "GET": "0x2c 0x09 0xdc 0x00 0x10",
15 "SET": "0x2c 0x0a 0xdc 0x00",
16 },
ganesanba016f3f2022-12-13 13:56:34 +000017 "GET_TEMPERATURE_READING": [
18 # raw command, inlet temp entity ID, CPU temp entity ID, Baseboard temp entity ID
19 "0x2c 0x10 0xdc 0x01",
20 "0x40",
21 "0x41",
22 "0x42",
23 ],
ganesanbdb74ad22023-05-01 15:47:53 +000024 "Asset_Tag": [
25 # raw command for get asset tag
26 "0x2c 0x06 0xdc 0x00",
27 # raw command for set asset tag
28 "0x2c 0x08 0xdc 0x00",
29 ],
ganesanb5502e3e2022-12-13 11:07:43 +000030 },
31}