Part Number: CC2650
Hi
I have two CC2650 launchpads and i have configured one as peripheral and created a custom service(UUID 0xBA55) and a characteristic with read and notify properties with UUID 0x2BAD.
I am trying to automatically read the characteristics' value by directly connecting to the peripheral (without button pressing). The peripheral has many services how do I read the value I want using
GATT_ReadUsingCharUUID. Once i call this function with the required parameters where do i go to get the actual value read??? in the struct
typedef struct
{
uint16 startHandle; //!< First requested handle number (must be first field)
uint16 endHandle; //!< Last requested handle number
attAttrType_t type; //!< Requested type (2 or 16 octet UUID)
} attReadByTypeReq_t;
where do i specify the UUID I want ??
i have variables which say :
// Discovered service start and end handle
static uint16_t svcStartHdl = 0;
static uint16_t svcEndHdl = 0;
// Discovered characteristic handle
static uint16_t charHdl = 0;
but i have multiple services and characteristics how do I choose the one i want? code snippets would be very helpful or links
I am using the BLE 2.2.1 SDK with TI RTOS
Thanks for all your help!!!! really appreciate it!
Ashwin Cheers!!!!