Lines Matching refs:value_len
1802 const void *value, uint16_t value_len) in bt_gatt_attr_read() argument
1806 if (offset > value_len) { in bt_gatt_attr_read()
1810 if (value_len != 0U && value == NULL) { in bt_gatt_attr_read()
1811 LOG_WRN("value_len of %u provided for NULL value", value_len); in bt_gatt_attr_read()
1816 if (value_len == 0U) { in bt_gatt_attr_read()
1819 len = MIN(buf_len, value_len - offset); in bt_gatt_attr_read()
1905 uint8_t value_len; in bt_gatt_attr_read_included() local
1909 value_len = sizeof(pdu.start_handle) + sizeof(pdu.end_handle); in bt_gatt_attr_read_included()
1918 value_len += sizeof(pdu.uuid16); in bt_gatt_attr_read_included()
1924 return bt_gatt_attr_read(conn, attr, buf, len, offset, &pdu, value_len); in bt_gatt_attr_read_included()
1959 uint8_t value_len; in bt_gatt_attr_read_chrc() local
1971 value_len = sizeof(pdu.properties) + sizeof(pdu.value_handle); in bt_gatt_attr_read_chrc()
1975 value_len += 2U; in bt_gatt_attr_read_chrc()
1978 value_len += 16U; in bt_gatt_attr_read_chrc()
1981 return bt_gatt_attr_read(conn, attr, buf, len, offset, &pdu, value_len); in bt_gatt_attr_read_chrc()