Trying to parse data to establish a connection between a device and a test server. Except, I get a red line on (toParse) within String parsedMessage = (String)comm.parse(toParse).getPayload(); with the error parse(byte[]) in Communicator cannot be applied to (java.lang.String)
I have tried to change String toParse to byte[] toParse and it makes the red line go away for parse(toParse) but the byte[] toParse turns red instead with the error "required byte[], found java.lang.String"
Communicator comm = new
Communicatior(InstrumentationRegistry.getTargetContext());
String toParse = "88819188181A7";
String parsedMessage = (String)comm.parse(toParse).getPayload();