This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

L2CAP support on the S140 softdevice

Hi

From s140_nrf52840_5.0.0-3.alpha_migration-document, it is mentioned that the L2CAP API has been completely removed. Are there plans to re-expose the API? We have exposed L2CAP functionality in our app for the nrf52832 and want to see if we'll be able to expose the same functionality for the nrf52840.

Thanks

  • The L2Cap API was a proprietary feature that made use of an under-utilized channel range for data transfers. Since the Bluetooth spec introduced the "Connection Oriented Channels" feature, this proprietary feature can be fully replaced with the formal version. It is largely the same thing, but has some key differences:

    • There is an initial setup of the channel, where maximum logical and physical packet sizes are agreed upon.
    • There is a flow control system using credits. It can largely be overridden if you handle the flow control yourself.

    The proprietary feature was kept until it had a proper implementation that could replace it. Connection Oriented Channels is already included in the S132 5.0.0-3.alpha, but I do not know if/when it will go into the S140.

Related