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

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

commit cc02b03a1bb1992d976e50257e69b3f17cc7b6d9
Author: Naveen Kaje <[email protected]>
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 <[email protected]>
---
 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 {

Reply via email to