-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add developer documentation for CoAP adapter
Also applied small fixes to existing developer documentation.
- Loading branch information
1 parent
7ba7540
commit 8c44c45
Showing
4 changed files
with
55 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
+++ | ||
title = "Considerations for extending the CoAP Adapter" | ||
weight = 398 | ||
+++ | ||
|
||
This page provides some hints worth considering when extending the CoAP protocol adapter's functionality. | ||
|
||
## Option Numbers | ||
|
||
The CoAP adapter uses several of the standard options defined by [RFC 7252](https://www.rfc-editor.org/rfc/rfc7252.html). | ||
Unlike HTTP header fields which are simple strings, the options used in CoAP request and response messages | ||
are defined by means of integer numbers. The assignment and registration of option numbers is defined in | ||
[RFC 7252, Section 12.2](https://www.rfc-editor.org/rfc/rfc7252.html#section-12.2). In particular, the RFC reserves | ||
the number range 65000-65535 for experimental use. | ||
|
||
When adding new Hono specific options to the CoAP adapter, developers are encouraged to use numbers from the 65175-65349 | ||
range as [discussed and agreed with the Eclipse Californium project](https://github.com/eclipse-hono/hono/issues/3499#issuecomment-1602478483). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters