15502e3edSganesanb#!/usr/bin/env python3
25502e3edSganesanb
35502e3edSganesanbr"""
45502e3edSganesanbDCMI raw commands table:
55502e3edSganesanb
65502e3edSganesanb   - Define DCMI interface index, commands and expected output.
75502e3edSganesanb
85502e3edSganesanb"""
95502e3edSganesanb
105502e3edSganesanbDCMI_RAW_CMD = {
115502e3edSganesanb    # Interface name
125502e3edSganesanb    "DCMI": {
135502e3edSganesanb        "MANAGEMENT_CONTROLLER_IDENTIFIER_STRING": {
145502e3edSganesanb            "GET": "0x2c 0x09 0xdc 0x00 0x10",
155502e3edSganesanb            "SET": "0x2c 0x0a 0xdc 0x00",
165502e3edSganesanb        },
17a016f3f2Sganesanb        "GET_TEMPERATURE_READING": [
18a016f3f2Sganesanb            # raw command, inlet temp entity ID, CPU temp entity ID, Baseboard temp entity ID
19a016f3f2Sganesanb            "0x2c 0x10 0xdc 0x01",
20a016f3f2Sganesanb            "0x40",
21a016f3f2Sganesanb            "0x41",
22a016f3f2Sganesanb            "0x42",
23a016f3f2Sganesanb        ],
24*db74ad2dSganesanb        "Asset_Tag": [
25*db74ad2dSganesanb            # raw command for get asset tag
26*db74ad2dSganesanb            "0x2c 0x06 0xdc 0x00",
27*db74ad2dSganesanb            # raw command for set asset tag
28*db74ad2dSganesanb            "0x2c 0x08 0xdc 0x00",
29*db74ad2dSganesanb        ],
305502e3edSganesanb    },
315502e3edSganesanb}
32