"Hex" is not something you send, it is just a way of looking at the numbers. For example, 112 is the same number as one hundred and twelve - they are just in different representations.
Instead, use bytes and send those (assuming it is Hex 32 you want to send):
byte start = 0x32;
byte middle = 0x00;
byte end = 0x01;
Now send those bytes and see if it works!
You can create them as an array and send that instead:
byte[] message = new byte[] { 0x32, 0x0, 0x1};
"I use this cod but itis not working
do you any other idea
thank you"
Look at your code, then look at my equivalent:
byte[] message = new byte[] { 32, 0, 1 };
byte[] message = new byte[] { 0x32, 0x0, 0x1};
The "0x" prefix says that the data to follow is Hexadecimal - i.e. base sixteen.
If you do not specify, then decimal is assumed - i.e. base 10.
32 Hex is 50 in decimal!
It's like saying that 112 is the same number as two hundred and seventy-four!
(112 in hexadecimal is 274 in decimal)