Skip to content

Commit f2d1757

Browse files
osaethercarlescufi
authored andcommitted
samples: bluetooth: BTHome sensor template bugfix
The code for humidity was wrong. Signed-off-by: Ole Sæther <[email protected]>
1 parent f18ae82 commit f2d1757

File tree

1 file changed

+1
-1
lines changed
  • samples/bluetooth/bthome_sensor_template/src

1 file changed

+1
-1
lines changed

samples/bluetooth/bthome_sensor_template/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ static uint8_t service_data[SERVICE_DATA_LEN] = {
2323
0x02, /* Temperature */
2424
0xc4, /* Low byte */
2525
0x00, /* High byte */
26-
0x00, /* Humidity */
26+
0x03, /* Humidity */
2727
0xbf, /* 50.55% low byte*/
2828
0x13, /* 50.55% high byte*/
2929
};

0 commit comments

Comments
 (0)