1pub const Option = struct {
2 number: u32,
3 value: []const u8,
4};
5
6// https://datatracker.ietf.org/doc/html/rfc7252#section-5.10
7pub const IfMatch: u32 = 1;
8pub const URIHost: u32 = 3;
9pub const URIPath: u32 = 11;
A WiP CoAP implementation for bare-metal constrained devices in Zig
git clone https://git.8pit.net/zoap.git
1pub const Option = struct {
2 number: u32,
3 value: []const u8,
4};
5
6// https://datatracker.ietf.org/doc/html/rfc7252#section-5.10
7pub const IfMatch: u32 = 1;
8pub const URIHost: u32 = 3;
9pub const URIPath: u32 = 11;