Some things come to mind.
Check the protocol on your serial port, you are mainly interested in number of databits
This only matters if the command that triggers the relay uses bit 7 (numbered 0-7)
for any purpose. It is possible to set databits to 7 or 8, with or without parity.
This is only important if the 7th bit is used, in whichcase, set data bits to 8, no parity.
Also, for your edification, hex is just the representstion used.
0101 0101 binary
is the same as 0x55 hex
is the same as 85 decimal.
is the same as 125 octal
...
Check the protocol on your serial port, you are mainly interested in number of databits
This only matters if the command that triggers the relay uses bit 7 (numbered 0-7)
for any purpose. It is possible to set databits to 7 or 8, with or without parity.
This is only important if the 7th bit is used, in whichcase, set data bits to 8, no parity.
Also, for your edification, hex is just the representstion used.
0101 0101 binary
is the same as 0x55 hex
is the same as 85 decimal.
is the same as 125 octal
...