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/04 21:41:11 UTC
[mynewt-newtmgr] 02/05: nmxact - Remove debug code.
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 7e8da92abe783780bd1b0071227729997acdb0cc
Author: Christopher Collins <cc...@apache.org>
AuthorDate: Fri Aug 4 14:40:18 2017 -0700
nmxact - Remove debug code.
---
nmxact/nmble/ble_util.go | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/nmxact/nmble/ble_util.go b/nmxact/nmble/ble_util.go
index b620d78..5b8452e 100644
--- a/nmxact/nmble/ble_util.go
+++ b/nmxact/nmble/ble_util.go
@@ -714,23 +714,6 @@ func GenCoapService(x *BleXport, svcUuid BleUuid, reqChrUuid BleUuid,
return svc, nil
}
-func GwService(x *BleXport) (BleSvc, error) {
- svcUuid, _ := ParseUuid(UnauthSvcUuid)
- reqChrUuid, _ := ParseUuid(UnauthReqChrUuid)
- rspChrUuid, _ := ParseUuid(UnauthRspChrUuid)
-
- resources := []oic.Resource{
- oic.Resource{
- Name: "mynewt.yourmom",
- ReadCb: func(uri string, data []byte) (coap.COAPCode, []byte) {
- return coap.Content, []byte{1, 2, 3, 4}
- },
- },
- }
-
- return GenCoapService(x, svcUuid, reqChrUuid, rspChrUuid, resources)
-}
-
func ResChrIdLookup(mgmtChrs BleMgmtChrs, resType sesn.ResourceType) *BleChrId {
m := map[sesn.ResourceType]*BleChrId{
sesn.RES_TYPE_PUBLIC: mgmtChrs.ResPublicReqChr,
--
To stop receiving notification emails like this one, please contact
"commits@mynewt.apache.org" <co...@mynewt.apache.org>.