How do I read temperature value returned from my device?

I suggested an approach to a similar problem in this thread: