Convert classic bluetooth temperature bytes

I have integrated a health monitor with my Android Bluetooth(classic) app and receiving 2 bytes of data for temperature . I have recorded the actual temperature against the 2 bytes of data. Please let me know how to convert the 2 bytes to get temperature in degree centigrade. Here are some readings:-

  1. 36deg C (93, 78)
    2 35.8 deg C ( 74, 80)
    3.36.2 deg C (112, -112)
  2. 36.1 deg C ( 99, -17)
  3. 36.1 deg C (106, 115)
    6.36.0 deg C (96,13)
    7.36.1 deg C (106, 115)
  4. 36.1 deg C ( 105, -111)
    9 36.1 deg C (101, 50)
    10 36.2 deg C (109, -16)
    I have searched the net extensively but couldn't get a proper conversion logic which will satisfy the above mentioned readings. Hope someone can make out the conversion logic
    Thanks in advance,
    Vidya

A byte can't have a negative value so something is awry.

Post the program that you are having trouble with.

Post a link to the datasheet for the device that is producing the data.

...R

Please let me know how to convert the 2 bytes to get temperature in degree centigrade.

Isn't there some documentation for the sensor you are using that tells you what sort of values to expect from it and how to interpret them?

We don't even know what type of sensor you have or how you are getting these numbers. So there's no way anyone here can tell you how to interpret them. At least not until you fill in the details.

vidya_amar:
I have recorded the actual temperature against the 2 bytes of data.

  1. 36.1 deg C ( 99, -17)
  2. 36.1 deg C (106, 115)
  3. 36.1 deg C (106, 115)
  4. 36.1 deg C ( 105, -111)
    9 36.1 deg C (101, 50)

I have searched the net extensively but couldn't get a proper conversion logic which will satisfy the above mentioned readings.

I'm sure there is no surprise about the last bit, and you shouldn't expect anybody else to work it out either. The best you can hope for is that you are not doing what you think you are doing, or the device is faulty. In addition to replies #1,#2, where do the "actual temperatures come from?