Repository: incubator-mynewt-newt Updated Branches: refs/heads/develop d7eea66d9 -> 68f5c73bb
newtmgr; add comment declaring that only 3 bits of first byte are used for opcode. Rest reserved for future TBD use. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/68f5c73b Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/68f5c73b Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/68f5c73b Branch: refs/heads/develop Commit: 68f5c73bbf2cd0892560451de8d4deb43f18db08 Parents: d7eea66 Author: Marko Kiiskila <[email protected]> Authored: Thu Jan 26 16:37:59 2017 -0800 Committer: Marko Kiiskila <[email protected]> Committed: Thu Jan 26 16:38:36 2017 -0800 ---------------------------------------------------------------------- newtmgr/protocol/nmgr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/68f5c73b/newtmgr/protocol/nmgr.go ---------------------------------------------------------------------- diff --git a/newtmgr/protocol/nmgr.go b/newtmgr/protocol/nmgr.go index 44cfc0c..bc24a34 100644 --- a/newtmgr/protocol/nmgr.go +++ b/newtmgr/protocol/nmgr.go @@ -29,7 +29,7 @@ import ( ) type NmgrReq struct { - Op uint8 + Op uint8 /* 3 bits of opcode */ Flags uint8 Len uint16 Group uint16
