feat (Nimble): Added Health Thermometer as a service

This commit is contained in:
isha.pardikar@espressif.com 2023-07-17 11:31:14 +05:30
parent 71f5dc4973
commit 642aba7c03
5 changed files with 6 additions and 10 deletions

@ -1 +1 @@
Subproject commit 7206e325dbd95ad42235c3cefa686d8b872b92ee
Subproject commit 4c3191f10c0e568a254ba4703e2800dcef9010ba

View File

@ -95,7 +95,7 @@ examples/bluetooth/nimble:
examples/bluetooth/nimble/ble_htp:
enable:
- if: IDF_TARGET in ["esp32", "esp32c2", "esp32c3", "esp32c6", "esp32h2", "esp32h4", "esp32s3"]
- if: IDF_TARGET in ["esp32", "esp32c2", "esp32c3", "esp32h2", "esp32s3"]
temporary: true
reason: the other targets are not tested yet

View File

@ -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

View File

@ -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);
if (rc != 0) {
<<<<<<< HEAD
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)) {

View File

@ -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