vrahane commented on a change in pull request #1917: Use SMP/OMP/MCUmgr, remove 
newtmgr and change OICMGR to use OMP 
URL: https://github.com/apache/mynewt-core/pull/1917#discussion_r332300145
 
 

 ##########
 File path: mgmt/oicmgr/include/oicmgr/oicmgr.h
 ##########
 @@ -40,12 +46,27 @@ int omgr_oic_process_put(oc_request_t *req, 
oc_interface_mask_t mask);
  * Parses an oicmgr request and copies out the NMP header.
  *
  * @param req                   The oicmgr request to parse.
- * @param out_hdr               On success, the extracted NMP header gets
+ * @param out_hdr               On success, the extracted MGMT header gets
  *                                  written here.
  *
  * @return                      0 on success;
  *                              MGMT_ERR_EINVAL on parse failure.
  */
-int omgr_extract_req_hdr(oc_request_t *req, struct nmgr_hdr *out_hdr);
+int omgr_extract_req_hdr(oc_request_t *req, struct mgmt_hdr *out_hdr);
+
+/**
+ * Processes a single OMP request and sends the corresponding response(s).
+ *
+ * @param req   Ptr to the OIC request
+ * @param mask  Interface mask
+ */
+void
 
 Review comment:
   done 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to