Other Parts Discussed in Thread: CC2640R2F, CC2640
Hello,
I have a custom app that needs several peripherals to connect to same central, I managed to achieve this developing the peripherals FW based on Project Zero example and Central FW based on MultiRole example.
Everything on the app works perfect and its working good so far related to the app. Recently I needed to do a firmware change on the peripherals side of some hard coded constants defined in the "project_zero.c" file of the peripheral and after doing this, when I try to connect the central succesfully scans for peripherals, finds them, initiate the connection and right after about 5 seconds of stablishing it, it suddenly drops it. This issue is fixed reflashing the central (same FW, just a reflash of the central app).
Is this a known issue? Does anyone knows where could I start to look for problems? Since I know how to fix it while still developing, there will be cases where I will not be able to reflash a Central that was already deployed for tests or is on a remote location.
I tryed to debug this issue and managed to find that the connection is dropped when (or before) it should be updating the MTU Size in the ATT_MTU_UPDATED_EVENT in the multi_role_processGATTMsg.
Best regards and thanks in advance. Both apps are available for sharing If someone wants to have a deeper look at the codes.
This is on simplelink_cc2640r2_sdk_4_20_00_04 SDK version.