[mynewt-newtmgr] 01/01: Merge pull request #20 from ccollins476ad/post-delete
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 b90bb972719029492d42dcbdd848b9b5bf0cc779 Merge: 41411a3 284dee5 Author: ccollins476ad AuthorDate: Wed Aug 16 17:25:13 2017 -0700 Merge pull request #20 from ccollins476ad/post-delete Post delete newtmgr/Godeps/Godeps.json | 56 +++--- newtmgr/bll/bll_sesn.go| 42 +--- .../newtmgr/nmxact/mgmt/transceiver.go | 22 ++- .../newtmgr/nmxact/nmble/ble_sesn.go | 57 ++ .../newtmgr/nmxact/nmserial/serial_oic_sesn.go | 192 --- .../newtmgr/nmxact/nmserial/serial_plain_sesn.go | 171 - .../newtmgr/nmxact/nmserial/serial_sesn.go | 166 .../newtmgr/nmxact/nmserial/serial_xport.go| 11 +- .../newtmgr/nmxact/oic/dispatch.go | 2 +- .../mynewt.apache.org/newtmgr/nmxact/oic/oic.go| 43 +++-- .../newtmgr/nmxact/omp/dispatch.go | 16 +- .../mynewt.apache.org/newtmgr/nmxact/omp/omp.go| 37 ++-- .../mynewt.apache.org/newtmgr/nmxact/sesn/sesn.go | 7 +- .../newtmgr/nmxact/sesn/sesn_util.go | 102 -- .../newtmgr/nmxact/udp/udp_oic_sesn.go | 211 - .../newtmgr/nmxact/udp/udp_plain_sesn.go | 148 --- .../newtmgr/nmxact/udp/udp_sesn.go | 143 ++ .../newtmgr/nmxact/udp/udp_xport.go| 11 +- .../mynewt.apache.org/newtmgr/nmxact/xact/res.go | 2 +- nmxact/example/ble_scan/ble_scan.go| 2 +- nmxact/mgmt/transceiver.go | 22 ++- nmxact/nmble/ble_sesn.go | 57 ++ nmxact/nmserial/serial_oic_sesn.go | 192 --- nmxact/nmserial/serial_plain_sesn.go | 171 - nmxact/nmserial/serial_sesn.go | 166 nmxact/nmserial/serial_xport.go| 11 +- nmxact/oic/dispatch.go | 2 +- nmxact/oic/oic.go | 43 +++-- nmxact/omp/dispatch.go | 16 +- nmxact/omp/omp.go | 37 ++-- nmxact/sesn/sesn.go| 7 +- nmxact/sesn/sesn_util.go | 102 -- nmxact/udp/udp_oic_sesn.go | 211 - nmxact/udp/udp_plain_sesn.go | 148 --- nmxact/udp/udp_sesn.go | 143 ++ nmxact/udp/udp_xport.go| 11 +- nmxact/xact/res.go | 2 +- 37 files changed, 1009 insertions(+), 1773 deletions(-) -- To stop receiving notification emails like this one, please contact "commits@mynewt.apache.org" .
[GitHub] ccollins476ad closed pull request #20: Post delete
ccollins476ad closed pull request #20: Post delete URL: https://github.com/apache/mynewt-newtmgr/pull/20 This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[mynewt-newtmgr] branch master updated (41411a3 -> b90bb97)
This is an automated email from the ASF dual-hosted git repository. ccollins pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-newtmgr.git. from 41411a3 newtmgr - revendor add 3dc2603 nmxact - Remove code duplication. add ece2e39 nmxact - Support for CoAP POST and DELETE. add b409cff nmxact - Fix CoAP over datagram transports add 6f179fa nmxact - Fix Go routine leak; OIC listener. add 284dee5 newtmgr - revendor new b90bb97 Merge pull request #20 from ccollins476ad/post-delete The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: newtmgr/Godeps/Godeps.json | 56 +++--- newtmgr/bll/bll_sesn.go| 42 +--- .../newtmgr/nmxact/mgmt/transceiver.go | 22 ++- .../newtmgr/nmxact/nmble/ble_sesn.go | 57 ++ .../newtmgr/nmxact/nmserial/serial_oic_sesn.go | 192 --- .../newtmgr/nmxact/nmserial/serial_plain_sesn.go | 171 - .../newtmgr/nmxact/nmserial/serial_sesn.go | 166 .../newtmgr/nmxact/nmserial/serial_xport.go| 11 +- .../newtmgr/nmxact/oic/dispatch.go | 2 +- .../mynewt.apache.org/newtmgr/nmxact/oic/oic.go| 43 +++-- .../newtmgr/nmxact/omp/dispatch.go | 16 +- .../mynewt.apache.org/newtmgr/nmxact/omp/omp.go| 37 ++-- .../mynewt.apache.org/newtmgr/nmxact/sesn/sesn.go | 7 +- .../newtmgr/nmxact/sesn/sesn_util.go | 102 -- .../newtmgr/nmxact/udp/udp_oic_sesn.go | 211 - .../newtmgr/nmxact/udp/udp_plain_sesn.go | 148 --- .../newtmgr/nmxact/udp/udp_sesn.go | 143 ++ .../newtmgr/nmxact/udp/udp_xport.go| 11 +- .../mynewt.apache.org/newtmgr/nmxact/xact/res.go | 2 +- nmxact/example/ble_scan/ble_scan.go| 2 +- nmxact/mgmt/transceiver.go | 22 ++- nmxact/nmble/ble_sesn.go | 57 ++ nmxact/nmserial/serial_oic_sesn.go | 192 --- nmxact/nmserial/serial_plain_sesn.go | 171 - nmxact/nmserial/serial_sesn.go | 166 nmxact/nmserial/serial_xport.go| 11 +- nmxact/oic/dispatch.go | 2 +- nmxact/oic/oic.go | 43 +++-- nmxact/omp/dispatch.go | 16 +- nmxact/omp/omp.go | 37 ++-- nmxact/sesn/sesn.go| 7 +- nmxact/sesn/sesn_util.go | 102 -- nmxact/udp/udp_oic_sesn.go | 211 - nmxact/udp/udp_plain_sesn.go | 148 --- nmxact/udp/udp_sesn.go | 143 ++ nmxact/udp/udp_xport.go| 11 +- nmxact/xact/res.go | 2 +- 37 files changed, 1009 insertions(+), 1773 deletions(-) delete mode 100644 newtmgr/vendor/mynewt.apache.org/newtmgr/nmxact/nmserial/serial_oic_sesn.go delete mode 100644 newtmgr/vendor/mynewt.apache.org/newtmgr/nmxact/nmserial/serial_plain_sesn.go create mode 100644 newtmgr/vendor/mynewt.apache.org/newtmgr/nmxact/nmserial/serial_sesn.go delete mode 100644 newtmgr/vendor/mynewt.apache.org/newtmgr/nmxact/udp/udp_oic_sesn.go delete mode 100644 newtmgr/vendor/mynewt.apache.org/newtmgr/nmxact/udp/udp_plain_sesn.go create mode 100644 newtmgr/vendor/mynewt.apache.org/newtmgr/nmxact/udp/udp_sesn.go delete mode 100644 nmxact/nmserial/serial_oic_sesn.go delete mode 100644 nmxact/nmserial/serial_plain_sesn.go create mode 100644 nmxact/nmserial/serial_sesn.go delete mode 100644 nmxact/udp/udp_oic_sesn.go delete mode 100644 nmxact/udp/udp_plain_sesn.go create mode 100644 nmxact/udp/udp_sesn.go -- To stop receiving notification emails like this one, please contact ['"commits@mynewt.apache.org" '].
[GitHub] InternetofAwesome opened a new pull request #492: [wip - don't merge] Fix/rc timer
InternetofAwesome opened a new pull request #492: [wip - don't merge] Fix/rc timer URL: https://github.com/apache/mynewt-core/pull/492 This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[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 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" .
[mynewt-newtmgr] branch master updated (ea22442 -> 41411a3)
This is an automated email from the ASF dual-hosted git repository. ccollins pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-newtmgr.git. from ea22442 Merge pull request #19 from mkiiskila/master new 356d2c6 nmxact - Fix broken reassembly of OMP. new 41411a3 newtmgr - revendor The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: newtmgr/Godeps/Godeps.json | 111 +- .../vendor/github.com/Sirupsen/logrus/.travis.yml | 13 +- .../vendor/github.com/Sirupsen/logrus/CHANGELOG.md | 19 + .../vendor/github.com/Sirupsen/logrus/README.md| 91 +- .../vendor/github.com/Sirupsen/logrus/alt_exit.go |2 +- newtmgr/vendor/github.com/Sirupsen/logrus/doc.go |4 +- newtmgr/vendor/github.com/Sirupsen/logrus/entry.go | 37 +- .../vendor/github.com/Sirupsen/logrus/exported.go |4 +- .../github.com/Sirupsen/logrus/json_formatter.go |4 +- .../vendor/github.com/Sirupsen/logrus/logger.go| 53 +- .../vendor/github.com/Sirupsen/logrus/logrus.go|2 +- .../github.com/Sirupsen/logrus/terminal_windows.go | 49 + .../github.com/Sirupsen/logrus/text_formatter.go | 41 +- .../vendor/github.com/Sirupsen/logrus/writer.go| 29 +- .../vendor/github.com/fatih/structs/.travis.yml|1 + .../mattn/go-colorable/colorable_windows.go| 26 +- .../github.com/mitchellh/go-homedir/homedir.go |9 +- .../github.com/mitchellh/mapstructure/.travis.yml |2 +- .../mitchellh/mapstructure/decode_hooks.go | 14 +- .../mitchellh/mapstructure/mapstructure.go | 11 +- newtmgr/vendor/github.com/pkg/errors/.travis.yml |9 +- newtmgr/vendor/github.com/pkg/errors/stack.go |8 + newtmgr/vendor/github.com/spf13/cast/cast.go |6 + newtmgr/vendor/github.com/spf13/cast/caste.go | 29 + newtmgr/vendor/github.com/spf13/cobra/.travis.yml |6 +- newtmgr/vendor/github.com/spf13/cobra/README.md| 179 +- newtmgr/vendor/github.com/spf13/cobra/args.go | 98 + .../github.com/spf13/cobra/bash_completions.go | 276 +- .../github.com/spf13/cobra/bash_completions.md |2 +- newtmgr/vendor/github.com/spf13/cobra/cobra.go | 30 +- newtmgr/vendor/github.com/spf13/cobra/command.go | 613 ++-- .../vendor/github.com/spf13/cobra/command_win.go |8 +- .../spf13/jwalterweatherman/log_counter.go |1 - .../github.com/spf13/jwalterweatherman/notepad.go | 87 +- newtmgr/vendor/github.com/spf13/pflag/.travis.yml | 21 +- newtmgr/vendor/github.com/spf13/pflag/README.md| 25 +- newtmgr/vendor/github.com/spf13/pflag/count.go |4 +- newtmgr/vendor/github.com/spf13/pflag/flag.go | 241 +- newtmgr/vendor/github.com/tarm/serial/.travis.yml | 10 + newtmgr/vendor/github.com/tarm/serial/README.md|1 + .../vendor/github.com/tarm/serial/serial_posix.go | 18 + newtmgr/vendor/github.com/ugorji/go/codec/0doc.go |4 +- .../vendor/github.com/ugorji/go/codec/README.md|2 +- newtmgr/vendor/github.com/ugorji/go/codec/binc.go | 32 +- newtmgr/vendor/github.com/ugorji/go/codec/cbor.go | 22 +- .../vendor/github.com/ugorji/go/codec/decode.go| 97 +- .../vendor/github.com/ugorji/go/codec/decode_go.go | 16 + .../github.com/ugorji/go/codec/decode_go14.go | 14 + .../vendor/github.com/ugorji/go/codec/encode.go| 126 +- .../ugorji/go/codec/fast-path.generated.go | 19 +- .../github.com/ugorji/go/codec/fast-path.go.tmpl | 19 +- .../github.com/ugorji/go/codec/fast-path.not.go|2 + .../ugorji/go/codec/gen-helper.generated.go| 14 +- .../github.com/ugorji/go/codec/gen-helper.go.tmpl | 12 +- newtmgr/vendor/github.com/ugorji/go/codec/gen.go | 83 +- .../vendor/github.com/ugorji/go/codec/gen_15.go| 12 + .../vendor/github.com/ugorji/go/codec/gen_16.go| 12 + .../vendor/github.com/ugorji/go/codec/gen_17.go| 10 + .../vendor/github.com/ugorji/go/codec/helper.go| 206 +- .../github.com/ugorji/go/codec/helper_internal.go |4 +- .../ugorji/go/codec/helper_not_unsafe.go | 18 +- .../github.com/ugorji/go/codec/helper_unsafe.go| 18 +- newtmgr/vendor/github.com/ugorji/go/codec/json.go | 44 +- .../vendor/github.com/ugorji/go/codec/msgpack.go | 22 +- .../vendor/github.com/ugorji/go/codec/prebuild.sh | 26 +- newtmgr/vendor/github.com/ugorji/go/codec/rpc.go |2 +- .../vendor/github.com/ugorji/go/codec/simple.go| 26 +- newtmgr/vendor/github.com/ugorji/go/codec/test.py |2 +- newtmgr/vendor/github.com/ugorji/go/codec/tests.sh | 33 +- newtmgr/vendor/golang.org/x/net/context/context.go | 112 +- newtmgr/vendor/golang.org/x/net/context/go17.go|4 +- newtmgr/vendor/gol
[GitHub] wes3 opened a new pull request #491: MYNEWT-801: Lora API
wes3 opened a new pull request #491: MYNEWT-801: Lora API URL: https://github.com/apache/mynewt-core/pull/491 Add first cut at lora api for application devlopers and first cut at MAC/higher layer API. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[mynewt-core] branch master updated (b9a658f -> 4416e33)
This is an automated email from the ASF dual-hosted git repository. ccollins pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-core.git. from b9a658f Merge pull request #487 from wes3/wes_coverity add 8c5ceca BLE Host - Allow GATT svcs to be reg. after init. add a1e93ef BLE Host - Remove unnecessary const in chr def. add bb260ea BLE Host - Function to copy a UUID. add 23f5603 BLE Host - GATT svr now Initializes ATT svr. new 4416e33 This closes #480. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: net/nimble/host/include/host/ble_gatt.h | 4 +- net/nimble/host/include/host/ble_uuid.h | 1 + net/nimble/host/src/ble_att_priv.h | 1 + net/nimble/host/src/ble_att_svr.c| 21 net/nimble/host/src/ble_gatt_priv.h | 1 - net/nimble/host/src/ble_gatts.c | 132 --- net/nimble/host/src/ble_hs.c | 5 - net/nimble/host/src/ble_uuid.c | 19 net/nimble/host/test/src/ble_gatts_notify_test.c | 17 +-- net/nimble/host/test/src/ble_gatts_read_test.c | 8 +- net/nimble/host/test/src/ble_hs_test_util.c | 20 net/nimble/host/test/src/ble_hs_test_util.h | 3 + 12 files changed, 192 insertions(+), 40 deletions(-) -- To stop receiving notification emails like this one, please contact ['"commits@mynewt.apache.org" '].
[mynewt-core] 01/01: This closes #480.
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-core.git commit 4416e33ca20bd8a34f640f5cf3dcbd727effaba1 Merge: b9a658f 23f5603 Author: Christopher Collins AuthorDate: Wed Aug 16 11:22:50 2017 -0700 This closes #480. Merge remote-tracking branch 'ccollins476ad/gatts-reset' * ccollins476ad/gatts-reset: BLE Host - GATT svr now Initializes ATT svr. BLE Host - Function to copy a UUID. BLE Host - Remove unnecessary const in chr def. BLE Host - Allow GATT svcs to be reg. after init. net/nimble/host/include/host/ble_gatt.h | 4 +- net/nimble/host/include/host/ble_uuid.h | 1 + net/nimble/host/src/ble_att_priv.h | 1 + net/nimble/host/src/ble_att_svr.c| 21 net/nimble/host/src/ble_gatt_priv.h | 1 - net/nimble/host/src/ble_gatts.c | 132 --- net/nimble/host/src/ble_hs.c | 5 - net/nimble/host/src/ble_uuid.c | 19 net/nimble/host/test/src/ble_gatts_notify_test.c | 17 +-- net/nimble/host/test/src/ble_gatts_read_test.c | 8 +- net/nimble/host/test/src/ble_hs_test_util.c | 20 net/nimble/host/test/src/ble_hs_test_util.h | 3 + 12 files changed, 192 insertions(+), 40 deletions(-) -- To stop receiving notification emails like this one, please contact "commits@mynewt.apache.org" .
[GitHub] ccollins476ad closed pull request #480: Allow GATT services to be registered after startup
ccollins476ad closed pull request #480: Allow GATT services to be registered after startup URL: https://github.com/apache/mynewt-core/pull/480 This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] sjanc opened a new pull request #490: nimble/host: Refactor HCI commands sending functions
sjanc opened a new pull request #490: nimble/host: Refactor HCI commands sending functions URL: https://github.com/apache/mynewt-core/pull/490 This refactors the way HCI commands are constructed and pass to controller. Instead of embedding opcode and len in command parameters buffer just pass it along with it. This has few adventages: - opcode OCF/OGF are contructed once on build time - buffer is always pass along with len - code is less confusing for static analysis tools (0 len buffer is always pass as NULL so no dangling pointers) - it is easier to follow (and debug) Nice bonus is ROM size reduction of net_nimble_host.a (54304->53710). This is also first step to making use of packed structures for HCI command instead of builders functions. This should reduce code size even further. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] sjanc opened a new pull request #489: Random fixes for issues reported by static analysis
sjanc opened a new pull request #489: Random fixes for issues reported by static analysis URL: https://github.com/apache/mynewt-core/pull/489 This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services