NimBLE : Change GATT notify/indicate from gattc to gatts

This commit is contained in:
2022-12-30 17:34:11 +05:30
committed by Roshan Bangar
parent 9461a0bf1c
commit b7c0fab101
+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;
}