cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to read hnd 0x0001 (supose to be Temperature) but the value is alway the same

NMart.1
Associate III

I searched and I found thar the temperature on the stevaL-MKSBOX1V1 is in handler 0x00001. So I conect using my raspberry and blueZ. Using char-read-hnd 0x0001 I always obtain the same value. Do you know the correct handler for temperature?

2 REPLIES 2
Eleon BORLINI
ST Employee

Hi @Nicolás Martinez​ , the bluetooth pack that the ST.box sends to the app is composed by 10 bytes, structured as [timestamp0, timestamp1, timestamp2, timestamp3, press0, press1, hum0, hum1, temp0, temp1]. The temperature is the last feature sent, so you have to discard the first bytes and keep the last ones. Btw, how is structured your application? Did you enable the Temperature sensor in your app? Regards

OK, thanks. That information has helped me. I have another question. Where can I find all the information related to the sensor (like the one you told me)? I don’t find it in the resources of the product.

Thanks