CC2340R5: Issue when l2cap data is sent

Part Number: CC2340R5

Dear support team,

Please refer to below scenario / use case.

  1. Peripheral device (cc2340) is establishing l2cap coc connection
  2. Both device gets event BLEAPPUTIL_L2CAP_CHANNEL_ESTABLISHED_EVT
  3. Event shows connhandle with value 0 and CID as 65. (For both device)
  4. Peripheral device sends some dummy l2cap data on established l2cap channel.
  5. When received at Central device, below condition fails.
  6. connhandle = 0, but event data CID appears to be 64 (expected was 65)

Why this would happen and therefore failure in sending data between devices?

image.png

Regards,

Rasikraj.

  • Hi Rasikraj,

    Can you confirm what the struct is for the pRemoteDevice variable? Also what is the datatype of the CID member? Could you also share the SDK version you are using?

    Best Regards,

    Jan

  • Hello Jan,

    Thanks for replying.

    I could resolve this topic at my end for now.

    Issue I observed is, other device was also registering PSM and initiating connection request. 

    When masked this, other device could connect successfully.

    Regards.

    Rasikraj.