Skip to content

Commit 6de57d0

Browse files
donatiengcarlescufi
authored andcommitted
Bluetooth: Host: Document required changes for L2CAP accept() callback
Add a required change in the migration guide to document the changes to the accept() callback in struct bt_l2cap_server. Signed-off-by: Donatien Garnier <[email protected]>
1 parent dee6461 commit 6de57d0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/releases/migration-guide-3.5.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,12 @@ Required changes
139139
};
140140
};
141141
142+
* The ``accept()`` callback's signature in :c:struct:`bt_l2cap_server` has
143+
changed to ``int (*accept)(struct bt_conn *conn, struct bt_l2cap_server
144+
*server, struct bt_l2cap_chan **chan)``,
145+
adding a new ``server`` parameter pointing to the :c:struct:`bt_l2cap_server`
146+
structure instance the callback relates to. :github:`60536`
147+
142148
Recommended Changes
143149
*******************
144150

0 commit comments

Comments
 (0)