Hi to all!
i'm currently writting a quick program that connects my android device with a microcontrolled device. I want communication between booth devices to be held through Hex array frames that are send when i press the send button on the Android device screen.
My question is how to send a hex array.
This is one of the frames i want to send 0x7E 0x00 0x01 0x52 0x00 0x2D 0x0a. I have tried to use the Bluetooth client send Bytes using a list and doing the conversion from the decimal representation of the array ( 126 0 1 82 0 45 10). The attached figure shows the way i'm trying to send the first byte of my array, the result is not good i would want to know if some of you know a good way to implement this.
thanks