You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by na...@apache.org on 2020/10/28 15:08:50 UTC
[mynewt-newtmgr] branch master updated: bll_sesn_cfg_windows: Fix
build error for windows
This is an automated email from the ASF dual-hosted git repository.
naveenkaje pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-newtmgr.git
The following commit(s) were added to refs/heads/master by this push:
new cc02b03 bll_sesn_cfg_windows: Fix build error for windows
new 60b2da7 Merge pull request #177 from nkaje/fix_windows_build_error_bll_sesn-cfg
cc02b03 is described below
commit cc02b03a1bb1992d976e50257e69b3f17cc7b6d9
Author: Naveen Kaje <na...@juul.com>
AuthorDate: Tue Oct 27 10:49:03 2020 -0500
bll_sesn_cfg_windows: Fix build error for windows
Commit 0663961c537af3cfebee51854c515917c5bff804 replaced callbacks
with interfaces (TxFilter and RxFilter). Apply the change for
the Windows specific implementation as well and fix the following
error.
C:\Users\ryan.erickson>go get github.com/apache/mynewt-mcumgr-cli/mcumgr
go\src\mynewt.apache.org\newtmgr\newtmgr\bll\bll_sesn_cfg_windows.go:35:15:
undefined: nmcoap.MsgFilter
go\src\mynewt.apache.org\newtmgr\newtmgr\bll\bll_sesn_cfg_windows.go:36:15:
undefined: nmcoap.MsgFilter
Signed-off-by: Naveen Kaje <na...@juul.com>
---
newtmgr/bll/bll_sesn_cfg_windows.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/newtmgr/bll/bll_sesn_cfg_windows.go b/newtmgr/bll/bll_sesn_cfg_windows.go
index b22c13e..da8763e 100644
--- a/newtmgr/bll/bll_sesn_cfg_windows.go
+++ b/newtmgr/bll/bll_sesn_cfg_windows.go
@@ -32,8 +32,8 @@ type BllSesnCfg struct {
MgmtProto sesn.MgmtProto
PreferredMtu int
ConnTimeout time.Duration
- TxFilterCb nmcoap.MsgFilter
- RxFilterCb nmcoap.MsgFilter
+ TxFilter nmcoap.TxMsgFilter
+ RxFilter nmcoap.RxMsgFilter
}
func NewBllSesnCfg() BllSesnCfg {