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.

CCS/CC2642R: Multirole project scanning for advertising devices, but not discovering

Part Number: CC2642R

Tool/software: Code Composer Studio

Hi currently I am working on a multirole cc2642 based project. While running the default example multirole application on launchpad its found that its scanning, but discovering device is zero even one peripheral device is advertising.So shall I change the scanning settings.

Please provide the solution.

SDK - simplelink_cc13x2_26x2_sdk_4_20_01_04

  • Do you use custom CC2642R board? If so, do you use SmartRF Studio to make sure RF performs well first?

  • Hi,

    I have assigned an expert to comment.

    Please specify the settings chosen for scanning. Please also specify if other RF activities (connection and/or advertisements) are run in parallel.

    Best regards,

  • What I want is without button menu the multirole device should automatically scan & discover new advertising devices.

     so in multirole default project i want to modify as per the above ,so in which section I will modify.

    Meaning the event MR_EVT_ADV_REPORT should active when the multirole device discovers new advertising device without menu buttons. 

    please describe with code snippet. 

  • Hi,

    In order to do this, you will likely want to modify the main task function for the multi_role example. You will see that this fxn calls a multirole initialization function that sets up the button menus. You can also look at the Simplelink Academy trainings for Scanning and Advertising to get an idea for what specific modifications that you will need to make. You can find this training by going to dev.ti.com/tirex then going to software->cc13x2 26x2 sdk->simplelink academy->bluetooth 5. I believe this training should answer most of your questions, but let me know if you still have any questions afterwards.

    Best Regards,
    Alec