w5500-mqtt

MQTT v5 client for the [Wiznet W5500] SPI internet offload chip.

Limitations

This is very basic at the moment, and will be expanded in the future.

Example

```rust use w5500mqtt::{ ll::{ net::{Ipv4Addr, SocketAddrV4}, Sn, }, Client, ClientId, Event, DSTPORT, SRC_PORT, };

let mut client: Client = Client::new( Sn::Sn2, SRCPORT, SocketAddrV4::new(Ipv4Addr::new(192, 168, 5, 6), DSTPORT), );

// wait for a connection or die trying while !matches!(client.process(&mut w5500, monotonic_secs())?, Event::None) {}

// publish to "duck" with a payload "quack" client.publish(&mut w5500, "duck", b"quack")?;

// subscribe to "cow" client.subscribe(&mut w5500, "cow")?; ```

Relevant Specifications

Feature Flags

All features are disabled by default.