bunnie
643e9a7d62
dns. needs more work, but it is at least minimally functional.
2021-10-20 05:18:54 +08:00
bunnie
60b0e3df87
handle the expected error from the disconnect call
...
When disconnecting from a remote server that was destroyed, we
would expect (and get) a ServerNotFound error.
2021-10-19 15:01:36 +08:00
bunnie
2885890ee2
fix typo
2021-10-19 05:06:05 +08:00
bunnie
afeae79d45
add quit opcode to Net
2021-10-19 05:02:00 +08:00
bunnie
40771fbba7
flesh out UDP API...as much as we can
...
Multicast/Broadcast is not supported by smoltcp it seems, so those
calls are just unimplemented. But we are able to clone UdpSocket,
for the sick puppies who like to do that sort of thing.
2021-10-19 04:42:06 +08:00
bunnie
0cbca7fbe1
add UDP send and test routines
2021-10-19 01:41:22 +08:00
bunnie
84a8bf05f8
re-org api so each protocol has its own file
2021-10-18 17:33:20 +08:00
bunnie
98bbe848fc
cleanup Udp Bind API
...
version for Xous internal use, and a version for integration into libstd.
2021-10-18 17:04:16 +08:00
bunnie
a8c6e8047f
simple end-to-end demo of receiving UDP packets asynchronously
2021-10-18 05:55:42 +08:00
bunnie
e6643e725d
implement UDP rx
2021-10-18 04:02:55 +08:00
bunnie
4a2445483d
scoping. I heard that's a thing in Rust.
2021-10-17 16:47:08 +08:00
bunnie
a7d8a4c1e0
clear ARP cache on DHCP renew (AP change edge case)
2021-10-17 15:29:45 +08:00
bunnie
665d7d7713
only update net config if it's changed since the last renewal
2021-10-16 00:15:23 +08:00
bunnie
f1296d0dfd
convert route table to use heap not static memory, since we have heap
2021-10-15 15:44:16 +08:00
bunnie
df9bdce6dc
fix some cosmetic issues
2021-10-13 02:03:12 +08:00
bunnie
ec34b01bd9
pings working with smoltcp (can originate and respond)
2021-10-13 01:57:00 +08:00
bunnie
b93109cad2
cleaning up net event loop, still figuring out APIs and integration
...
currently there is some issue with ARPs not sure where it's breaking,
suspect issue on EC side...
2021-10-11 05:21:01 +08:00
bunnie
26069c023a
intermediate commit trying to trace down how this receive process works.
2021-10-10 21:12:09 +08:00
bunnie
7a724a15cf
fix permissions
2021-10-10 02:26:31 +08:00
bunnie
61e21cce19
would be helpful to add the devices.rs file
2021-10-10 02:26:15 +08:00
bunnie
c8decc85c2
std::time doesn't exist, make a wrapper around Ticktimer for smoltcp
2021-10-10 02:20:01 +08:00
bunnie
74a3c6df44
disastrous first draft of figuring out how to integrate smoltcp using a ping example.
2021-10-10 01:57:31 +08:00
bunnie
560c6e4197
something packet-oid is coming out of the serial port now?
2021-10-09 02:12:12 +08:00
bunnie
b43eb56346
add some skeleton for a net crate; testing COM interrupts
2021-10-08 20:01:13 +08:00