fix(nimble): Bugfixes for various issues

This commit is contained in:
Rahul Tank
2026-02-16 11:09:31 +05:30
parent cf27efbd9a
commit 2fcf63c746
16 changed files with 38 additions and 29 deletions
@@ -510,8 +510,8 @@ ble_cts_cent_gap_event(struct ble_gap_event *event, void *arg)
event->cache_assoc.status,
(event->cache_assoc.cache_state == 0) ? "INVALID" : "LOADED");
/* Perform service discovery */
rc = peer_disc_all(event->connect.conn_handle,
blecent_on_disc_complete, NULL);
rc = peer_disc_all(event->cache_assoc.conn_handle,
ble_cts_cent_on_disc_complete, NULL);
if(rc != 0) {
MODLOG_DFLT(ERROR, "Failed to discover services; rc=%d\n", rc);
return 0;