Help with xml conversation

Hi. I use Realdash CAN to read the CAN bus of the car and send the data to Realdash. Could you help me with a problem that I cannot solve:
There is a package 0x006. In 7 byte the value I need to interpret. I need that at some value of the second number of this byte, the interface element I need is highlighted. But for a given byte, the first number can also change, at which another element of the interface should be selected.
Is it possible to somehow read separately the first and second number of a byte in hexadecimal system? Or maybe you can swap them?

0x006 00 00 00 00 00 00 00 00
0x006 00 00 00 00 00 00 01 00 - select item 1
0x006 00 00 00 00 00 00 11 00 - show menu 1, select item 1 and 1.1
0x006 00 00 00 00 00 00 21 00 - show menu 1, select item 1 and 1.2
0x006 00 00 00 00 00 00 31 00 - show menu 1, select item 1 and 1.3
0x006 00 00 00 00 00 00 02 00 - select item 2
0x006 00 00 00 00 00 00 12 00 - show menu 2, select item 2 and 2.1
0x006 00 00 00 00 00 00 22 00 - show menu 2, select item 2 and 2.2

Otherwise, I have to use the functionality of events and actions, and there you have to create a lot of events and actions. Here is a video demonstration of what you want: https://youtu.be/L2RSKhf_Qok

You can achieve this by describing these values as on/off ‘bits’ in XML file. Then you can use RealDash trigger system to simply read the on/off (0/1) value to simplify the triggers.

See ‘startbit’ and ‘bitcount’ operations from XML manual:

https://github.com/janimm/RealDash-extras/tree/master/RealDash-CAN