zephyr/samples
Michael Scott 2c7e420a8e samples: net: echo_client: handle net if mtu
UDP portion of the echo_client sends 1 packet with the sample data.
(TCP can send chunks of it depending on the response of the send()
function.)  Not every network interface can send a UDP packet large
enough to handle the size of the sample data.

Let's make sure to account for the network interface MTU when deciding
the amount of sample data to send.

Fixes: https://github.com/zephyrproject-rtos/zephyr/issues/22447

Signed-off-by: Michael Scott <mike@foundries.io>
2020-02-05 15:54:57 +02:00
..
application_development
basic
bluetooth Samples: Bluetooth: st_ble_demo: Update to new GPIO API 2020-02-05 12:00:36 +01:00
boards samples: boards: nrf: update battery sample for new GPIO API 2020-02-05 12:00:36 +01:00
cpp_synchronization
display
drivers samples: drivers: espi: update to new GPIO API 2020-02-05 12:00:36 +01:00
hello_world
mpu
net samples: net: echo_client: handle net if mtu 2020-02-05 15:54:57 +02:00
nfc/nfc_hello
philosophers
portability
posix
sensor drivers: sensor: mpu6050: convert to new GPIO API 2020-02-05 12:00:36 +01:00
shields
smp
subsys samples: canbus: convert to new GPIO API 2020-02-05 12:00:36 +01:00
synchronization
testing/integration
userspace
video
classic.rst
index.rst