Home
last modified time | relevance | path

Searched refs:mtu_size (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/
Dsmp_bt.c453 uint16_t mtu_size; in smp_bt_tx_pkt() local
486 mtu_size = smp_bt_get_mtu(nb); in smp_bt_tx_pkt()
488 if (mtu_size == 0U) { in smp_bt_tx_pkt()
516 if ((off + mtu_size) > nb->len) { in smp_bt_tx_pkt()
518 mtu_size = nb->len - off; in smp_bt_tx_pkt()
521 notify_param.len = mtu_size; in smp_bt_tx_pkt()
531 if (mtu_size < SMP_BT_MINIMUM_MTU_SEND_FAILURE) { in smp_bt_tx_pkt()
539 mtu_size /= 2; in smp_bt_tx_pkt()
548 off += mtu_size; in smp_bt_tx_pkt()
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dblob_cli.h97 uint16_t mtu_size; member
156 uint16_t mtu_size; member
319 uint16_t mtu_size; member
Dblob_srv.h147 uint16_t mtu_size; member
/Zephyr-latest/subsys/logging/backends/
Dlog_backend_ble.c119 const uint16_t mtu_size = bt_gatt_get_mtu(ble_backend_conn); in line_out() local
120 const uint16_t attr_data_len = mtu_size - ATT_NOTIFY_SIZE; in line_out()
/Zephyr-latest/subsys/bluetooth/mesh/
Dblob_srv.c55 return MIN((srv->state.mtu_size - 2 - BT_MESH_MODEL_OP_LEN(BT_MESH_BLOB_OP_CHUNK)), in max_chunk_size()
61 return MIN(8 * (srv->state.mtu_size - 6), in max_chunk_count()
343 net_buf_simple_add_le16(&buf, srv->state.mtu_size); in xfer_status_rsp()
447 uint16_t mtu_size; in handle_xfer_start() local
454 mtu_size = net_buf_simple_pull_le16(buf); in handle_xfer_start()
457 size, (1U << block_size_log), mtu_size, in handle_xfer_start()
486 srv->state.mtu_size > mtu_size) { in handle_xfer_start()
518 srv->state.mtu_size = MIN(mtu_size, MTU_SIZE_MAX); in handle_xfer_start()
Dblob_cli.c329 cli->caps.mtu_size = MIN(cli->caps.mtu_size, in->mtu_size); in caps_adjust()
1227 info.mtu_size = net_buf_simple_pull_le16(buf); in handle_xfer_status()
1420 caps.mtu_size = net_buf_simple_pull_le16(buf); in handle_info_status()
1427 caps.max_size == 0 || caps.mtu_size < 0x14) { in handle_info_status()
1435 caps.mtu_size, caps.modes); in handle_info_status()
1501 cli->caps.mtu_size = 0xffff; in bt_mesh_blob_cli_caps_get()
/Zephyr-latest/subsys/bluetooth/audio/
Dhas.c753 const uint16_t mtu_size = bt_gatt_get_mtu(client->conn); in control_point_send() local
757 if (mtu_size < pdu_size) { in control_point_send()
758 LOG_WRN("Sending truncated control point PDU %d < %d", mtu_size, pdu_size); in control_point_send()
759 buf->len -= (pdu_size - mtu_size); in control_point_send()
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Dblob.c116 shell_print(bt_mesh_shell_ctx_shell, "\tMTU size: %u", caps->mtu_size); in blob_cli_caps()
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_blob.c147 ASSERT_EQUAL(caps->mtu_size, BT_MESH_RX_SDU_MAX - BT_MESH_MIC_SHORT); in blob_cli_caps()
1528 ASSERT_EQUAL(BT_MESH_RX_SDU_MAX - BT_MESH_MIC_SHORT, blob_srv.state.mtu_size); in srv_check_reboot_and_continue()
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_mesh.c333 LOG_DBG("\tMTU size: %u", caps->mtu_size); in blob_cli_caps()