Decode USSD response

For others looking at a solution around this, I found this: http://forum.mikrotik.com/t/how-to-convert-a-hex-value-to-a-char/97913/1
and this: https://gist.github.com/jpluimers/f667af4696d2a6411be44df1eeda2c2f
really useful.