Dario Nieuwenhuis
5732ee7ca9
Reduce use of the full futures
crate.
2024-04-26 23:22:25 +02:00
chrysn
49435f79b3
fixup! net/udp: Relay full UdpMetadata instead of only remote endpoint in poll_ functions
2024-04-19 15:54:56 +02:00
chrysn
2c7c39d1db
fixup! net/udp: Relay full UdpMetadata instead of only remote endpoint in poll_ functions
2024-04-19 15:51:27 +02:00
chrysn
e6bf6c7a49
Merge branch 'main' into prep-embedded-nal-async-udp
2024-04-19 15:22:57 +02:00
chrysn
8fe88847d8
fixup! net/udp: Relay full UdpMetadata instead of only remote endpoint in poll_ functions
2024-04-15 10:02:35 +02:00
Gustav Toft
b578d3e645
Removed generic type parameter.
2024-04-11 10:34:17 +02:00
Gustav Toft
ec0896037a
Removed Result for send and poll_send.
2024-04-11 08:29:06 +02:00
Gustav Toft
6663be0b36
Fixed commented issues.
2024-04-10 09:07:20 +02:00
chrysn
7f1bedcee0
net/udp: Relay full UdpMetadata instead of only remote endpoint in poll_ functions
...
This is a breaking change for users of the poll_ functions. (Some might
not notice if they already pass in an IpEndpoint into poll_send_to, or
discard that item in poll_recv_from).
2024-04-08 11:59:21 +02:00
Gustav Toft
a373633d0d
Merge branch 'main' of https://github.com/GustavToft/embassy
2024-04-04 15:52:44 +02:00
Gustav Toft
0427c442ea
Implement raw sockets in embassy-net
2024-04-04 15:51:25 +02:00
Dario Nieuwenhuis
3d842dac85
fmt: disable "unused" warnings.
2024-03-20 14:53:19 +01:00
Dario Nieuwenhuis
250cfa5f5f
net/tcp: fix flush() not waiting for ACK of FIN.
2024-02-21 21:13:10 +01:00
Stefan Gehr
b9d0069671
correct spelling of the word "receive"
2024-02-03 14:56:31 +01:00
Dario Nieuwenhuis
01b0af5a84
net: add packet-trace feature.
2024-01-10 14:06:15 +01:00
Scott Mabin
f85898771b
New embassy-net release
2024-01-04 16:06:59 +00:00
swanandx
4a59fbdedc
feat: impl ReadReady and WriteReady for tcp
2024-01-03 18:17:04 +05:30
Loïc Damien
d32fe0ccdc
Add set_hop_limit to UDP sockets
2023-12-28 22:15:16 +01:00
Dario Nieuwenhuis
f625f6b893
Upgrade to smoltcp v0.11.
2023-12-23 21:05:26 +01:00
Barnaby Walters
d63590cb61
[embassy-net] Auto-documented feature flags
2023-12-22 23:20:43 +01:00
Ulf Lilleengen
0acf7b09c3
chore: replace make_static! macro usage with non-macro version
2023-12-21 10:29:57 +01:00
Dario Nieuwenhuis
c6989dfbca
Remove nightly and unstable-traits features in preparation for 1.75.
2023-11-29 17:26:33 +01:00
Stephan Wolski
be17e1b363
populate medium
in DriverAdapter struct in IGMP code
2023-11-19 17:11:56 -05:00
Emil Fresk
fd670a9ae5
Use smoltcp constant in results from DNS
2023-11-14 08:50:51 +01:00
Dario Nieuwenhuis
4647df14b1
Update heapless to v0.8, embedded-nal-async to v0.7
2023-11-10 16:43:53 +01:00
Dániel Buga
15660cfc68
Ensure TcpIo not blocking when reading into empty slice
2023-11-06 09:12:16 +01:00
Dániel Buga
ad07ea0290
Re-add impl_trait_projections
2023-10-30 19:10:45 +01:00
Gabriel Górski
18c9bcd44a
net: Reset DHCP socket when the link up is detected
...
Previously, because DHCP DISCOVER is sent before the link is
established, socket has to timeout first. Which takes extra 10 s.
Now if the state of the link changed to up, socket is explicitly reset
so the DISCOVER is repeated much earlier and DHCP configuration is
acquired much faster.
2023-10-23 11:07:21 +02:00
Dario Nieuwenhuis
3cbc687424
net/driver: remove Medium, make HardwareAddress non_exhaustive.
2023-10-18 05:28:16 +02:00
Dániel Buga
69bb455c60
Wake stack's task after queueing a DNS query
2023-10-14 13:35:53 +02:00
Dario Nieuwenhuis
32b89eeba1
net: remove atomic-polyfill.
2023-10-12 02:07:26 +02:00
Dario Nieuwenhuis
534eb960e9
net: add support for dhcp hostname option.
2023-10-07 01:33:21 +02:00
Ulf Lilleengen
65ed19aae2
Merge pull request #2014 from bugadani/udp
...
Reexport IpListenEndpoint for TCP
2023-10-05 16:13:10 +00:00
Dániel Buga
be9c05fbc9
Reexport IpListenEndpoint for TCP
2023-10-05 17:02:25 +02:00
Dario Nieuwenhuis
eb12114345
Remove impl_trait_projections.
2023-10-02 14:00:49 +02:00
Dario Nieuwenhuis
901f0257bd
net: allow non-'static drivers.
2023-09-28 03:47:14 +02:00
Polly
7bcc7e8962
Fix doc typo
2023-09-14 16:08:37 +02:00
JuliDi
d6a1b567ee
add SocketNotBound error message
2023-09-10 20:13:56 +02:00
Julian
0e9131fd14
yield -> return
...
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
2023-09-09 12:36:57 +02:00
JuliDi
40a18b075d
improve docstring
2023-09-09 09:50:24 +02:00
JuliDi
3e0b752bef
fix poll_fn, add documentation
2023-09-08 17:26:01 +02:00
JuliDi
6070d61d8c
fix typos
2023-09-08 15:59:46 +02:00
JuliDi
a4f8d82ef5
wait_config_up first steps
2023-09-08 15:58:47 +02:00
Dario Nieuwenhuis
9baa3bafb0
Merge pull request #1854 from bugadani/str
...
embassy-{net, sync, time}: Use fmt::unwrap
2023-09-03 00:35:21 +02:00
Dániel Buga
0c66636d00
Use fmt::unwrap
2023-09-02 08:39:52 +02:00
Dario Nieuwenhuis
5e613d9abb
Sync all fmt.rs files.
2023-08-30 01:37:18 +02:00
Dario Nieuwenhuis
b5748524f8
net: improve error message on unsupported medium.
2023-08-25 20:45:23 +02:00
Dario Nieuwenhuis
cc8961034e
net: allow changing IP config at runtime.
2023-08-25 20:26:46 +02:00
Dario Nieuwenhuis
7b3cb2ce04
Merge pull request #1802 from avlec/error-translation
...
Add error translation to tcp errors
2023-08-18 21:58:27 +00:00
Alec Cox
eb05a18c45
add error translation to tcp errors
...
Translation of tpc client ConnectError and Error to the appropriate
embedded_io_async errors
2023-08-18 14:43:44 -07:00