how to check the ROT firmware using a raw command in Linux?

how to check the ROT firmware using a raw command in Linux?

If you need to check the ROT firmware version from the OS, you can try using the raw command below.

Command: raw 0x6 0x52 0x9 0x70 0x2 0x0

Sample result: ROT: 24 corresponds to version v02.04.