[riot-notifications] [RIOT-OS/RIOT] sys/net/gcoap: allow seperate response (#16578)

Jana Eisoldt notifications at github.com
Thu Jul 1 14:10:26 CEST 2021


@Jnae commented on this pull request.



> @@ -224,6 +224,9 @@ typedef struct {
     const char *path;               /**< URI path of resource               */
     coap_method_flags_t methods;    /**< OR'ed methods this resource allows */
     coap_handler_t handler;         /**< ptr to resource handler            */
+#ifdef MODULE_GCOAP
+    uint8_t flags;                  /**< flags e.g. for separate response   */
+#endif
     void *context;                  /**< ptr to user defined context data   */
 } coap_resource_t;

Good idea, I changed it like that. I didn't do it at first because I thought it's not a coap method

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16578#discussion_r662232667
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210701/ef2a77e7/attachment.htm>


More information about the notifications mailing list