Skip to content

Commit

Permalink
Bluetooth: Host: Document required changes for L2CAP accept() callback
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
donatieng authored and carlescufi committed Oct 2, 2023
1 parent dee6461 commit 6de57d0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/releases/migration-guide-3.5.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,12 @@ Required changes
};
};
* The ``accept()`` callback's signature in :c:struct:`bt_l2cap_server` has
changed to ``int (*accept)(struct bt_conn *conn, struct bt_l2cap_server
*server, struct bt_l2cap_chan **chan)``,
adding a new ``server`` parameter pointing to the :c:struct:`bt_l2cap_server`
structure instance the callback relates to. :github:`60536`

Recommended Changes
*******************

Expand Down

0 comments on commit 6de57d0

Please sign in to comment.