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
net: lib: coap: Service support #64265
Merged
Merged
Conversation
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
pdgendt
requested review from
nashif,
rlubos,
tbursztyka,
jukkar,
dcpleung and
andyross
as code owners
October 23, 2023 15:11
zephyrbot
added
area: Samples
Samples
area: Sockets
Networking sockets
area: Networking
labels
Oct 23, 2023
pdgendt
force-pushed
the
coap-service
branch
2 times, most recently
from
October 24, 2023 06:26
eeaaa9a
to
d4382e3
Compare
jukkar
reviewed
Oct 24, 2023
pdgendt
force-pushed
the
coap-service
branch
4 times, most recently
from
October 24, 2023 09:11
53a4089
to
a99c48c
Compare
rlubos
reviewed
Oct 24, 2023
pdgendt
force-pushed
the
coap-service
branch
5 times, most recently
from
October 24, 2023 11:59
02e9ce9
to
04757c7
Compare
jukkar
reviewed
Oct 24, 2023
rlubos
previously approved these changes
Oct 25, 2023
kartben
previously approved these changes
Nov 8, 2023
cfriedt
reviewed
Nov 8, 2023
Fixed a typo to include DOXYGEN generated documentation. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Add length variant for the well known core resource and parsing. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Add URI path matching function to public CoAP API. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Add function to check if CoAP packet is a request to the public API. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Add a CoAP helper function to find a matching observer by token. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Change coap_remove_observer to return the result of removing the observer if found. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit adds the option to register an event handler to CoAP resources when observers are added/removed. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Add CoAP services and server as a subsystem implementation. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Add shell commands that allow to start/stop CoAP services. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Add a test for CoAP macro usage. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Replaced the CoAP server example with CoAP services. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Created a dedicated page for CoAP service and resource examples. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
The CoAP documentation has server/clients sample usages, added a note about the available subsystems that can be used instead. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Add a note to the 3.6 migration guide about the CoAP API changes introduced with the CoAP server subsystem. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
cfriedt
approved these changes
Nov 8, 2023
rlubos
approved these changes
Nov 9, 2023
jukkar
approved these changes
Nov 9, 2023
Desvauxm-st
added a commit
to Desvauxm-st/zephyr
that referenced
this pull request
Nov 29, 2023
due to this PR: net: lib: coap: Service support zephyrproject-rtos#64265 we exclude : nucleo_f207zg, nucleo_f429zi, nucleo_f746zg, nucleo_h743zi stm32h573i_dk ,stm32h735g_disco, nucleo_f207zg Signed-off-by: Marc Desvaux <marc.desvaux-ext@st.com>
Desvauxm-st
added a commit
to Desvauxm-st/zephyr
that referenced
this pull request
Nov 29, 2023
due to this PR: net: lib: coap: Service support zephyrproject-rtos#64265 we exclude : nucleo_f207zg, nucleo_f429zi, nucleo_f746zg, nucleo_h743zi stm32h573i_dk ,stm32h735g_disco, nucleo_f207zg Signed-off-by: Marc Desvaux <marc.desvaux-ext@st.com>
Desvauxm-st
added a commit
to Desvauxm-st/zephyr
that referenced
this pull request
Nov 29, 2023
due to this PR: net: lib: coap: Service support zephyrproject-rtos#64265 we exclude : nucleo_f207zg, nucleo_f429zi, nucleo_f746zg, nucleo_h743zi stm32h573i_dk ,stm32h735g_disco, nucleo_f207zg Signed-off-by: Marc Desvaux <marc.desvaux-ext@st.com>
Desvauxm-st
added a commit
to Desvauxm-st/zephyr
that referenced
this pull request
Nov 29, 2023
due to this PR: net: lib: coap: Service support zephyrproject-rtos#64265 we add harness: coap Signed-off-by: Marc Desvaux <marc.desvaux-ext@st.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: Networking
area: Samples
Samples
area: Sockets
Networking sockets
Release Notes
To be mentioned in the release notes
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces CoAP services (similar to HTTP services) and a CoAP server implementation.
Note: the CoAP Server sample was copied as everything remains backwards compatible.If this isn't desired it can be removed in favor of CoAP services.