l2cap implementation with static uuid and randm channel in nrf5340

hello,

i am using nrf5340 in sdk 2.4 i want to implement l2cap on our customised firmware i  need  PSM value to be received from characteristic with custom uuid but most of the example uses static value for PSM which is 0x80 is there any example or link i can refer externelly for me to test this?

NOTE: i know there is no default example is there for this so any git hub links/blog would be helpful

regards

manikandan v

Parents Reply Children
  • Hi, 
    Can you step into the code and check why it didn't return. 
    Could you explain why you want to do credit based L2CAP ? 
    What's the limitation of the ots that you decide to make the change ? 
    Have you enabled CONFIG_BT_L2CAP_ECRED=y ? 
    Have you studied the sample in \zephyr\tests\bsim\bluetooth\host\l2cap ? 
    I saw that they use bt_l2cap_ecred_chan_connect in credits_seg_recv and credits

Related