This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-CC2640R2: Setting up host-test project to Peripheral advertisement role in BLE5 stack

Part Number: LAUNCHXL-CC2640R2
Other Parts Discussed in Thread: CC2640, CC2640R2F, CC2642R, CC2340R5

Hi Team,

I see that the hex file inside BLE5stack of CC2640 - cc2640r2lp_host_test.hex, supports only Central role.

So, Is there any hex file available in BLE5stack which supports both central+Peripheral role?

Further, I've imported the host test project in CCS and tried configuring both the modes using -DHOST_CONFIG=CENTRAL_CFG+PERIPHERAL_CFG in build_config.opt file. But, I'm facing issue during build process.

Belo image shows build errors -

Could you please let me know, if I miss anything in the process?

Thanks and Regards,

Akshay

  • Hi Akshay,

    Thank you for reaching out.

    I am afraid it is not possible to build host_test for multi-role when using the BLE5Stack on CC2640R2F. This limitation is mentioned in the release notes of the software and tracked by the ticket BLESTACK-5513.

    I would recommend one of the following approaches:

    - Leverage the BLEStack on CC2640R2

    - Migrate to CC2642R

    - Migrate to CC2340R5

    I hope this will help,

    Best regards,