I don't think you have to deal with hex format. This is only a way to show unprintable chars. You get bytes and you have to deal with them. You do a conversion which transforms bytes to hex. Display each byte and the work is done!
you string is "g pool is initi"
i have directly use 'stringfrombytes()' didn't change data format to HEX.
the result is wrongbyteconverter_stringfrombytes..i think the format from WIFI ROUTER send is HEX format.so must first get HEX COED.after change again to normal character
I don't think you have to deal with hex format. This is only a way to show unprintable chars. You get bytes and you have to deal with them. You do a conversion which transforms bytes to hex. Display each byte and the work is done!
i have directly use 'stringfrombytes()' didn't change data format to HEX.
the result is wrongbyteconverter_stringfrombytes..i think the format from WIFI ROUTER send is HEX format.so must first get HEX COED.after change again to normal character
i have directly use 'stringfrombytes()' didn't change data format to HEX.
the result is wrongbyteconverter_stringfrombytes..i think the format from WIFI ROUTER send is HEX format.so must first get HEX COED.after change again to normal character