Hexadecimal characters in GSD

Pluto allows to control A/V devices such as DVD players, amplifiers or TVs using Generic Serial Device (GSD). It supports Ruby to have possibility define commands for the devices. Generally, the device commands are plain text. For example, command ‘ON’ for DVD Denon looks like PWON and Ruby code will be like that:


However, some manufactures use hexadecimal characters in commands – 0xFE 0x03 0xC3 0x75. The Ruby code in this case will be following: