Lines Matching refs:start_handle

1079 static uint8_t att_find_info_rsp(struct bt_att_chan *chan, uint16_t start_handle,  in att_find_info_rsp()  argument
1092 bt_gatt_foreach_attr(start_handle, end_handle, find_info_cb, &data); in att_find_info_rsp()
1097 send_err_rsp(chan, BT_ATT_OP_FIND_INFO_REQ, start_handle, in att_find_info_rsp()
1110 uint16_t start_handle, end_handle, err_handle; in att_find_info_req() local
1114 start_handle = sys_le16_to_cpu(req->start_handle); in att_find_info_req()
1117 LOG_DBG("start_handle 0x%04x end_handle 0x%04x", start_handle, end_handle); in att_find_info_req()
1119 if (!range_is_valid(start_handle, end_handle, &err_handle)) { in att_find_info_req()
1125 return att_find_info_rsp(chan, start_handle, end_handle); in att_find_info_req()
1221 data->group->start_handle = sys_cpu_to_le16(handle); in find_type_cb()
1232 static uint8_t att_find_type_rsp(struct bt_att_chan *chan, uint16_t start_handle, in att_find_type_rsp() argument
1253 bt_gatt_foreach_attr(start_handle, end_handle, find_type_cb, &data); in att_find_type_rsp()
1259 send_err_rsp(chan, BT_ATT_OP_FIND_TYPE_REQ, start_handle, in att_find_type_rsp()
1272 uint16_t start_handle, end_handle, err_handle, type; in att_find_type_req() local
1277 start_handle = sys_le16_to_cpu(req->start_handle); in att_find_type_req()
1282 LOG_DBG("start_handle 0x%04x end_handle 0x%04x type %u", start_handle, end_handle, type); in att_find_type_req()
1284 if (!range_is_valid(start_handle, end_handle, &err_handle)) { in att_find_type_req()
1296 send_err_rsp(chan, BT_ATT_OP_FIND_TYPE_REQ, start_handle, in att_find_type_req()
1301 return att_find_type_rsp(chan, start_handle, end_handle, value, in att_find_type_req()
1484 uint16_t start_handle, uint16_t end_handle) in att_read_type_rsp() argument
1503 bt_gatt_foreach_attr(start_handle, end_handle, read_type_cb, &data); in att_read_type_rsp()
1508 send_err_rsp(chan, BT_ATT_OP_READ_TYPE_REQ, start_handle, in att_read_type_rsp()
1521 uint16_t start_handle, end_handle, err_handle; in att_read_type_req() local
1536 start_handle = sys_le16_to_cpu(req->start_handle); in att_read_type_req()
1542 LOG_DBG("start_handle 0x%04x end_handle 0x%04x type %s", start_handle, end_handle, in att_read_type_req()
1545 if (!range_is_valid(start_handle, end_handle, &err_handle)) { in att_read_type_req()
1565 (start_handle != BT_ATT_FIRST_ATTRIBUTE_HANDLE || in att_read_type_req()
1575 return att_read_type_rsp(chan, &u.uuid, start_handle, end_handle); in att_read_type_req()
1915 data->group->start_handle = sys_cpu_to_le16(handle); in read_group_cb()
1935 uint16_t start_handle, uint16_t end_handle) in att_read_group_rsp() argument
1952 bt_gatt_foreach_attr(start_handle, end_handle, read_group_cb, &data); in att_read_group_rsp()
1957 send_err_rsp(chan, BT_ATT_OP_READ_GROUP_REQ, start_handle, in att_read_group_rsp()
1970 uint16_t start_handle, end_handle, err_handle; in att_read_group_req() local
1985 start_handle = sys_le16_to_cpu(req->start_handle); in att_read_group_req()
1992 LOG_DBG("start_handle 0x%04x end_handle 0x%04x type %s", start_handle, end_handle, in att_read_group_req()
1995 if (!range_is_valid(start_handle, end_handle, &err_handle)) { in att_read_group_req()
2010 send_err_rsp(chan, BT_ATT_OP_READ_GROUP_REQ, start_handle, in att_read_group_req()
2015 return att_read_group_rsp(chan, &u.uuid, start_handle, end_handle); in att_read_group_req()