embassy/examples
bors[bot] a58c7b60bc
Merge #1471
1471: embassy-net: Make TcpSocket::abort() async r=Dirbaio a=mkj

This lets callers ensure that the reset packet is sent to the remote host. Otherwise there isn't a way to wait for the smoltcp stack to send the reset.

Requires changes to smoltcp to wake after the reset has been sent, see https://github.com/smoltcp-rs/smoltcp/compare/master...mkj:smoltcp:abort-wake

This commit also adds a "TCP accept" demo of the problem. Without the `.await` for abort() it gets dropped before the RST packet is emitted.

Co-authored-by: Matt Johnston <matt@ucc.asn.au>
2023-05-25 14:20:04 +00:00
..
boot Bump versions preparing for -macros and -executor release 2023-04-27 11:54:22 +02:00
nrf-rtos-trace Bump versions preparing for -macros and -executor release 2023-04-27 11:54:22 +02:00
nrf5340 Bump versions preparing for -macros and -executor release 2023-04-27 11:54:22 +02:00
nrf52840 net: do not use smoltcp Instant/Duration in public API. 2023-05-15 00:53:30 +02:00
rp Switch to DMA, use new clocks, don't take ownership of pio common 2023-05-19 16:48:47 -04:00
std Add std example of a TCP listener 2023-05-25 20:43:36 +08:00
stm32c0 Bump versions preparing for -macros and -executor release 2023-04-27 11:54:22 +02:00
stm32f0 Fix some typos 2023-05-08 23:25:01 +02:00
stm32f1 stm32: move to bind_interrupts 2023-05-24 17:29:56 -05:00
stm32f2 Bump versions preparing for -macros and -executor release 2023-04-27 11:54:22 +02:00
stm32f3 stm32: move to bind_interrupts 2023-05-24 17:29:56 -05:00
stm32f4 Merge #1340 #1474 2023-05-25 00:42:10 +00:00
stm32f7 stm32: move to bind_interrupts 2023-05-24 17:29:56 -05:00
stm32g0 Bump versions preparing for -macros and -executor release 2023-04-27 11:54:22 +02:00
stm32g4 Bump versions preparing for -macros and -executor release 2023-04-27 11:54:22 +02:00
stm32h5 stm32: move to bind_interrupts 2023-05-24 17:29:56 -05:00
stm32h7 stm32: move to bind_interrupts 2023-05-24 17:29:56 -05:00
stm32l0 stm32: move to bind_interrupts 2023-05-24 17:29:56 -05:00
stm32l1 Bump versions preparing for -macros and -executor release 2023-04-27 11:54:22 +02:00
stm32l4 stm32: move to bind_interrupts 2023-05-24 17:29:56 -05:00
stm32l5 stm32: move to bind_interrupts 2023-05-24 17:29:56 -05:00
stm32u5 stm32: move to bind_interrupts 2023-05-24 17:29:56 -05:00
stm32wb stm32: move to bind_interrupts 2023-05-24 17:29:56 -05:00
stm32wl stm32: move lora to bind_interrupts 2023-05-24 18:09:04 -05:00
wasm Update Rust nightly. 2023-05-19 17:12:39 +02:00