You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ry...@apache.org on 2018/10/04 09:12:01 UTC

[mynewt-newtmgr] 01/01: Merge pull request #106 from rymanluk/hci_improvent

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

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

commit 0d2045643a34977299b6ce15c620ab765e8d891d
Merge: 7a75115 6817ba7
Author: Ɓukasz Rymanowski <lu...@codecoup.pl>
AuthorDate: Thu Oct 4 11:11:39 2018 +0200

    Merge pull request #106 from rymanluk/hci_improvent
    
    newtmgr: Add "hci, i" option

 Gopkg.lock                                         |  27 +-
 Gopkg.toml                                         |   2 +-
 newtmgr/bll/bll_xport.go                           |  10 +-
 newtmgr/bll/bll_xport_linux.go                     |   3 +-
 newtmgr/cli/commands.go                            |   3 +
 newtmgr/cli/common.go                              |   8 +-
 newtmgr/config/ble_config.go                       |   4 +
 newtmgr/config/bll_config.go                       |   4 +
 newtmgr/nmutil/nmutil.go                           |   1 +
 vendor/github.com/Sirupsen/logrus/.travis.yml      |  60 +-
 vendor/github.com/Sirupsen/logrus/CHANGELOG.md     |  40 +
 vendor/github.com/Sirupsen/logrus/README.md        |  58 +-
 vendor/github.com/Sirupsen/logrus/entry.go         | 102 ++-
 vendor/github.com/Sirupsen/logrus/entry_test.go    |  38 +
 .../Sirupsen/logrus/example_basic_test.go          |   4 +-
 .../Sirupsen/logrus/example_hook_test.go           |  14 +-
 vendor/github.com/Sirupsen/logrus/exported.go      |  39 +-
 vendor/github.com/Sirupsen/logrus/formatter.go     |  20 +-
 vendor/github.com/Sirupsen/logrus/go.mod           |  10 +
 vendor/github.com/Sirupsen/logrus/go.sum           |  12 +
 vendor/github.com/Sirupsen/logrus/hook_test.go     |  65 ++
 .../Sirupsen/logrus/hooks/syslog/syslog_test.go    |   2 +
 .../github.com/Sirupsen/logrus/hooks/test/test.go  |  15 +-
 .../Sirupsen/logrus/hooks/test/test_test.go        |  36 +-
 .../github.com/Sirupsen/logrus/json_formatter.go   |  33 +-
 .../Sirupsen/logrus/json_formatter_test.go         |  97 ++
 vendor/github.com/Sirupsen/logrus/logger.go        |  96 +-
 .../Sirupsen/logrus/logger_bench_test.go           |  24 +
 vendor/github.com/Sirupsen/logrus/logrus.go        |   7 +
 vendor/github.com/Sirupsen/logrus/logrus_test.go   | 151 ++++
 .../Sirupsen/logrus/terminal_appengine.go          |  13 +
 vendor/github.com/Sirupsen/logrus/terminal_bsd.go  |  11 +-
 .../Sirupsen/logrus/terminal_check_appengine.go    |  11 +
 .../Sirupsen/logrus/terminal_check_js.go           |  11 +
 .../Sirupsen/logrus/terminal_check_notappengine.go |  19 +
 .../Sirupsen/logrus/terminal_check_windows.go      |  20 +
 .../github.com/Sirupsen/logrus/terminal_linux.go   |  11 +-
 .../github.com/Sirupsen/logrus/terminal_windows.go |  18 +
 .../github.com/Sirupsen/logrus/text_formatter.go   | 116 ++-
 .../Sirupsen/logrus/text_formatter_test.go         | 343 ++++++-
 vendor/github.com/go-ble/ble/.travis.yml           |   1 -
 vendor/github.com/go-ble/ble/client.go             |   3 +
 vendor/github.com/go-ble/ble/darwin/client.go      |   7 +
 vendor/github.com/go-ble/ble/darwin/conn.go        |   8 +-
 vendor/github.com/go-ble/ble/darwin/device.go      |  13 +-
 vendor/github.com/go-ble/ble/darwin/msg.go         |   7 +-
 vendor/github.com/go-ble/ble/darwin/option.go      |  50 +-
 vendor/github.com/go-ble/ble/examples/blesh/lnx.go |   4 +-
 .../go-ble/ble/examples/lib/dev/default_darwin.go  |   4 +-
 .../go-ble/ble/examples/lib/dev/default_linux.go   |   4 +-
 .../github.com/go-ble/ble/examples/lib/dev/dev.go  |   8 +-
 vendor/github.com/go-ble/ble/linux/adv/packet.go   |  65 +-
 vendor/github.com/go-ble/ble/linux/att/db.go       |   2 +-
 vendor/github.com/go-ble/ble/linux/att/server.go   |   2 +-
 vendor/github.com/go-ble/ble/linux/device.go       |  12 +-
 vendor/github.com/go-ble/ble/linux/gatt/client.go  |  23 +-
 vendor/github.com/go-ble/ble/linux/hci/conn.go     |  46 +-
 vendor/github.com/go-ble/ble/linux/hci/gap.go      |  33 +-
 vendor/github.com/go-ble/ble/linux/hci/hci.go      |  39 +-
 vendor/github.com/go-ble/ble/linux/hci/option.go   |  52 +-
 vendor/github.com/go-ble/ble/linux/hci/signal.go   |  61 +-
 .../github.com/go-ble/ble/linux/hci/signal_gen.go  |  64 +-
 vendor/github.com/go-ble/ble/linux/hci/smp.go      |  12 +-
 vendor/github.com/go-ble/ble/option.go             |  68 ++
 vendor/github.com/go-ble/ble/uuid.go               |  10 +-
 vendor/github.com/go-ble/ble/uuid_test.go          |  28 +
 .../go-windows-terminal-sequences/README.md        |  40 +
 .../go-windows-terminal-sequences/license          |   9 +
 .../go-windows-terminal-sequences/sequences.go     |  36 +
 .../sequences_test.go                              |  48 +
 vendor/github.com/kr/pretty/go.mod                 |   3 +
 vendor/github.com/spf13/cast/cast_test.go          |  25 +
 vendor/github.com/spf13/cast/caste.go              |  20 +
 vendor/github.com/spf13/pflag/bytes.go             | 209 +++++
 vendor/github.com/spf13/pflag/bytes_test.go        | 134 +++
 vendor/github.com/spf13/pflag/count.go             |  12 +-
 vendor/github.com/spf13/pflag/count_test.go        |   6 +-
 vendor/github.com/spf13/pflag/duration_slice.go    | 128 +++
 .../github.com/spf13/pflag/duration_slice_test.go  | 165 ++++
 vendor/github.com/spf13/pflag/flag.go              | 161 +++-
 vendor/github.com/spf13/pflag/flag_test.go         | 193 +++-
 vendor/github.com/spf13/pflag/golangflag.go        |   4 +
 vendor/github.com/spf13/pflag/golangflag_test.go   |   8 +
 vendor/github.com/spf13/pflag/int16.go             |  88 ++
 vendor/github.com/spf13/pflag/printusage_test.go   |  74 ++
 vendor/github.com/spf13/pflag/string_array.go      |   8 +-
 vendor/github.com/spf13/pflag/string_slice.go      |  20 +
 vendor/github.com/spf13/pflag/string_to_int.go     | 149 ++++
 .../github.com/spf13/pflag/string_to_int_test.go   | 156 ++++
 vendor/github.com/spf13/pflag/string_to_string.go  | 160 ++++
 .../spf13/pflag/string_to_string_test.go           | 162 ++++
 vendor/mynewt.apache.org/newt/.rat-excludes        |   5 +-
 vendor/mynewt.apache.org/newt/Gopkg.lock           | 155 ++++
 .../mynewt.apache.org/newt/Gopkg.toml              |  54 +-
 vendor/mynewt.apache.org/newt/LICENSE              |   4 +
 vendor/mynewt.apache.org/newt/Makefile             |  10 +
 vendor/mynewt.apache.org/newt/README.md            |   8 +-
 vendor/mynewt.apache.org/newt/RELEASE_NOTES.md     |   5 +-
 vendor/mynewt.apache.org/newt/build.sh             |   8 +-
 vendor/mynewt.apache.org/newt/docs/.gitignore      |   5 +
 vendor/mynewt.apache.org/newt/docs/Makefile        |  16 +
 vendor/mynewt.apache.org/newt/docs/README.rst      |  29 +
 .../newt/docs/command_list/newt_build.rst          |  42 +
 .../newt/docs/command_list/newt_clean.rst          |  42 +
 .../newt/docs/command_list/newt_complete.rst       |  35 +
 .../newt/docs/command_list/newt_create_image.rst   |  57 ++
 .../newt/docs/command_list/newt_debug.rst          |  48 +
 .../newt/docs/command_list/newt_help.rst           |  68 ++
 .../newt/docs/command_list/newt_info.rst           |  29 +
 .../newt/docs/command_list/newt_install.rst        |  38 +
 .../newt/docs/command_list/newt_load.rst           |  36 +
 .../newt/docs/command_list/newt_mfg.rst            | 109 +++
 .../newt/docs/command_list/newt_new.rst            |  38 +
 .../newt/docs/command_list/newt_pkg.rst            |  65 ++
 .../newt/docs/command_list/newt_resign_image.rst   |  46 +
 .../newt/docs/command_list/newt_run.rst            |  53 ++
 .../newt/docs/command_list/newt_size.rst           |  73 ++
 .../newt/docs/command_list/newt_sync.rst           |  39 +
 .../newt/docs/command_list/newt_target.rst         | 185 ++++
 .../newt/docs/command_list/newt_test.rst           |  51 ++
 .../newt/docs/command_list/newt_upgrade.rst        |  36 +
 .../newt/docs/command_list/newt_vals.rst           |  74 ++
 .../newt/docs/command_list/newt_version.rst        |  33 +
 vendor/mynewt.apache.org/newt/docs/conf.py         | 177 ++++
 vendor/mynewt.apache.org/newt/docs/index.rst       | 223 +++++
 .../mynewt.apache.org/newt/docs/install/index.rst  |  10 +
 .../newt/docs/install/newt_linux.rst               | 207 +++++
 .../newt/docs/install/newt_mac.rst                 | 189 ++++
 .../newt/docs/install/newt_windows.rst             | 215 +++++
 .../newt/docs/install/prev_releases.rst            |  88 ++
 .../mynewt.apache.org/newt/docs/newt_operation.rst | 312 +++++++
 vendor/mynewt.apache.org/newt/docs/newt_ops.rst    |  69 ++
 .../mynewt.apache.org/newt/newt/Godeps/Godeps.json |  69 --
 vendor/mynewt.apache.org/newt/newt/Godeps/Readme   |   5 -
 .../mynewt.apache.org/newt/newt/builder/build.go   |  60 +-
 .../newt/newt/builder/buildpackage.go              |  39 +-
 .../newt/newt/builder/buildutil.go                 |  11 +-
 .../mynewt.apache.org/newt/newt/builder/cmake.go   | 352 ++++++++
 .../newt/newt/builder/depgraph.go                  |  13 +-
 .../mynewt.apache.org/newt/newt/builder/library.go |   4 +-
 vendor/mynewt.apache.org/newt/newt/builder/load.go |  17 +-
 vendor/mynewt.apache.org/newt/newt/builder/size.go |  25 +-
 .../newt/newt/builder/size_report.go               | 128 ++-
 .../newt/newt/builder/targetbuild.go               | 126 ++-
 .../mynewt.apache.org/newt/newt/cli/build_cmds.go  |  38 +-
 .../mynewt.apache.org/newt/newt/cli/image_cmds.go  |  65 +-
 .../newt/newt/cli/project_cmds.go                  | 144 +--
 vendor/mynewt.apache.org/newt/newt/cli/run_cmds.go |  21 +-
 .../mynewt.apache.org/newt/newt/cli/target_cmds.go | 209 ++++-
 vendor/mynewt.apache.org/newt/newt/cli/vars.go     |   5 +-
 .../mynewt.apache.org/newt/newt/compat/compat.go   |   6 +-
 .../mynewt.apache.org/newt/newt/deprepo/deprepo.go | 354 ++++++++
 .../mynewt.apache.org/newt/newt/deprepo/graph.go   | 229 +++++
 .../mynewt.apache.org/newt/newt/deprepo/matrix.go  | 172 ++++
 .../newt/newt/downloader/downloader.go             | 884 +++++++++++++-----
 .../mynewt.apache.org/newt/newt/image/encrypted.go | 196 ++++
 vendor/mynewt.apache.org/newt/newt/image/image.go  | 564 ++++++++++--
 .../mynewt.apache.org/newt/newt/image/keys_test.go | 246 +++++
 .../mynewt.apache.org/newt/newt/install/install.go | 989 +++++++++++++++++++++
 .../newt/newt/interfaces/interfaces.go             |  18 +-
 vendor/mynewt.apache.org/newt/newt/mfg/load.go     |  11 +-
 .../newt/newt/newtutil/newtutil.go                 | 194 +---
 .../newt/newt/newtutil/repo_version.go             | 323 +++++++
 vendor/mynewt.apache.org/newt/newt/parse/lex.go    | 202 +++++
 vendor/mynewt.apache.org/newt/newt/parse/parse.go  | 590 ++++++++++++
 .../mynewt.apache.org/newt/newt/pkg/bsp_package.go |  56 +-
 .../newt/newt/pkg/localpackage.go                  | 156 ++--
 vendor/mynewt.apache.org/newt/newt/pkg/package.go  |   2 +
 .../newt/newt/project/pkgwriter.go                 | 141 ++-
 .../mynewt.apache.org/newt/newt/project/project.go | 533 +++++------
 .../newt/newt/project/projectstate.go              | 114 ---
 vendor/mynewt.apache.org/newt/newt/repo/repo.go    | 766 ++++++----------
 vendor/mynewt.apache.org/newt/newt/repo/version.go | 546 ++++++++----
 .../mynewt.apache.org/newt/newt/resolve/resolve.go | 388 +++++---
 .../cli/usage.go => newt/settings/settings.go}     |  45 +-
 .../mynewt.apache.org/newt/newt/syscfg/restrict.go | 233 ++---
 .../mynewt.apache.org/newt/newt/syscfg/syscfg.go   | 609 ++++++++++---
 .../mynewt.apache.org/newt/newt/target/target.go   | 104 ++-
 .../newt/newt/toolchain/compiler.go                | 138 +--
 vendor/mynewt.apache.org/newt/newt/ycfg/ycfg.go    | 527 +++++++++++
 .../newt/newtmgr/Godeps/Godeps.json                | 149 ----
 .../mynewt.apache.org/newt/newtmgr/Godeps/Readme   |   5 -
 .../mynewt.apache.org/newt/newtmgr/cli/commands.go |  79 --
 .../mynewt.apache.org/newt/newtmgr/cli/common.go   |  49 -
 .../mynewt.apache.org/newt/newtmgr/cli/config.go   |  85 --
 .../newt/newtmgr/cli/connprofile.go                | 219 -----
 vendor/mynewt.apache.org/newt/newtmgr/cli/crash.go |  97 --
 .../mynewt.apache.org/newt/newtmgr/cli/datetime.go | 107 ---
 vendor/mynewt.apache.org/newt/newtmgr/cli/echo.go  |  76 --
 .../mynewt.apache.org/newt/newtmgr/cli/echoctrl.go |  45 -
 vendor/mynewt.apache.org/newt/newtmgr/cli/fs.go    | 216 -----
 vendor/mynewt.apache.org/newt/newtmgr/cli/image.go | 657 --------------
 vendor/mynewt.apache.org/newt/newtmgr/cli/logs.go  | 373 --------
 .../mynewt.apache.org/newt/newtmgr/cli/mpstats.go  |  83 --
 vendor/mynewt.apache.org/newt/newtmgr/cli/reset.go |  66 --
 .../mynewt.apache.org/newt/newtmgr/cli/runtest.go  | 150 ----
 vendor/mynewt.apache.org/newt/newtmgr/cli/stats.go | 130 ---
 .../newt/newtmgr/cli/taskstats.go                  |  88 --
 .../newt/newtmgr/config/connprofile.go             | 228 -----
 .../newt/newtmgr/core/core_convert.go              | 333 -------
 vendor/mynewt.apache.org/newt/newtmgr/newtmgr.go   |  26 -
 .../newt/newtmgr/nmutil/nmutil.go                  |  78 --
 .../newt/newtmgr/protocol/cmdrunner.go             | 117 ---
 .../newt/newtmgr/protocol/config.go                |  89 --
 .../newt/newtmgr/protocol/coreerase.go             |  64 --
 .../newt/newtmgr/protocol/corelist.go              |  64 --
 .../newt/newtmgr/protocol/coreload.go              | 142 ---
 .../newt/newtmgr/protocol/crash.go                 |  71 --
 .../newt/newtmgr/protocol/datetime.go              |  77 --
 .../newt/newtmgr/protocol/defs.go                  |  43 -
 .../newt/newtmgr/protocol/echo.go                  | 109 ---
 .../newt/newtmgr/protocol/fsdefs.go                |  24 -
 .../newt/newtmgr/protocol/fsdownload.go            | 102 ---
 .../newt/newtmgr/protocol/fsupload.go              | 104 ---
 .../newt/newtmgr/protocol/imagedefs.go             |  77 --
 .../newt/newtmgr/protocol/imageerase.go            |  64 --
 .../newt/newtmgr/protocol/imagestate.go            | 128 ---
 .../newt/newtmgr/protocol/imageupload.go           | 101 ---
 .../newt/newtmgr/protocol/logs.go                  | 342 -------
 .../newt/newtmgr/protocol/mpstats.go               |  69 --
 .../newt/newtmgr/protocol/nmgr.go                  | 107 ---
 .../newt/newtmgr/protocol/omgr.go                  | 122 ---
 .../newt/newtmgr/protocol/reset.go                 |  48 -
 .../newt/newtmgr/protocol/runtest.go               | 148 ---
 .../newt/newtmgr/protocol/stats.go                 | 138 ---
 .../newt/newtmgr/protocol/taskstats.go             |  70 --
 .../newt/newtmgr/transport/conn.go                 | 119 ---
 .../newt/newtmgr/transport/connble.go              | 220 -----
 .../newt/newtmgr/transport/connble_darwin.go       |  23 -
 .../newt/newtmgr/transport/connble_linux.go        |  26 -
 .../newt/newtmgr/transport/connserial.go           | 257 ------
 .../newt/newtmgr/transport/connudp.go              | 101 ---
 .../newt/util/unixchild/unixchild.go               |   2 +-
 vendor/mynewt.apache.org/newt/util/util.go         | 120 ++-
 vendor/mynewt.apache.org/newt/yaml/misc.go         |  60 +-
 235 files changed, 15107 insertions(+), 9435 deletions(-)