commit | f2918b0109b241e7ac988d285e0212877c9baddd | [log] [tgz] |
---|---|---|
author | Emil Gydesen <emil.gydesen@nordicsemi.no> | Wed Mar 01 14:05:02 2023 +0100 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Thu Mar 02 09:03:32 2023 +0100 |
tree | 305c9de6eb31c0475b2e3c4556d9a3d60e8dee7d | |
parent | adc59be23f71881de0beefc311421762d2f479cd [diff] |
Bluetooth: Audio: Fix MCC discover callback on reconnected issue With BT_GATT_SUBSCRIBE_FLAG_NO_RESUB the MCC subscriptions would be resent to the server on reconnection. Since this may trigger an error, the error will trigger a call to the MCC discover complete callback. For MCP We can assume that the server stores the subscriptions if we are bonded, and thus we can use BT_GATT_SUBSCRIBE_FLAG_NO_RESUB. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>