Lines Matching refs:read_params
1442 static struct bt_gatt_read_params read_params; variable
1539 read_params.handle_count = 1; in read_data()
1540 read_params.single.handle = sys_le16_to_cpu(cp->handle); in read_data()
1541 read_params.single.offset = 0x0000; in read_data()
1542 read_params.func = read_cb; in read_data()
1543 read_params.chan_opt = BT_ATT_CHAN_OPT_NONE; in read_data()
1548 if (bt_gatt_read(conn, &read_params) < 0) { in read_data()
1549 read_destroy(&read_params); in read_data()
1585 read_params.by_uuid.uuid = &uuid.uuid; in read_uuid()
1586 read_params.handle_count = 0; in read_uuid()
1587 read_params.by_uuid.start_handle = sys_le16_to_cpu(cp->start_handle); in read_uuid()
1588 read_params.by_uuid.end_handle = sys_le16_to_cpu(cp->end_handle); in read_uuid()
1589 read_params.func = read_uuid_cb; in read_uuid()
1590 read_params.chan_opt = BT_ATT_CHAN_OPT_NONE; in read_uuid()
1594 if (bt_gatt_read(conn, &read_params) < 0) { in read_uuid()
1595 read_destroy(&read_params); in read_uuid()
1621 read_params.handle_count = 1; in read_long()
1622 read_params.single.handle = sys_le16_to_cpu(cp->handle); in read_long()
1623 read_params.single.offset = sys_le16_to_cpu(cp->offset); in read_long()
1624 read_params.func = read_cb; in read_long()
1625 read_params.chan_opt = BT_ATT_CHAN_OPT_NONE; in read_long()
1630 if (bt_gatt_read(conn, &read_params) < 0) { in read_long()
1631 read_destroy(&read_params); in read_long()
1672 read_params.func = read_cb; in read_multiple()
1673 read_params.handle_count = cp->handles_count; in read_multiple()
1674 read_params.multiple.handles = handles; /* not used in read func */ in read_multiple()
1675 read_params.multiple.variable = false; in read_multiple()
1676 read_params.chan_opt = BT_ATT_CHAN_OPT_NONE; in read_multiple()
1681 if (bt_gatt_read(conn, &read_params) < 0) { in read_multiple()
1723 read_params.func = read_cb; in read_multiple_var()
1724 read_params.handle_count = i; in read_multiple_var()
1725 read_params.multiple.handles = handles; /* not used in read func */ in read_multiple_var()
1726 read_params.multiple.variable = true; in read_multiple_var()
1727 read_params.chan_opt = BT_ATT_CHAN_OPT_NONE; in read_multiple_var()
1732 if (bt_gatt_read(conn, &read_params) < 0) { in read_multiple_var()