Home
last modified time | relevance | path

Searched refs:value_len (Results 1 – 9 of 9) sorted by relevance

/Zephyr-Core-3.5.0/tests/bluetooth/audio/mocks/src/
Dgatt.c233 const void *value, uint16_t value_len) in bt_gatt_attr_read() argument
237 if (offset > value_len) { in bt_gatt_attr_read()
241 len = MIN(buf_len, value_len - offset); in bt_gatt_attr_read()
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/
Dcodec.c182 const uint8_t value_len = *len - sizeof(data_type); in bt_audio_codec_cfg_set_val() local
187 if (data_len == value_len) { in bt_audio_codec_cfg_set_val()
190 const int16_t diff = data_len - value_len; in bt_audio_codec_cfg_set_val()
196 if (value + value_len == codec_cfg->data + codec_cfg->data_len) { in bt_audio_codec_cfg_set_val()
199 old_next_data_start = value + value_len + 1; in bt_audio_codec_cfg_set_val()
243 i += value_len; in bt_audio_codec_cfg_set_val()
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/shell/
Daudio.h297 const uint8_t value_len = len - sizeof(type); in codec_set_chan_alloc() local
306 i += value_len; in codec_set_chan_alloc()
/Zephyr-Core-3.5.0/subsys/bluetooth/shell/
Dgatt.c1108 uint16_t value_len; in read_met() local
1110 value_len = MIN(strlen(value), BT_ATT_MAX_ATTRIBUTE_LEN); in read_met()
1113 value_len); in read_met()
/Zephyr-Core-3.5.0/subsys/bluetooth/host/
Dgatt.c1743 const void *value, uint16_t value_len) in bt_gatt_attr_read() argument
1747 if (offset > value_len) { in bt_gatt_attr_read()
1751 len = MIN(buf_len, value_len - offset); in bt_gatt_attr_read()
1837 uint8_t value_len; in bt_gatt_attr_read_included() local
1841 value_len = sizeof(pdu.start_handle) + sizeof(pdu.end_handle); in bt_gatt_attr_read_included()
1850 value_len += sizeof(pdu.uuid16); in bt_gatt_attr_read_included()
1856 return bt_gatt_attr_read(conn, attr, buf, len, offset, &pdu, value_len); in bt_gatt_attr_read_included()
1891 uint8_t value_len; in bt_gatt_attr_read_chrc() local
1903 value_len = sizeof(pdu.properties) + sizeof(pdu.value_handle); in bt_gatt_attr_read_chrc()
1907 value_len += 2U; in bt_gatt_attr_read_chrc()
[all …]
Drfcomm.c1123 uint8_t value_len = buf->len - 1; in rfcomm_handle_rpn() local
1132 if (value_len == sizeof(*rpn)) { in rfcomm_handle_rpn()
1139 if (value_len != 1U) { in rfcomm_handle_rpn()
Datt.c1152 uint8_t value_len; member
1215 if (read != data->value_len) { in find_type_cb()
1220 if (!bt_uuid_create(&recvd_uuid.uuid, data->value, data->value_len)) { in find_type_cb()
1221 LOG_WRN("Unable to create UUID: size %u", data->value_len); in find_type_cb()
1253 uint8_t value_len) in att_find_type_rsp() argument
1267 data.value_len = value_len; in att_find_type_rsp()
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/audio/src/
Dcap_initiator_unicast_test.c1022 uint8_t value_len; in set_chan_alloc() local
1033 value_len = len - sizeof(type); in set_chan_alloc()
1046 i += value_len; in set_chan_alloc()
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/
Dgatt.h543 const void *value, uint16_t value_len);