@thiemovanengelen Thanks for sending that. Is there a link to where that data is published? (Is it on GitHub somewhere?)
Are the items in the Remark column described somewhere?
Am I correct that 0x0F in the manufacturer data byte 4 tells me to interpret the extended data using this bit packing?
I recreated it in Markdown for my own documentation and because it’s easier to copy/paste.
Orion XS
Start Bit | Nr of Bits | Meaning | Units | Range | NA Value | Remark |
---|---|---|---|---|---|---|
0 | 8 | Device State | 0…0xFF | VE_REG_DEVICE_STATE | ||
8 | 8 | Error Code | 0…0xFF | VE_REG_CHR_ERROR_CODE | ||
16 | 16 | Output Voltage | 0.01 V | -327.68…327.66 V | 0x7FFF | VE_REG_DC_CHANNEL1_VOLTAGE |
32 | 16 | Output Current | 0.01 V | -327.68…327.66 A | 0x7FFF | VE_REG_DC_CHANNEL1_CURRENT |
48 | 16 | Input Voltage | 0.01 V | 0…655.34 V | 0xFFFF | VE_REG_DC_INPUT_VOLTAGE |
64 | 16 | Input Current | 0.01 V | 0…655.34 A | 0xFFFF | VE_REG_DC_INPUT_CURRENT |
80 | 32 | Device Off Reason | 0…429496728 | VE_REG_DEVICE_OFF_REASON_2 | ||
112 | 16 | Unused |