I\'m trying to get data from a medical BT device that I already have pairing code and communication protocol.
Looking for some code I\'ve got this code:
You want to replace the following:
myCompleteMessage.AppendFormat("{0}", Encoding.ASCII.GetString(myReadBuffer, 0, numberOfBytesRead));
with
for (int i = 0; i < numberOfBytesRead; i++) myCompleteMessage.AppendFormat("0x{0:X2} ", myReadBuffer[i]);