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

gcoap_dns: Housekeeping with regards to draft status #20015

Merged
merged 2 commits into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion sys/include/net/coap.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
* Used in a CoAP request to signal that the request payload conveys both an
* EDHOC message_3 and OSCORE protected data, combined together.
*
* @see [draft-ietf-core-oscore-edhoc-02](https://datatracker.ietf.org/doc/draft-ietf-core-oscore-edhoc/02/)

Check warning on line 88 in sys/include/net/coap.h

View workflow job for this annotation

GitHub Actions / static-tests

line is longer than 100 characters
*/
#define COAP_OPT_EDHOC (21)
#define COAP_OPT_BLOCK2 (23)
Expand Down Expand Up @@ -348,7 +348,7 @@
#define COAP_FORMAT_SWID_CBOR (258)
/**
* @brief Content-Type `application/pkixcmp`
* @see [draft-ietf-ace-cmpv2-coap-transport](https://datatracker.ietf.org/doc/draft-ietf-ace-cmpv2-coap-transport/)

Check warning on line 351 in sys/include/net/coap.h

View workflow job for this annotation

GitHub Actions / static-tests

line is longer than 100 characters
* @see [RFC 4210](https://datatracker.ietf.org/doc/html/rfc4210)
*/
#define COAP_FORMAT_PKIXCMP (259)
Expand Down Expand Up @@ -435,17 +435,22 @@
#define COAP_FORMAT_YAML_DATA_CBOR_ID_NAME (341)
/**
* @brief Content-Type `application/td+json`
* @see [Web of Things (WoT) Thing Description 1.1](https://www.w3.org/TR/wot-thing-description11/)

Check warning on line 438 in sys/include/net/coap.h

View workflow job for this annotation

GitHub Actions / static-tests

line is longer than 100 characters
*/
#define COAP_FORMAT_TD_JSON (432)
/**
* @brief Content-Type `application/tm+json`
* @see [Web of Things (WoT) Thing Description 1.1](https://www.w3.org/TR/wot-thing-description11/)

Check warning on line 443 in sys/include/net/coap.h

View workflow job for this annotation

GitHub Actions / static-tests

line is longer than 100 characters
*/
#define COAP_FORMAT_TM_JSON (433)
/**
* @brief Content-Type `application/dns-message`
* @see [draft-ietf-core-dns-over-coap](https://datatracker.ietf.org/doc/draft-ietf-core-dns-over-coap/)

Check warning on line 448 in sys/include/net/coap.h

View workflow job for this annotation

GitHub Actions / static-tests

line is longer than 100 characters
*/
#define COAP_FORMAT_DNS_MESSAGE (553)
/**
* @brief Content-Type `application/voucher-cose+cbor`
* @see [draft-ietf-anima-constrained-voucher](https://datatracker.ietf.org/doc/draft-ietf-anima-constrained-voucher/)

Check warning on line 453 in sys/include/net/coap.h

View workflow job for this annotation

GitHub Actions / static-tests

line is longer than 100 characters
* @note Temporary registration until April 12, 2024.
*/
#define COAP_FORMAT_VOUCER_COSE_CBOR (836)
Expand Down Expand Up @@ -477,17 +482,17 @@
#define COAP_FORMAT_CBOR_DEFLATE (11060)
/**
* @brief Content-Type `application/vnd.oma.lwm2m+tlv`
* @see [OMA-TS-LightweightM2M-V1_0](https://www.openmobilealliance.org/release/LightweightM2M/V1_0-20170208-A/OMA-TS-LightweightM2M-V1_0-20170208-A.pdf)

Check warning on line 485 in sys/include/net/coap.h

View workflow job for this annotation

GitHub Actions / static-tests

line is longer than 100 characters
*/
#define COAP_FORMAT_VND_OMA_LWM2M_TLV (11542)
/**
* @brief Content-Type `application/vnd.oma.lwm2m+json`
* @see [OMA-TS-LightweightM2M-V1_0](https://www.openmobilealliance.org/release/LightweightM2M/V1_0-20170208-A/OMA-TS-LightweightM2M-V1_0-20170208-A.pdf)

Check warning on line 490 in sys/include/net/coap.h

View workflow job for this annotation

GitHub Actions / static-tests

line is longer than 100 characters
*/
#define COAP_FORMAT_VND_OMA_LWM2M_JSON (11543)
/**
* @brief Content-Type `application/vnd.oma.lwm2m+cbor`
* @see [OMA-TS-LightweightM2M-V1_2](https://www.openmobilealliance.org/release/LightweightM2M/V1_2-20201110-A/HTML-Version/OMA-TS-LightweightM2M_Core-V1_2-20201110-A.html)

Check warning on line 495 in sys/include/net/coap.h

View workflow job for this annotation

GitHub Actions / static-tests

line is longer than 100 characters
*/
#define COAP_FORMAT_VND_OMA_LWM2M_CBOR (11544)
/**
Expand All @@ -500,7 +505,6 @@
* @see [RFC 2318](https://www.w3.org/TR/SVG/mimereg.html)
*/
#define COAP_FORMAT_IMAGE_SVG_XML (30000)
#define COAP_FORMAT_DNS_MESSAGE (65053) /**< NON STANDARD! */
/** @} */

/**
Expand Down
2 changes: 1 addition & 1 deletion sys/include/net/gcoap/dns.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* @brief A DNS over CoAP client prototype based on gCoAP.
*
* DNS over CoAP allows a node to use a CoAP server to resolve DNS request, following
* [draft-lenders-dns-over-coap](https://datatracker.ietf.org/doc/draft-lenders-dns-over-coap/).
* [draft-ietf-core-dns-over-coap](https://datatracker.ietf.org/doc/draft-ietf-core-dns-over-coap/).
*
* The `gcoap_dns` module does not replace the @ref sock_dns_query function when built, and is not
* used as a back-end to @ref netutils_get_ipv6 automatically. It does, however, provide a drop-in
Expand Down
Loading