Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add missing CoAP vocabulary terms #98

Merged
merged 1 commit into from
Jan 30, 2023

Conversation

JKRhb
Copy link
Contributor

@JKRhb JKRhb commented Jan 14, 2023

This PR adds the new cov:contentFormat and cov:accept fields from the latest CoAP Binding Document version.

@JKRhb JKRhb marked this pull request as ready for review January 14, 2023 23:01
@lu-zero
Copy link
Contributor

lu-zero commented Jan 30, 2023

It does look good, Somehow this PR notification got chewed by my mailer and I noticed it just today :/

@@ -62,6 +62,19 @@ pub struct Form {
pub qblockwise: Option<BlockWiseTransferParameters>,
#[serde(rename = "cov:hopLimit")]
pub hop_limit: Option<u8>,
#[serde(rename = "cov:accept")]
pub accept: Option<u16>,
#[serde(rename = "cov:contentFormat")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should mention https://www.iana.org/assignments/core-parameters/core-parameters.xhtml#content-formats somewhere, but that does not prevent the patch from landing.

@lu-zero lu-zero merged commit 57f7f0d into sifis-home:master Jan 30, 2023
@JKRhb JKRhb deleted the coap-protocol-binding branch February 21, 2023 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants