[riot-notifications] [RIOT-OS/RIOT] net: add CoRE RD lookup client implementation (#10222)

Ken Bannister notifications at github.com
Mon Apr 1 03:31:46 CEST 2019

kb2ma commented on this pull request.

> +int cord_lc_rd_init(cord_lc_rd_t *rd, const sock_udp_ep_t *remote);
+ * @brief Raw lookup for registered resources at a RD server
+ *
+ * @param[in]  rd               the target RD server
+ * @param[in]  content_format   data format wanted from RD server
+ * @param[out] result           buffer holding the raw response
+ * @param[in]  maxlen           max length of @p result
+ *
+ * @return length of result on success
+ * @return CORD_LC_NORSC if there is no resource lookup interface at @p rd
+ * @return CORD_LC_TIMEOUT if lookup timed out
+ * @return CORD_LC_ERR on any other internal error
+ */
+ssize_t cord_lc_res_raw(const cord_lc_rd_t *rd, uint8_t content_format,

An array of `clif_param_t` parameter structs from #11189 could be used as the input filter.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190331/25276f4a/attachment-0001.html>

More information about the notifications mailing list