Hi
If data is read by handle, it reads all the 20 bytes I need:
struct bt_gatt_read_params read_params; read_params.func = read_func; read_params.handle_count = 1; read_params.single.handle = 14; read_params.single.offset = 0; bt_gatt_read(conn, &read_params);
but if it's read by UUID, it only reads 19 bytes..
struct bt_gatt_read_params read_params; read_params.by_uuid.uuid = &uuid_128.uuid; read_params.by_uuid.start_handle = 0x0001; read_params.by_uuid.end_handle = 0xFFFF; read_params.func = read_func; read_params.handle_count = 0; bt_gatt_read(conn, &read_params);
Why ?)