ganesanb | 5502e3e | 2022-12-13 11:07:43 +0000 | [diff] [blame] | 1 | #!/usr/bin/env python3 |
| 2 | |
| 3 | r""" |
| 4 | DCMI raw commands table: |
| 5 | |
| 6 | - Define DCMI interface index, commands and expected output. |
| 7 | |
| 8 | """ |
| 9 | |
| 10 | DCMI_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 | }, |
ganesanb | a016f3f | 2022-12-13 13:56:34 +0000 | [diff] [blame] | 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 | ], |
ganesanb | db74ad2 | 2023-05-01 15:47:53 +0000 | [diff] [blame] | 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 | ], |
ganesanb | 5502e3e | 2022-12-13 11:07:43 +0000 | [diff] [blame] | 30 | }, |
| 31 | } |