Commit graph

185 commits

Author SHA1 Message Date
Michael Watzko
0185724e6e Replace generic errors of Udp into a associative type 2019-08-01 16:28:25 +02:00
kellerkindt
37ee7bcace
Merge pull request #11 from jonahbron/update-output-pin
Removed another Error generic
2019-08-01 07:22:54 -07:00
Jonah Dahlquist
3e5610982f Removed another Error generic 2019-08-01 09:18:21 -05:00
kellerkindt
9c80427d8d
Merge pull request #10 from jonahbron/update-output-pin
Updated all dependencies, replaced deprecated v1 OutputPin
2019-08-01 07:07:26 -07:00
Jonah Dahlquist
020272b9f9 Removed more redundent generics 2019-08-01 09:06:05 -05:00
Jonah Dahlquist
e8e44413d3 Removed unnecessary generics from structs 2019-08-01 08:38:42 -05:00
Jonah Dahlquist
72c91266bd Made chip_(de)select errors propagate properly 2019-07-31 18:42:20 -05:00
Jonah Dahlquist
1d88a91e88 Updated all dependencies, replaced deprecated v1 OutputPin 2019-07-30 20:25:18 -05:00
kellerkindt
4dbc18cec2
[AVR-compatibility] Merge pull request #7 from jonahbron/master
Removed all trait objects and replaced with bound generics
2019-07-20 13:48:46 +02:00
Jonah Dahlquist
b943350acf Removed all trait objects and replaced with bound generics 2019-07-18 12:35:25 -05:00
kellerkindt
facc33c065
Merge pull request #4 from sinuss/master
use rust 1.32.0 `to_be_bytes` instead
2019-04-20 16:09:22 +02:00
Vincent Stakenburg
b784982f9e use rust 1.32.0 to_be_bytes instead 2019-04-19 13:11:44 +02:00
Michael Watzko
a1e402de7e Add SPI and CS initialisation 2019-02-17 14:30:39 +01:00
Michael Watzko
123c44b385 Re-add set_mac/ip/subnet/gateway example 2019-02-17 14:11:09 +01:00
Michael Watzko
c069211e72 GH-3: Dont require the local port in .blocking_send anymore 2019-02-12 23:27:04 +01:00
Michael Watzko
4708d31518 GH-3: Update README as well 2019-02-12 23:23:28 +01:00
Michael Watzko
1415adbae0 GH-3: Refactor to allow to state tracking of sockets, take an &mut SPI while 'activated'
The activated mode allows one to call functions without passing the SPI reference
each time, while not consuming it for the lifetime of W5500.
2019-02-12 23:09:34 +01:00
Michael Watzko
0bc4e614a3 GH-3: Clarify licensing 2019-02-12 17:25:17 +01:00
Michael Watzko
7b6957d61f Version 0.1.6 (publish removal of nightly requirement to crates.io) 2019-01-20 17:05:52 +01:00
Michael Watzko
f3e66ebd7f Remvoe unused feature requirement 2018-10-27 19:43:11 +02:00
Michael Watzko
c75f150ff2 Version 0.1.5 update keywords to include 'embedded-hal-driver' 2018-07-16 15:03:06 +02:00
Michael Watzko
56ee6a6f02 Update to latest rust / stm32f103xx-hal changes 2018-06-09 00:08:54 +02:00
Michael Watzko
54ba7a9f82 Make .init() callable 2018-04-02 01:11:08 +02:00
Michael Watzko
7728fb22be Replace function signature 'fn ..<E, S: FullDuplex<u8, Error=E>>(&mut self, spi: &mut S,...)' with 'fn ..<E>(&mut self, spi: &mut FullDuplex<u8, Error=E>,..)' add SocketRegister, ability to conf./get/set socket interrupts 2018-04-01 23:17:10 +02:00
Michael Watzko
d98200c965 Make address array publically accessible 2018-03-31 18:03:56 +02:00
Michael Watzko
6effe5c0a9 No longer consume SPI 2018-03-31 00:26:11 +02:00
Michael Watzko
5d8c907251 Use a locally administered MAC address 2018-03-29 21:22:27 +02:00
Michael Watzko
4f9a28b88a Remove set of ip, subnet and gateway (woops) 2018-03-29 21:01:38 +02:00
Michael Watzko
1a6eab88da Add README.md with example usage 2018-03-29 21:00:30 +02:00
Michael Watzko
f52b58f6e9 Set repository to the github mirror 2018-03-18 20:49:34 +01:00
Michael Watzko
9cdb8cdf15 Add gitlab mirror script 2018-03-18 20:48:15 +01:00
Michael Watzko
d9de7d39d8 Add proper toml for publicfication 2018-03-17 16:49:38 +01:00
Michael Watzko
bd2f958a8c Make sending and receiving UDP work 2018-03-11 18:39:48 +01:00
Michael Watzko
3343dc190d Add UDP listen + receive 2018-03-11 15:50:45 +01:00
Michael Watzko
f28b948dac Be able to IP, Subnet, Gateway and Mac; and send udp packets 2018-03-11 14:24:47 +01:00