1#!/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        },
17        "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        ],
24        "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        ],
30    },
31}
32