Part Number: LAUNCHXL-CC2640R2
Tool/software: Code Composer Studio
Hello,
I have this weird error, I think there might be some SDK error (can't explain it any other way).
I am using 2 LaunchXL CC2640r2f, my code is based on multi_role.
1st device scans, 2nd device advertises. I don't use devList[]:
1st device finds 2nd device in GAP_DEVICE_INFO_EVENT, and then connects to the 2nd. My svc is found, devices paired and bond save success. 2nd device do GATT_write to 1st device.
Now 2nd device gets stuck, unless I keep this exact line in the code:
and another line using devList[], for instance:
Even though these 2 lines do nothing (there's no other place using devList[] in the code).
With these 2 lines everything works fine. If I delete it, the code crashes right after 2nd device tries to do GATT_write to 1st device.
Any idea what could be the problem?
I am using sdk_3_20_00_21, compiler version 18.12.3.LTS.
Thanks,
Amit
