Variable for storing characteristic handle should be 16 bit

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • SimpleLink CC13x2-26x2 SDK BLE5 Stack
    • BLE_AGAMA-1891
    • BLE Stack BLE5-2.1.1
    • Hide
      BLE Stack BLE5-2.1.3 RC1
      BLE Stack BLE5-2.1.3
      Show
      BLE Stack BLE5-2.1.3 RC1 BLE Stack BLE5-2.1.3

      E2E Link: https://e2e.ti.com/support/wireless-connectivity/bluetooth/f/538/p/880173/3258200#3258200 

      Installer: simplelink_cc13x2_26x2_sdk_3_40_00_02

      Affected examples:

      • multi role
      • simple central

      Problem description:
      In simple central and multi role there is a typedef to hold connection information:

      // Connected device information
      typedef struct
      {
        uint16_t connHandle;        // Connection Handle
        uint8_t  addr[B_ADDR_LEN];  // Peer Device Address
        uint8_t  charHandle;        // Characteristic Handle
        Clock_Struct *pRssiClock;   // pointer to clock struct
      } connRec_t;
      

      The problem is that the charHandle variable is defined as uint8_t. This is a 16 bit value and should be defined as uint16_t.

            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-2371 - Variable for storing characteristic...
                SYNCHRONIZED
                • Last Sync Date: