GAP_UpdateLinkParamReq interface keeps returning bleAlreadyInRequestedMode when requesting parameters update as a peripheral after having requested as a central

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • SimpleLink Lowpower SDK F3 BLE5 Stack
    • BLE_LOKI-1644
    • BLE Stack BLE5-3.2.4 RC7
    • Hide
      BLE Stack BLE5-3.3.2 RC1
      BLE Stack BLE5-3.3.2
      Show
      BLE Stack BLE5-3.3.2 RC1 BLE Stack BLE5-3.3.2
    • CC2340R5

      *Description of the Issue:* This issue happens because the variable peripheralConnHandle isn't reset to LINKDB_CONNHANDLE_INVALID after requesting connection parameters update as the central.

      The variable peripheralConnHandle is used to keep track on which peripheral a parameter update request is currently processed. It is also used to ensure there is one peripheral update request at a time (in 
      GAP_UpdateLinkParamReq@gap_linkmgr) This variable is used for both central and peripheral. For the peripheral this variable is reset to
      LINKDB_CONNHANDLE_INVALID in  gapPeriProcessConnUpdateCompleteEvt@gap_perilinkmgr.c but for the central the variable isn't reset. Which mean that GAP_UpdateLinkParamReq will crash with  bleAlreadyInRequestedMode when a peripheral role requests a connection update after doing it in the central role.

       

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

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-4767 - GAP_UpdateLinkParamReq interface ke...
                SYNCHRONIZED
                • Last Sync Date: