The BDB functions BDB_vFbExitAsTarget and BDB_vFbExitAsTarget in the bcb_fb_target.c SDK source incorrectly treat the provided endpoint parameter as a 1-based index rather than and endpoint ID:
BDB_vFbExitAsTarget
BDB_eFbTriggerAsTarget expects a 1-based index
These bugs are hidden when endpoint IDs are contiguous and begin at 1, which is the case in the samples.
FYI, we previously reported a similar bug in the OTA code here.
SDK Version: 2.6.15
Hello,
Thank you for your feedback, let me check this internally with the responsible team.
Regards,
Ana Sofia.