mynewt-newtmgr.git
4 weeks agoMerge pull request #110 from ccollins476ad/bin-logs master
ccollins476ad [Tue, 13 Nov 2018 17:24:42 +0000 (09:24 -0800)] 
Merge pull request #110 from ccollins476ad/bin-logs

log: Display CBOR/binary log entries as text

4 weeks agolog: Display CBOR/binary log entries as text 110/head
Christopher Collins [Fri, 2 Nov 2018 23:02:00 +0000 (16:02 -0700)] 
log: Display CBOR/binary log entries as text

8 weeks agoMerge pull request #108 from sjanc/rat
Szymon Janc [Thu, 18 Oct 2018 17:53:39 +0000 (19:53 +0200)] 
Merge pull request #108 from sjanc/rat

Update rat excludes

8 weeks agoUpdate rat excludes 108/head
Szymon Janc [Thu, 18 Oct 2018 00:46:48 +0000 (02:46 +0200)] 
Update rat excludes

8 weeks agoMerge pull request #107 from sjanc/windows
Szymon Janc [Wed, 17 Oct 2018 23:11:17 +0000 (01:11 +0200)] 
Merge pull request #107 from sjanc/windows

Fix build on windows

8 weeks agoFix build on windows 107/head
Szymon Janc [Wed, 17 Oct 2018 23:03:25 +0000 (01:03 +0200)] 
Fix build on windows

$ go install
  mynewt.apache.org/newtmgr/newtmgr/cli
cli\common.go:134:32: too many arguments in call to bll.NewBllXport
cli\common.go:134:40: bc.HciIdx undefined (type *config.BllConfig has no field or method HciIdx)

2 months agoMerge pull request #98 from dlee-rt/remove-coap-type
mkiiskila [Wed, 10 Oct 2018 23:11:57 +0000 (16:11 -0700)] 
Merge pull request #98 from dlee-rt/remove-coap-type

res - remove type from res commands

2 months agoMerge pull request #106 from rymanluk/hci_improvent
Łukasz Rymanowski [Thu, 4 Oct 2018 09:11:39 +0000 (11:11 +0200)] 
Merge pull request #106 from rymanluk/hci_improvent

newtmgr: Add "hci, i" option

2 months agonewtmgr: Add hci option for Linux 106/head
Łukasz Rymanowski [Fri, 28 Sep 2018 09:13:23 +0000 (11:13 +0200)] 
newtmgr: Add hci option for Linux

`hci` option allows to provide the controller index which should be
used for newtmgr operations.

Shorter version is -i

2 months agonewtmgr: dep ensure -update github.com/go-ble/ble
Łukasz Rymanowski [Wed, 3 Oct 2018 08:06:59 +0000 (10:06 +0200)] 
newtmgr: dep ensure -update github.com/go-ble/ble

2 months agoGopkg.toml: Fix repo name
Łukasz Rymanowski [Tue, 2 Oct 2018 13:10:19 +0000 (15:10 +0200)] 
Gopkg.toml: Fix repo name

2 months agogo-ble: Update to latest version
Łukasz Rymanowski [Tue, 2 Oct 2018 12:48:23 +0000 (14:48 +0200)] 
go-ble: Update to latest version

2 months agoremove import of unused package 98/head
David Lee [Mon, 1 Oct 2018 19:52:08 +0000 (12:52 -0700)] 
remove import of unused package

mynewt.apache.org/newtmgr/nmxact/sesn not used anymore.

2 months agores - fix kv parsing argument
David Lee [Thu, 27 Sep 2018 18:27:36 +0000 (11:27 -0700)] 
res - fix kv parsing argument

2 months agores - remove 'fmt' import
David Lee [Tue, 25 Sep 2018 18:03:33 +0000 (11:03 -0700)] 
res - remove 'fmt' import

2 months agores - remove type from res commands
David Lee [Thu, 20 Sep 2018 19:46:47 +0000 (12:46 -0700)] 
res - remove type from res commands

Removed type field from res and interactive commands as it is not used anymore.
As a result, the function ParseResType has also been removed.

2 months agoMerge pull request #105 from mkiiskila/config_more_help
mkiiskila [Mon, 1 Oct 2018 15:38:48 +0000 (18:38 +0300)] 
Merge pull request #105 from mkiiskila/config_more_help

cli; mention 'save' as a possible action with 'config' command.

2 months agoMerge pull request #101 from dlee-rt/res-add-details-flag
mkiiskila [Mon, 1 Oct 2018 08:51:26 +0000 (11:51 +0300)] 
Merge pull request #101 from dlee-rt/res-add-details-flag

res - add details flag for res commands

2 months agocli; mention 'save' as a possible action with 'config' command. 105/head
Marko Kiiskila [Mon, 1 Oct 2018 08:43:17 +0000 (11:43 +0300)] 
cli; mention 'save' as a possible action with 'config' command.

2 months agoadd details flag 101/head
David Lee [Sat, 29 Sep 2018 01:05:00 +0000 (18:05 -0700)] 
add details flag

adds the details flag, functions to print, and calls to them
in res commands.

2 months agores - add var init for details flag
David Lee [Tue, 25 Sep 2018 17:24:07 +0000 (10:24 -0700)] 
res - add var init for details flag

2 months agoMerge pull request #103 from michal-narajowski/fix-upload-progress
Michał Narajowski [Thu, 27 Sep 2018 09:22:22 +0000 (11:22 +0200)] 
Merge pull request #103 from michal-narajowski/fix-upload-progress

Add finish step for progress bar on image upload

2 months agoAdd finish step for progress bar on image upload 103/head
Michał Narajowski [Mon, 24 Sep 2018 13:22:38 +0000 (15:22 +0200)] 
Add finish step for progress bar on image upload

This step is required to display that the task was completed
and to display statistics of the upload (time, avg speed).

2 months agoMerge pull request #99 from dlee-rt/add-json-format
mkiiskila [Thu, 27 Sep 2018 06:59:13 +0000 (09:59 +0300)] 
Merge pull request #99 from dlee-rt/add-json-format

res - add pretty JSON format to CoAP response

2 months agores - fix functions and incorrect var types 99/head
David Lee [Tue, 25 Sep 2018 17:40:18 +0000 (10:40 -0700)] 
res - fix functions and incorrect var types

2 months agoMerge pull request #100 from dlee-rt/res-kv-bool
mkiiskila [Tue, 25 Sep 2018 13:20:56 +0000 (16:20 +0300)] 
Merge pull request #100 from dlee-rt/res-kv-bool

res - Allow boolean values

2 months agores - Allow boolean values 100/head
David Lee [Mon, 24 Sep 2018 21:15:35 +0000 (14:15 -0700)] 
res - Allow boolean values

This commit allows newtmgr to parse boolean values in a res
key-value-pair. The boolean value is case-insensitive, but must match
completely (i.e. true, false).

2 months agores - add pretty JSON format to CoAP response
David Lee [Thu, 20 Sep 2018 21:58:14 +0000 (14:58 -0700)] 
res - add pretty JSON format to CoAP response

Formats response payload into pretty JSON format with
indents and brackets.

4 months agoMerge pull request #96 from mkiiskila/debug_print_coap_rsp
mkiiskila [Thu, 2 Aug 2018 12:10:00 +0000 (15:10 +0300)] 
Merge pull request #96 from mkiiskila/debug_print_coap_rsp

nmxact; print OIC response msg if debug flag is set.

4 months agonmxact; print OIC response msg if debug flag is set. 96/head
Marko Kiiskila [Thu, 2 Aug 2018 11:51:39 +0000 (14:51 +0300)] 
nmxact; print OIC response msg if debug flag is set.

5 months agoMerge pull request #95 from ccollins476ad/log-marshal
ccollins476ad [Thu, 12 Jul 2018 17:13:41 +0000 (10:13 -0700)] 
Merge pull request #95 from ccollins476ad/log-marshal

Fix [un]marshal of log-entry-type

5 months agoMerge pull request #94 from ccollins476ad/conn_timeout
ccollins476ad [Thu, 12 Jul 2018 17:13:24 +0000 (10:13 -0700)] 
Merge pull request #94 from ccollins476ad/conn_timeout

Allow "conn_timeout" for ble and bll types.

5 months agoAllow "conn_timeout" for ble and bll types. 94/head
Christopher Collins [Mon, 9 Jul 2018 22:51:11 +0000 (15:51 -0700)] 
Allow "conn_timeout" for ble and bll types.

This specifies the connection timeout, in seconds.  E.g.,

    newtmgr --conntype ble --connstring peer_name=mydev,conn_timeout=23.54' -t 4 echo a

This command allows 23.54 seconds for the BLE connection to be
established.  Upon sending the echo request, newtmgr waits four seconds
before reporting a response timeout.

In addition, if the `conn_timeout` setting is not specified, it defaults
to the response timeout value (`-t`).

5 months agoFix [un]marshal of log-entry-type 95/head
Christopher Collins [Tue, 10 Jul 2018 18:10:32 +0000 (11:10 -0700)] 
Fix [un]marshal of log-entry-type

The code was attempting to marshal and unmarshal the log-entry-type as a
CBOR string.  That is, rather than converting to and from a raw string,
it was using CBOR encoding (type+length prefix).  This is not correct;
the raw values of the log response struct are ultimately encoded or
decoded using the CBOR codec library, so encoding an individual field as
CBOR causes a double encoding.

Also, the function type of `(l LogEntryType) MarshalBinary()` was
incorrect.  It should take no arguments and return `([]byte, error)`.

5 months agoUpdate prev_releases.rst
aditihilbert [Fri, 6 Jul 2018 00:15:32 +0000 (17:15 -0700)] 
Update prev_releases.rst

5 months agoUpdate install_windows.rst
aditihilbert [Thu, 5 Jul 2018 19:52:31 +0000 (12:52 -0700)] 
Update install_windows.rst

5 months agoUpdate install_windows.rst
aditihilbert [Thu, 5 Jul 2018 19:46:45 +0000 (12:46 -0700)] 
Update install_windows.rst

5 months agoUpdate install_linux.rst
aditihilbert [Thu, 5 Jul 2018 19:28:02 +0000 (12:28 -0700)] 
Update install_linux.rst

5 months agoUpdate install_mac.rst
aditihilbert [Thu, 5 Jul 2018 19:26:43 +0000 (12:26 -0700)] 
Update install_mac.rst

5 months agoMerge pull request #93 from andrzej-kaczmarek/fix-datahash-name
Andrzej Kaczmarek [Wed, 4 Jul 2018 10:06:18 +0000 (12:06 +0200)] 
Merge pull request #93 from andrzej-kaczmarek/fix-datahash-name

nmxact: Make field name for uploaded data hash shorter

5 months agonmxact: Make field name for uploaded data hash shorter 93/head
Andrzej Kaczmarek [Wed, 4 Jul 2018 08:59:50 +0000 (10:59 +0200)] 
nmxact: Make field name for uploaded data hash shorter

Let's use "sha" instead of "datahash" to keep it short.
Long name like "datahash" not only adds few unnecessary bytes to data
stream but also makes image upload fail with MCUBoot which does not
handle long key names (no need to change it there though).

"sha" name was chosen as it is short and should not be confused with
image hash which is something different since data hash is computed
over whole upload data, i.e. image with trailing data etc.).

This fixes https://github.com/apache/mynewt-mcumgr-cli/issues/2.

5 months agoMerge pull request #92 from andrzej-kaczmarek/upload-mtu-fix
Andrzej Kaczmarek [Tue, 3 Jul 2018 18:09:07 +0000 (20:09 +0200)] 
Merge pull request #92 from andrzej-kaczmarek/upload-mtu-fix

Fix image upload and resume

5 months agoMerge pull request #87 from ccollins476ad/res-kv-types
ccollins476ad [Wed, 27 Jun 2018 20:15:57 +0000 (13:15 -0700)] 
Merge pull request #87 from ccollins476ad/res-kv-types

res - Allow integer values

5 months agonmxact: Fix image upload on small MTU 92/head
Andrzej Kaczmarek [Mon, 25 Jun 2018 13:02:50 +0000 (15:02 +0200)] 
nmxact: Fix image upload on small MTU

On systems with small MTU (like MacOS) 1st chunk will not fit entire
image header when data SHA is included thus is is not possible to do
image upload.

This patch fixes the problem by performing necessary calculations to
ensure 1st chunk has at least 32 bytes of data (image header) or skips
data SHA if necessary.

5 months agoMerge pull request #90 from andrzej-kaczmarek/nmxact-oic-fixes
Andrzej Kaczmarek [Mon, 25 Jun 2018 11:14:06 +0000 (13:14 +0200)] 
Merge pull request #90 from andrzej-kaczmarek/nmxact-oic-fixes

Fixes in NMP encoding code

5 months agoMerge pull request #91 from spoonofpower/rxFilter_fix
mkiiskila [Sun, 24 Jun 2018 15:23:59 +0000 (08:23 -0700)] 
Merge pull request #91 from spoonofpower/rxFilter_fix

Call the RxFilter even for unexpected response codes

5 months agoCall the RxFilter even for unexpected response codes 91/head
spoonofpower [Sat, 23 Jun 2018 01:23:21 +0000 (18:23 -0700)] 
Call the RxFilter even for unexpected response codes

For example, the RxFilter may need to adjust sequence numbers when the
response is coap.Unauthorized.

5 months agonmxact: Fix typo in comment 90/head
Andrzej Kaczmarek [Fri, 22 Jun 2018 21:03:20 +0000 (23:03 +0200)] 
nmxact: Fix typo in comment

5 months agonmxact: Fix fields included in 1st chunk of image upload
Andrzej Kaczmarek [Fri, 22 Jun 2018 16:18:50 +0000 (18:18 +0200)] 
nmxact: Fix fields included in 1st chunk of image upload

r.Off is always zero since structure has just been initialized and is
assigned value *after* if statement - we can use "off" instead.

5 months agonmxact: Remove invalid tags from FsUploadReq
Andrzej Kaczmarek [Fri, 22 Jun 2018 17:19:01 +0000 (19:19 +0200)] 
nmxact: Remove invalid tags from FsUploadReq

Both "name" and "len" seem to be mandatory so omitting them does not
make sense.

5 months agonmxact: Remove "omitempty" tag from NMP responses
Andrzej Kaczmarek [Fri, 22 Jun 2018 17:14:28 +0000 (19:14 +0200)] 
nmxact: Remove "omitempty" tag from NMP responses

They are not used for decoding.

5 months agonmxact: Fix "omitempty" handling in NMP requests
Andrzej Kaczmarek [Fri, 22 Jun 2018 16:18:42 +0000 (18:18 +0200)] 
nmxact: Fix "omitempty" handling in NMP requests

"omitempty" option does not have any effect since we use build map of
fields "by hand" which ignores tags on field (except to get translated
name field).

We can use structs.Map() to automatically create map of fields and by
using "codec" tag name instead of default one we can also make it apply
necessary options since codec and structs have these compatible.

Also need to explicitly skip NmpBase field so it is not included in
resulting map.

5 months agoMerge pull request #89 from andrzej-kaczmarek/datahash
Andrzej Kaczmarek [Fri, 22 Jun 2018 18:43:46 +0000 (20:43 +0200)] 
Merge pull request #89 from andrzej-kaczmarek/datahash

nmxact: Add data hash to 1st chunk of image upload data

5 months agonmxact: Add data hash to 1st chunk of image upload data 89/head
Andrzej Kaczmarek [Fri, 22 Jun 2018 14:03:53 +0000 (16:03 +0200)] 
nmxact: Add data hash to 1st chunk of image upload data

When uploading image, 1st chunk will include "datahash" field which is
simply SHA-256 calculated over complete data to be uploaded (so it is
not the same as image hash). This field can be then used by imgmgr on
target to detect whether the same data is being uploaded and possibly
resume transfer which was interrupted previously.

5 months agores - Allow integer values 87/head
Christopher Collins [Thu, 21 Jun 2018 00:15:38 +0000 (17:15 -0700)] 
res - Allow integer values

Prior to this commit, newtmgr assumed the value in a res key-value-pair
was a string.  So, the following command:

    res put public myresource key=1

would include the string "1" in the PUT request.

This commit changes this behavior such that newt encodes integers as
numbers in the CoAP request.  To force the string type, enclose the
value in double-quotes, e.g.,

    res put public myresource 'key="1"'

5 months agoMerge pull request #86 from sjanc/windows
Szymon Janc [Fri, 15 Jun 2018 22:08:54 +0000 (00:08 +0200)] 
Merge pull request #86 from sjanc/windows

Fix build on Windows

5 months agoFix build on Windows 86/head
Szymon Janc [Fri, 15 Jun 2018 21:14:25 +0000 (23:14 +0200)] 
Fix build on Windows

BllConfig and XportCfg on Windows stubs were not extendended with
new members.

5 months agoMerge pull request #85 from sjanc/version
Szymon Janc [Thu, 14 Jun 2018 17:28:04 +0000 (19:28 +0200)] 
Merge pull request #85 from sjanc/version

Version update

6 months agoUpdate version to 1.5.0-dev 85/head
Szymon Janc [Wed, 13 Jun 2018 23:15:36 +0000 (01:15 +0200)] 
Update version to 1.5.0-dev

6 months agoUpdate release notes with 1.4 release
Szymon Janc [Wed, 13 Jun 2018 23:14:59 +0000 (01:14 +0200)] 
Update release notes with 1.4 release

6 months agoMerge pull request #84 from mkiiskila/omp_loopback_crash
mkiiskila [Fri, 8 Jun 2018 04:47:27 +0000 (07:47 +0300)] 
Merge pull request #84 from mkiiskila/omp_loopback_crash

nmxact; fix crash when sent requests are being echoed.

6 months agoMerge pull request #82 from ccollins476ad/log-entry-type
ccollins476ad [Thu, 7 Jun 2018 18:42:41 +0000 (11:42 -0700)] 
Merge pull request #82 from ccollins476ad/log-entry-type

Use custom type for LogEntryType (was: string)

6 months agoMerge pull request #83 from ccollins476ad/dflt-tx-options
ccollins476ad [Thu, 7 Jun 2018 18:42:24 +0000 (11:42 -0700)] 
Merge pull request #83 from ccollins476ad/dflt-tx-options

Allow default transmit options to be configured

6 months agonmxact; fix crash when sent requests are being echoed. 84/head
Marko Kiiskila [Thu, 7 Jun 2018 09:13:28 +0000 (12:13 +0300)] 
nmxact; fix crash when sent requests are being echoed.

6 months agoAllow default transmit options to be configured 83/head
Christopher Collins [Wed, 6 Jun 2018 02:40:01 +0000 (19:40 -0700)] 
Allow default transmit options to be configured

I.e., tries and timeout.

6 months agoRemove extraneous ':' chars from `log show` output 82/head
Christopher Collins [Tue, 5 Jun 2018 01:00:07 +0000 (18:00 -0700)] 
Remove extraneous ':' chars from `log show` output

6 months agoUse custom type for LogEntryType (was: string)
Christopher Collins [Tue, 5 Jun 2018 00:59:49 +0000 (17:59 -0700)] 
Use custom type for LogEntryType (was: string)

This enables the custom type's marshal and unmarshal functions.

6 months agoMerge pull request #81 from sjanc/license
Szymon Janc [Mon, 4 Jun 2018 12:05:11 +0000 (14:05 +0200)] 
Merge pull request #81 from sjanc/license

LICENSE: Add missing bundled libraries info

6 months agoLICENSE: Add missing bundled libraries info 81/head
Szymon Janc [Mon, 4 Jun 2018 11:57:49 +0000 (13:57 +0200)] 
LICENSE: Add missing bundled libraries info

6 months agoMerge pull request #80 from vrahane/log_type_cbor
Vipul Rahane [Tue, 29 May 2018 18:48:36 +0000 (11:48 -0700)] 
Merge pull request #80 from vrahane/log_type_cbor

log handler: add support for type cbor parsing

6 months agolog handler: add support for type cbor parsing 80/head
Vipul Rahane [Mon, 28 May 2018 16:15:29 +0000 (09:15 -0700)] 
log handler: add support for type cbor parsing

- Add support for parsing log responses coming with types
- Type CBOR not supported

6 months agoMerge pull request #78 from sjanc/bletiny
Szymon Janc [Fri, 25 May 2018 10:01:37 +0000 (12:01 +0200)] 
Merge pull request #78 from sjanc/bletiny

Remove bletiny from documentation

6 months agoMerge pull request #79 from sjanc/rat
Szymon Janc [Fri, 25 May 2018 10:01:19 +0000 (12:01 +0200)] 
Merge pull request #79 from sjanc/rat

 Add missing license headers and update RAT excludes

6 months ago Add missing license headers and update RAT excludes 79/head
Szymon Janc [Thu, 24 May 2018 11:56:57 +0000 (13:56 +0200)] 
 Add missing license headers and update RAT excludes

6 months agoMerge pull request #74 from mkiiskila/serverapi
Sterling Hughes [Tue, 22 May 2018 14:58:29 +0000 (07:58 -0700)] 
Merge pull request #74 from mkiiskila/serverapi

nmxact; add API to allow CoAP server side operation

6 months agoMerge pull request #76 from mkiiskila/conf_save_nmgr
mkiiskila [Thu, 17 May 2018 18:15:30 +0000 (21:15 +0300)] 
Merge pull request #76 from mkiiskila/conf_save_nmgr

nmxact; add option to include save command as part of config write.

6 months agonmserial; errChan was not drained, causing lockup if session timeout was longer 74/head
Marko Kiiskila [Thu, 17 May 2018 18:12:37 +0000 (21:12 +0300)] 
nmserial; errChan was not drained, causing lockup if session timeout was longer
than transport timeout, and response was taking a long time to arrive.

6 months agoRemove bletiny from documentation 78/head
Szymon Janc [Thu, 17 May 2018 09:48:30 +0000 (11:48 +0200)] 
Remove bletiny from documentation

Use btshell as an example instead.

7 months agonmxact; add option to include save command as part of config write. 76/head
Marko Kiiskila [Fri, 11 May 2018 11:24:49 +0000 (14:24 +0300)] 
nmxact; add option to include save command as part of config write.
newtmgr; add 'config save'

7 months agoMerge pull request #75 from andrzej-kaczmarek/cli-interactive-fix
Andrzej Kaczmarek [Wed, 9 May 2018 11:47:29 +0000 (13:47 +0200)] 
Merge pull request #75 from andrzej-kaczmarek/cli-interactive-fix

cli: Fix parameters parsing in interactive mode

7 months agocli: Fix parameters parsing in interactive mode 75/head
Andrzej Kaczmarek [Wed, 9 May 2018 11:40:06 +0000 (13:40 +0200)] 
cli: Fix parameters parsing in interactive mode

7 months agonmserial; complain in txCoapOnce() if session has not been opened.
Marko Kiiskila [Mon, 7 May 2018 08:41:51 +0000 (11:41 +0300)] 
nmserial; complain in txCoapOnce() if session has not been opened.

7 months agonmmxact/nm_serial; allow concurrent coap server/client operation.
Marko Kiiskila [Mon, 30 Apr 2018 10:19:20 +0000 (13:19 +0300)] 
nmmxact/nm_serial; allow concurrent coap server/client operation.

7 months agomtech_lora; adjust error message.
Marko Kiiskila [Mon, 30 Apr 2018 10:05:10 +0000 (13:05 +0300)] 
mtech_lora; adjust error message.

7 months agomtech_lora/nmserial; RxAccept()/RxCoap() should check whether
Marko Kiiskila [Fri, 27 Apr 2018 13:03:07 +0000 (16:03 +0300)] 
mtech_lora/nmserial; RxAccept()/RxCoap() should check whether
session is closed.

7 months agomtech_lora; allow simultaneous CoAP server/client operation on
Marko Kiiskila [Fri, 27 Apr 2018 09:38:03 +0000 (12:38 +0300)] 
mtech_lora; allow simultaneous CoAP server/client operation on
same application port.

7 months agosesn; add timeout parameter to RxCoap()
Marko Kiiskila [Thu, 26 Apr 2018 11:35:08 +0000 (14:35 +0300)] 
sesn; add timeout parameter to RxCoap()

7 months agolora; coap server data path
Marko Kiiskila [Wed, 25 Apr 2018 20:18:55 +0000 (23:18 +0300)] 
lora; coap server data path

mtech_lora; remove timer/tmochan from listener, not used.

7 months agosesn; add mapping of mgmtProto into string
Marko Kiiskila [Wed, 25 Apr 2018 06:20:01 +0000 (09:20 +0300)] 
sesn; add mapping of mgmtProto into string

7 months agomtech_lora; configurable application port for CoAP comm.
Marko Kiiskila [Tue, 24 Apr 2018 11:37:02 +0000 (14:37 +0300)] 
mtech_lora; configurable application port for CoAP comm.

7 months agonmserial; first cut of supporting coap server data path.
Marko Kiiskila [Mon, 23 Apr 2018 14:26:52 +0000 (17:26 +0300)] 
nmserial; first cut of supporting coap server data path.
Cannot interleave coap client/coap server operation over same
serial port (yet).

7 months agonmxact; data path for processing incoming coap requests, and sending
Marko Kiiskila [Mon, 23 Apr 2018 14:24:44 +0000 (17:24 +0300)] 
nmxact; data path for processing incoming coap requests, and sending
responses to those requests.

7 months agonmxact; add stubs for RxAccept()/RxCoap()
Marko Kiiskila [Mon, 23 Apr 2018 14:22:54 +0000 (17:22 +0300)] 
nmxact; add stubs for RxAccept()/RxCoap()

7 months agonmxact/omp; add coap.DELETE to list of invalid coap responses.
Marko Kiiskila [Fri, 20 Apr 2018 10:32:46 +0000 (13:32 +0300)] 
nmxact/omp; add coap.DELETE to list of invalid coap responses.

7 months agonmxact; add RxAccept()/RxCoap() to sesn to support attaching coap
Marko Kiiskila [Fri, 20 Apr 2018 10:31:16 +0000 (13:31 +0300)] 
nmxact; add RxAccept()/RxCoap() to sesn to support attaching coap
server via nmxact.

8 months agoMerge pull request #73 from spoonofpower/coap_message_filters
ccollins476ad [Tue, 10 Apr 2018 22:04:42 +0000 (15:04 -0700)] 
Merge pull request #73 from spoonofpower/coap_message_filters

Filter newtmgr CoAP messages

8 months agoFilter newtmgr CoAP messages 73/head
spoonofpower [Tue, 10 Apr 2018 20:30:04 +0000 (13:30 -0700)] 
Filter newtmgr CoAP messages

Support setting a transmit and receive callback for newtmgr CoAP
messages. This enables filtering the messages to do encryption, logging,
metrics, etc. The TxFilterCb and RxFilterCb are set in SesnCfg.

8 months agoMerge pull request #72 from mkiiskila/mtech_flush_close
Sterling Hughes [Fri, 23 Mar 2018 15:58:00 +0000 (08:58 -0700)] 
Merge pull request #72 from mkiiskila/mtech_flush_close

mtech_lora; flush deveui out queue on close. LNS queue eventually

8 months agoMerge pull request #71 from mkiiskila/lora_bigger_mtu
Sterling Hughes [Fri, 23 Mar 2018 15:56:46 +0000 (08:56 -0700)] 
Merge pull request #71 from mkiiskila/lora_bigger_mtu

mtech_lora; increse max mtu size to 256.

8 months agomtech_lora; flush deveui out queue on close. LNS queue eventually 72/head
Marko Kiiskila [Fri, 23 Mar 2018 13:50:03 +0000 (15:50 +0200)] 
mtech_lora; flush deveui out queue on close. LNS queue eventually
overflows if device is not reachable.