I have a device (Specificity a Light-O-Rama USB adapter ) that receives raw hexadecimal values over USB. I am using an Arduino GIGA R1 WiFi to send theses values, but I cant find any documentation on doing so from the Arduino_USBHostMbed5 Library.
USB simply transmits bytes of data without any regard for their content. The interpretation of this data is left to the user software and the protocols that have been implemented.
In order to send multiple bytes you have two choices. You can either send a series of single bytes using individual Serial.write() commands like this
Serial.write(0x00); //empty byte
Serial.write(0xFF); //broadcast to all IDs
Serial.write(0x03); //brightness command
Serial.write(0x0A); //brightness level
or as a single command like this
byte data[] = {0x00, 0xFF, 0x03, 0x0A};
Serial.write(data, sizeof(data)); //send data from data buffer
This assumes that you have a serial link between the Arduino and the peripheral. Change the name of the serial port to match the one that you are using on the Arduino
I know very little about the GIGA but if it is a USB A port then I don't think that you can use it for a Serial interface. Someone with more knowledge than me will need to give you advice