-
Bug
-
Resolution: Fixed
-
Low
-
SimpleLink CC13x2-26x2 SDK BLE5 Stack
-
BLE_AGAMA-1891
-
BLE Stack BLE5-2.1.1
-
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.