From 4ae124d1cdefdf1024152af60fda7392c521658e Mon Sep 17 00:00:00 2001 From: "isha.pardikar@espressif.com" Date: Mon, 31 Oct 2022 15:48:12 +0530 Subject: [PATCH] NimBLE : Change GATT notify/indicate from gattc to gatts --- apps/blestress/src/rx_stress.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/blestress/src/rx_stress.c b/apps/blestress/src/rx_stress.c index 2761196ca..61561b244 100644 --- a/apps/blestress/src/rx_stress.c +++ b/apps/blestress/src/rx_stress.c @@ -1087,6 +1087,10 @@ rx_stress_13_gap_event(struct ble_gap_event *event, void *arg) return 0; } + om = ble_hs_mbuf_from_flat(test_6_pattern, 10); + rc = ble_gatts_notify_custom(rx_stress_ctx->conn_handle, + hrs_hrm_handle, om); + assert(rc == 0); return 0; }