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

L2CAP Protocol

I am looking to use the L2CAP in the basic form.  I see that there is the Experimental OTS example in SDK 17.0.2

this only uses the S132 Softdevice.  I am looking to target the nRF52810 and the S113 Softdevice.

The S113 mentions that it supports L2CAP connection Oriented Channels.

Can i target the OTS example to the nRF52810 with S113 and have it work.

Is there any other reason the documentation only suggests the S132 and S140 and not the S113?

https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ble_sdk_app_ots.html

  • Hi,

    Both S140 and S113 supports L2CAP, so I do not see any immediate reason why using one over the other should matter. So yes, I would expect you to have it work.

    The OTS examples were introduced in nRF5 SDK v14.0.0, at a point where S132 and S140 were pretty much the only SoftDevice variants available. My guess is since they are marked "Experimental" they have only received minimal attention over the years, meaning they have not been ported to new SoCs and/or SoftDevice variants, only updated to work with new versions / revisions of SDs / SoCs as appropriate for the new SDK release. So the warning is most likely reflecting what SDs work out-of-the-box using the SDK examples - and not what is possible to port to.

    I'll try to get this confirmed. However as it is weekend already over here (5:20 p.m. on a Friday) I do not expect answers from the team before next week.

    Regards,
    Terje

  • I have been moving the OTS example over the the nRF52810 using S113.

    My issue now is the amount of RAM it uses.  If i Compile the nRF52832 with S132 the RAM is 32KB.

    The nRF52810 only has 24KB.  I am stripping things out.  Any suggestions to eliminate the most RAM usage?

  • I have attached my project.  Can you verify that I have made to correct changes to target the nRF52810 with S113

    ble_app_ots - nrf52810.zip

  • Hi,

    It looks like the project is correctly set up for emulating the nRF52810 using an nRF52832 DK.

    There is still a preprocessor define NRF52_PAN_74, which is not needed for the NRF52810. It should not be needed on emulated projects, as the required workarounds should be included indirectly through the DEVELOP_IN_NRF52832 define that you also (correctly) have added to the project. However, I do not think that should affect anything.

    In order to run the project on an nRF52810 you must follow the steps in Transferring the project to nRF52810 hardware. However, from what I understand, you currently want to run it on an nRF52832 DK, and for that the project looks correct, yes.

    Regards,
    Terje

  • Thanks for looking it over.  I am still not able to compile the example.  I get alot of linker issues. 

      

    any thoughts?

Related