NimBLE : Change GATT notify/indicate from gattc to gatts

This commit is contained in:
isha.pardikar@espressif.com
2022-10-31 15:48:12 +05:30
committed by Abhinav Kudnar
parent b0633faede
commit 4ae124d1cd
+4
View File
@@ -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;
}