Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-10564

DEFAULT_SCAN_TYPE is not used in the simple_central/multi-role project.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • SimpleLink CC13x2-26x2 SDK BLE5 Stack
    • BLE_AGAMA-3487
    • BLE Stack BLE5-2.2.2
    • Hide
      BLE stack BLE5-2.2.3 RC5
      BLE Stack BLE5-2.2.3
      Show
      BLE stack BLE5-2.2.3 RC5 BLE Stack BLE5-2.2.3
    • CC26X2R1

      SDK version:
      simplelink_cc13x2_26x2_sdk_5_20_00_52 --> simple_central & mulit-role

      Problem: When using Sysconfig to change the scan type, it won't make any difference since the generated parameter DEFAULT_SCAN_TYPE is not used in the software.

      Solution:
      Change the following from

        // multi-role default
        // Set Scan PHY parameters
        GapScan_setPhyParams(DEFAULT_SCAN_PHY, SCAN_TYPE_ACTIVE,
                             DEFAULT_SCAN_INTERVAL, DEFAULT_SCAN_WINDOW);
      
            // simple central default
            GapScan_setPhyParams(DEFAULT_SCAN_PHY, SCAN_TYPE_PASSIVE,
                                 DEFAULT_SCAN_INTERVAL, DEFAULT_SCAN_WINDOW);
      

      To

        // Set Scan PHY parameters
        GapScan_setPhyParams(DEFAULT_SCAN_PHY, DEFAULT_SCAN_TYPE,
                             DEFAULT_SCAN_INTERVAL, DEFAULT_SCAN_WINDOW);
      

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: