You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2017/08/16 23:17:10 UTC

[mynewt-newtmgr] 01/02: nmxact - Fix broken reassembly of OMP.

This is an automated email from the ASF dual-hosted git repository.

ccollins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-newtmgr.git

commit 356d2c6b012a2ee0edae1305334228db28f44019
Author: Christopher Collins <cc...@apache.org>
AuthorDate: Wed Aug 16 16:15:32 2017 -0700

    nmxact - Fix broken reassembly of OMP.
---
 nmxact/nmble/ble_sesn.go | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/nmxact/nmble/ble_sesn.go b/nmxact/nmble/ble_sesn.go
index a91a35a..6b916d7 100644
--- a/nmxact/nmble/ble_sesn.go
+++ b/nmxact/nmble/ble_sesn.go
@@ -167,9 +167,12 @@ func (s *BleSesn) notifyListenOnce(chrId *BleChrId,
 
 func (s *BleSesn) notifyListen() {
 	s.notifyListenOnce(s.mgmtChrs.NmpRspChr, s.txvr.DispatchNmpRsp)
-	s.notifyListenOnce(s.mgmtChrs.ResPublicRspChr, s.txvr.DispatchCoap)
 	s.notifyListenOnce(s.mgmtChrs.ResUnauthRspChr, s.txvr.DispatchCoap)
 	s.notifyListenOnce(s.mgmtChrs.ResSecureRspChr, s.txvr.DispatchCoap)
+
+	// XXX: Don't listen for public resource responses for now; characteristic
+	// may conflict with newtmgr.
+	//s.notifyListenOnce(s.mgmtChrs.ResPublicRspChr, s.txvr.DispatchCoap)
 }
 
 func (s *BleSesn) openOnce() (bool, error) {

-- 
To stop receiving notification emails like this one, please contact
"commits@mynewt.apache.org" <co...@mynewt.apache.org>.