Closed felixdoerre closed 1 year ago
Also note that the function that gcc
is recommending (l2cap_le_send_data
) has a deprecation annotation https://github.com/bluekitchen/btstack/blob/de0ec9eb80b59ba1d83d142547fa900afb1f5f00/src/l2cap.h#L845 referencing l2cap_send_data
which I cannot find.
Thanks for reporting. Looks like we've missed the code disabled by the missing TEST_STREAM_DATA when streamlining the API names. Please verify the fix on the develop branch.
I've also updated the @deprecated annotations.
Thx, the example compiles now. And I see you've adjusted 2 deprecation annotations, but not the one in line 845 that I referenced. The function now seems to be called l2cap_send
instead of l2cap_send_data
Thanks. I've fixed this and another one on develop.
Describe the bug
Compiling
le_credit_based_flow_control_mode_server
withTEST_STREAM_DATA
does not work.To Reproduce
Steps to reproduce the behavior:
-DTEST_STREAM_DATA=1
Expected behavior
The example compiles, demonstrating correct cbm-API usage.
Observed behavior The example uses (presumably old) API functions which don't exist. The code hidden behind this preprocessor flag should either be updated or removed/clearly marked as non-functioning.