mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 03:07:21 +02:00
feat (Nimble): Added Health Thermometer as a service
This commit is contained in:
Submodule components/bt/host/nimble/nimble updated: 7206e325db...4c3191f10c
@ -95,7 +95,7 @@ examples/bluetooth/nimble:
|
|||||||
|
|
||||||
examples/bluetooth/nimble/ble_htp:
|
examples/bluetooth/nimble/ble_htp:
|
||||||
enable:
|
enable:
|
||||||
- if: IDF_TARGET in ["esp32", "esp32c2", "esp32c3", "esp32c6", "esp32h2", "esp32h4", "esp32s3"]
|
- if: IDF_TARGET in ["esp32", "esp32c2", "esp32c3", "esp32h2", "esp32s3"]
|
||||||
temporary: true
|
temporary: true
|
||||||
reason: the other targets are not tested yet
|
reason: the other targets are not tested yet
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE HTP Cent Example
|
# BLE HTP Cent Example
|
||||||
|
|
||||||
|
@ -368,11 +368,7 @@ ble_htp_cent_should_connect(const struct ble_gap_disc_desc *disc)
|
|||||||
|
|
||||||
rc = ble_hs_adv_parse_fields(&fields, disc->data, disc->length_data);
|
rc = ble_hs_adv_parse_fields(&fields, disc->data, disc->length_data);
|
||||||
if (rc != 0) {
|
if (rc != 0) {
|
||||||
<<<<<<< HEAD
|
|
||||||
return 0;
|
return 0;
|
||||||
=======
|
|
||||||
return rc;
|
|
||||||
>>>>>>> NimBLE: Added health thermometer profile
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strlen(CONFIG_EXAMPLE_PEER_ADDR) && (strncmp(CONFIG_EXAMPLE_PEER_ADDR, "ADDR_ANY", strlen("ADDR_ANY")) != 0)) {
|
if (strlen(CONFIG_EXAMPLE_PEER_ADDR) && (strncmp(CONFIG_EXAMPLE_PEER_ADDR, "ADDR_ANY", strlen("ADDR_ANY")) != 0)) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE Heart Rate Measurement Example
|
# BLE Heart Rate Measurement Example
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user