From fcfef95fa745555b5fe272e87c5bfe5e690d6a22 Mon Sep 17 00:00:00 2001 From: Rahul Tank Date: Wed, 7 Sep 2022 17:19:55 +0530 Subject: [PATCH] Nimble: Enable ANS service by default in nimble examples --- examples/bluetooth/nimble/bleprph/main/gatt_svr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/bluetooth/nimble/bleprph/main/gatt_svr.c b/examples/bluetooth/nimble/bleprph/main/gatt_svr.c index 3a279b55eb..157ad66b49 100644 --- a/examples/bluetooth/nimble/bleprph/main/gatt_svr.c +++ b/examples/bluetooth/nimble/bleprph/main/gatt_svr.c @@ -25,6 +25,7 @@ #include "services/gap/ble_svc_gap.h" #include "services/gatt/ble_svc_gatt.h" #include "bleprph.h" +#include "services/ans/ble_svc_ans.h" /** * The vendor specific security test service consists of two characteristics: @@ -195,6 +196,7 @@ gatt_svr_init(void) ble_svc_gap_init(); ble_svc_gatt_init(); + ble_svc_ans_init(); rc = ble_gatts_count_cfg(gatt_svr_svcs); if (rc != 0) {