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

net/coap: deprecate gcoap_add_qstring() and update uses #13240

Merged
merged 2 commits into from
Mar 13, 2020
Merged
Changes from 1 commit
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
Next Next commit
net/gcoap: deprecate gcoap_add_qstring()
Use Packet API function coap_opt_add_uquery() instead.
  • Loading branch information
kb2ma committed Jan 30, 2020
commit 6ab7fab40a79a2966e79d8b5254ee0c770c9d378
3 changes: 3 additions & 0 deletions sys/include/net/gcoap.h
Original file line number Diff line number Diff line change
Expand Up @@ -921,6 +921,9 @@ ssize_t gcoap_encode_link(const coap_resource_t *resource, char *buf,
* To add multiple Uri-Query options, simply call this function multiple times.
* The Uri-Query options will be added in the order those calls.
*
* @deprecated Will not be available after the 2020.10 release. Use
* coap_opt_add_uquery() instead.
*
* @param[out] pdu The package that is being build
* @param[in] key Key to add to the query string
* @param[in] val Value to assign to @p key (may be NULL)
Expand Down