cancel
Showing results for 
Search instead for 
Did you mean: 

[BLE - B-L475E] What do these UUID codes mean?

MathieuOKS
Associate II

Hi ST Community,

I use the X-CUBE-BLE1 library and the SensorApp application, and I can understand most of the functions used, but when I want to add a value to my characteristic, I can't understand the address used and why.

The address of the "environmental" feature is: 0x00,0x00,0x00,0x00,0x00,0x01,0x11,0xe1,0xac,0x36,0x00,0x02,0xa5,0xd5,0xc5,0x1b
And then we say:
uuid[14] |= 0x04; /* One Temperature value*/
uuid[14] |= 0x10; /* Pressure value*/

I understand that we're using a 128-bit personalised address, but are these 2 lines above enough for the ST BLE Sensor application to understand that we have a temperature value and a pressure value? And how do I change this value if I want to say that I also have a humidity value?

Thank you for your answers!

0 REPLIES 0