I'm connecting to a bluetooth device that answers to some parameters I send it, but as a response I read from a socket like this:
String data = dIn.readLine();
Where dIn is a:
DataInputStream dIn = new DataInputStream(socket.getInputStream());
The thing is that I receive the data, but it's a byte array read on a string. How can I convert that string that contains my byte array into a String with the correct hexadecimal values?
Thank you in advance.