Stefan Gehr
b9d0069671
correct spelling of the word "receive"
2024-02-03 14:56:31 +01:00
Dario Nieuwenhuis
6a1c415a4c
Complete cargo.tomls more.
2024-01-12 00:32:47 +01:00
Dario Nieuwenhuis
22197320ff
bump embassy-time 0.3, embassy-executor 0.5, embassy-net 0.4.
2024-01-11 23:01:24 +01:00
Dario Nieuwenhuis
b452a6bcf6
Centralize license and MSRV boilerplate into the repo readme.
2024-01-11 18:18:35 +01:00
Dario Nieuwenhuis
fe0b21e21e
Remove nightly autodetects.
2024-01-10 18:32:14 +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
Scott Mabin
334900752a
update release version in examples and other crates
2023-12-04 13:15:10 +00:00
Dario Nieuwenhuis
c6989dfbca
Remove nightly and unstable-traits features in preparation for 1.75.
2023-11-29 17:26:33 +01:00
Dario Nieuwenhuis
4634316749
Update embedded-(hal,io,nal).
2023-11-29 17:01:36 +01:00
Stephan Wolski
be17e1b363
populate medium
in DriverAdapter struct in IGMP code
2023-11-19 17:11:56 -05:00
Emil Fresk
a2c440ef8c
Update changelog
2023-11-14 08:50:51 +01:00
Emil Fresk
fd670a9ae5
Use smoltcp constant in results from DNS
2023-11-14 08:50:51 +01:00
Emil Fresk
ef69f386ab
Update smoltcp and fix errors from that
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
Nigecat
a3e200d011
Fix typo in embassy-net docs
2023-11-08 09:28:33 +11: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
d941882066
Prepare embassy-net 0.2.1 and embassy-sync 0.4.0
2023-10-31 09:33:27 +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
40e4ca4751
Prepare embassy-net(/-driver,/-driver-channel) 0.2.0
2023-10-16 20:59:06 +02:00
Dario Nieuwenhuis
213b4c9dca
time: add links
key, release v0.1.5.
2023-10-16 20:11:35 +02:00
Dániel Buga
69bb455c60
Wake stack's task after queueing a DNS query
2023-10-14 13:35:53 +02:00
Dániel Buga
02d2c06b23
Release embassy-time 0.1.4
2023-10-12 18:14:33 +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
0324cee0ca
update embedded-io, embedded-nal-async.
2023-10-04 00:10:55 +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
Ulf Lilleengen
1b20ba27b1
feat: bump embassy-sync version to 0.3.0
...
Update changelog in preparation for release
2023-09-14 18:26:00 +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
Jesse Braham
1f63bf4153
Release embassy-time v0.1.3
2023-08-28 08:00:18 -07: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
Dario Nieuwenhuis
8754a1d378
Merge pull request #1779 from MabezDev/forward-capacity-impls
...
Forward capacity impls
2023-08-18 14:21:48 +00:00
Dario Nieuwenhuis
11b66a73b4
net-wiznet: rename from embassy-net-w5500.
2023-08-15 23:05:55 +02:00
Scott Mabin
c114ea024a
Add udp capacity impls
2023-08-15 15:31:23 +01:00
Scott Mabin
b1ef009c6b
Add tcp capacity impls
2023-08-15 15:31:23 +01:00
Scott Mabin
fbec797d64
embassy-net:tcp:send/recv
...
- Add async versions of smoltcp's `send` and `recv` closure based API.
2023-08-14 15:33:02 +01:00
Dario Nieuwenhuis
5d5cd23715
Update to embedded-io 0.5 ( #1752 )
2023-08-07 13:43:09 +02:00
Jan Niehusmann
33778d3772
Fix link to embassy-time in embassy-net/README.md
2023-08-02 20:13:48 +00:00
Ruben De Smet
b394cc3394
Enable IEEE802.15.4 doc building
2023-07-31 15:02:55 +02:00
Ruben De Smet
bdd59b8988
Only skip default-gateway assignment with Medium::Ip
2023-07-31 14:21:27 +02:00
Ruben De Smet
9f55228be0
Use hardware_address() for all media
2023-07-31 14:21:26 +02:00
Ruben De Smet
83ff3cbc69
Add Ip hardware address to Driver
2023-07-31 14:21:26 +02:00
Ruben De Smet
4afdce4ec5
Introduce driver::HardwareAddress without smoltcp dependency
2023-07-31 14:21:26 +02:00
Ruben De Smet
69c0a89aa5
Use HardwareAddress in Driver
2023-07-28 16:40:15 +02:00
Ruben De Smet
c3ba08ffb6
Add IEEE802.15.4 address to embassy net Stack
2023-07-28 16:22:03 +02:00
Ruben De Smet
f81ee103bf
Allow ethernet and 802.15.4 to coexist
...
Co-authored-by: Thibaut Vandervelden <thvdveld@vub.be>
2023-07-28 15:11:24 +02:00
xoviat
2cdd593290
Merge branch 'main' of https://github.com/embassy-rs/embassy into mac
2023-07-21 16:24:48 -05:00
ivmarkov
98576c17b6
Fix multicast support ( #1670 )
2023-07-18 17:35:20 +02:00
bjoernQ
6bf4717b0a
cfg-gate unapply_config_v4
2023-07-18 10:57:05 +02:00
bjoernQ
f581831b86
Make dual-stack work in embassy-net
2023-07-18 10:39:29 +02:00
xoviat
0b63af3313
wpan: prepare net impl.
2023-07-15 19:02:04 -05:00
Roy Buitenhuis
f192f44018
fmt
2023-07-12 11:32:02 +02:00
Roy Buitenhuis
b81c14f442
Add polling fn's for send_to and recv_from in UdpSocket.
2023-07-12 11:32:02 +02:00
Roy Buitenhuis
f54e1cea90
Add poll functions on UdpSocket.
2023-07-12 11:32:02 +02:00
Roy Buitenhuis
151557fec3
Re-export smoltcp::wire::IpEndpoint
2023-07-07 16:38:56 +02:00
Dario Nieuwenhuis
d137286981
Release embassy-time v0.1.2
2023-07-06 01:29:44 +02:00
Dario Nieuwenhuis
6eac49186d
Release embassy-net v0.1
2023-06-29 19:55:32 +02:00
Dániel Buga
59f829c6cc
Make StackResources::new() const
2023-06-28 15:03:57 +02:00
Dario Nieuwenhuis
715bf20c41
Update smoltcp to 0.10
2023-06-26 20:13:55 +02:00
Dario Nieuwenhuis
64cba950e5
Update smoltcp.
2023-06-26 11:43:28 +02:00
Dario Nieuwenhuis
8a1d3d5c84
Merge branch 'main' into v4-optional
2023-06-08 19:38:15 +02:00
Ruben De Smet
2455fd4dbe
net: Add documentation to new Config system
2023-06-07 13:18:19 +02:00
Ruben De Smet
352f0b6c38
net: Support dual stack IP
2023-06-07 13:18:19 +02:00
Russ Hewgill
2eb08b2dc9
updated can_recv and may_recv to match the smoltcp functions.
2023-06-06 09:49:38 -07:00
Ruben De Smet
ae1dedc059
net: proto-ipv6 in is_config_up
2023-06-06 17:58:46 +02:00
Ruben De Smet
18578fd15f
net: Allow a combined use of IPv4 and IPv6 DNS servers
2023-06-06 17:58:45 +02:00
Ruben De Smet
d7f674e410
net: Allow setting an IPv6 in the stack
2023-06-06 17:58:45 +02:00
Ruben De Smet
e871324bde
net: StaticV4 config behind proto-ipv4
2023-06-06 17:58:45 +02:00
Ruben De Smet
54bab33c73
Rename StaticConfig to StaticConfigV4
2023-06-06 17:04:21 +02:00
Ruben De Smet
44624b2d7a
Put proto-ipv4 behind a feature flag
2023-06-05 16:45:40 +02:00
Matt Johnston
b20427b2ec
net: Make flush() wait for RST packets from abort()
...
Add docs to note that dropping a TcpSocket early will
prevent the .abort() RST from being sent.
2023-05-25 20:43:36 +08:00
Dario Nieuwenhuis
9f7392474b
Update Rust nightly.
2023-05-19 17:12:39 +02:00
Dario Nieuwenhuis
d07821d851
net: document crate.
2023-05-15 00:56:09 +02:00
Dario Nieuwenhuis
62857bdb2d
net: reexport UDP PacketMetadata under the udp module.
2023-05-15 00:55:34 +02:00
Dario Nieuwenhuis
26d7610554
net: do not use smoltcp Instant/Duration in public API.
2023-05-15 00:53:30 +02:00
Dario Nieuwenhuis
2d65373f63
Remove unused feature(type_alias_impl_trait)
.
2023-05-14 23:44:53 +02:00
Roy Buitenhuis
a2ac1eed1b
Add extra feature flags to fix build without dhcp.
2023-04-18 22:11:15 +02:00
Dario Nieuwenhuis
577f060d24
Release embassy-sync v0.2.0
2023-04-13 23:40:49 +02:00