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_r332299583
##########
File path: mgmt/smp/transport/smp_shell/src/smp_shell.c
##########
@@ -23,18 +23,20 @@
#include "os/mynewt.h"
#include <shell/shell.h>
#include <mgmt/mgmt.h>
-#include <newtmgr/newtmgr.h>
+#include <mynewt_smp/smp.h>
+#include "tinycbor/cbor_mbuf_reader.h"
+#include "tinycbor/cbor_mbuf_writer.h"
-static struct nmgr_transport nmgr_shell_transport;
+static struct smp_transport g_smp_shell_transport;
static uint16_t
-nmgr_shell_get_mtu(struct os_mbuf *m)
+smp_shell_get_mtu(struct os_mbuf *m)
{
return MGMT_MAX_MTU;
}
-static int
-nmgr_shell_out(struct nmgr_transport *nt, struct os_mbuf *m)
+int
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