hi to all,
i am developing a a ble device based on ti osal system, i want to read a characteristic from a ble peripheral device with GATT_ReadUsingCharUUID function, when i call this function with spec variables i receive an ATT_READ_BY_TYPE_RSP event in my task and it mean that my request is accepted by osal, but i do not know where is saved response of my request.
do any one know how can i read response of my request?
it is my code :
uint8 param_uuid[16] = {0xF8, 0x31, 0x1B, 0x40, 0x03, 0xF9, 0x48, 0x4C, 0x86, 0x38, 0x56, 0x4B, 0x03, 0x1E, 0x6E, 0xB3};
uint8 *uuid = param_uuid;
uint8 uuid_length = 16;
uint16 connHandle;
attAttrType_t attr_type = {.len= uuid_length};
osal_memcpy(attr_type.uuid, uuid, sizeof(attr_type.uuid));
attReadByTypeReq_t characteristic = {1,65535, attr_type};
connHandle = bridge_devices[get_idx_by_addr(current_address)].connHandle;
bStatus_t status = GATT_ReadUsingCharUUID(connHandle, (attReadByTypeReq_t*)&characteristic, ClexiBridgeTaskId);
thanks.