Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
OpenThread 20190130 -> 20190709 Changelog
commit 668256290d1c48319b0b96d41559efb48dcc0821
Author: Zhanglong Xia <zhanglongxia@google.com>
Date: Tue Jul 9 19:38:23 2019 +0800
[spi-hdlc-adapter] add syslog to record signal (#3966)
commit d0285164a0edd1408ddfa3e826c956a8577da532
Author: Yakun Xu <xyk@google.com>
Date: Tue Jul 9 19:36:08 2019 +0800
[cli] remove otPtr introduced by windows platform (#3973)
commit 67993c6d5826c7c5a641af072c696659cb4290cb
Author: Zhanglong Xia <zhanglongxia@google.com>
Date: Tue Jul 9 19:34:50 2019 +0800
[docs] fix typo in file README_COAP.md (#3972)
commit f0e9ab2a9f0bfae5e1a28f8a5ce09b767a25fc37
Author: Abtin Keshavarzian <abtink@google.com>
Date: Tue Jul 9 04:32:10 2019 -0700
[andriod] update makefile to include api/random_noncrypto_api.cpp (#3963)
commit 968f15f540b22ccd6d3135c25af2f40571ac1d2f
Author: Jonathan Hui <jonhui@google.com>
Date: Tue Jul 9 04:31:28 2019 -0700
[logs] compile Mac::Frame::ToInfoString at NOTE log level (#3962)
This fixes a linker error when buiding with OT_LOG_LEVEL_NOTE.
MeshForwarder depends on Mac::Frame::ToInfoString at the NOTE level.
commit 8de5fbeae71ad5f772ad7fea98c7e183d586ae80
Author: Zhanglong Xia <zhanglongxia@google.com>
Date: Tue Jul 9 12:21:14 2019 +0800
[posix-app] close the settings file when reset (#3958)
Currently, the Setting file won't be closed after ot-ncp is reset.
Once ot-ncp receives a RESET command from wpantund, it will reopen
the Setting file and create a new file Id.
This commit closes the Setting file when ot-ncp is reset.
commit b983974aec9fec7c4ef4c55e71b5924c2d9b1700
Author: Christian Stauffer <37304790+ChrIgiSta@users.noreply.github.com>
Date: Wed Jul 3 19:54:50 2019 +0200
[cli] delete redundant and unnecessary includes (#3959)
commit be994b66cfb6628dd45061498cea46801cc46c17
Author: Abtin Keshavarzian <abtink@google.com>
Date: Wed Jul 3 10:54:17 2019 -0700
[random-manager] move entropy and rng related code into RandomManager (#3953)
This commit moves all the related code for managing entropy and crypto
and non-crypto random number generation into the `RandomManager`
class. This helps simplify the initialization process by having all
modules use a shared common init counter (`sInitCount`). This commit
also ensures that the shared instance of the non-crypto pseudo random
number generator is seeded only once.
commit 0d75bbe3fae0916e1ca96d89845291f0c65f2932
Author: Rongli Sun <rongli@google.com>
Date: Wed Jul 3 10:27:09 2019 +0800
[cert] support partition id configuration for ncp device (#3955)
commit 60b01a8a4bb225fd533c15a51afded4204d96b6d
Author: Jonathan Hui <jonhui@google.com>
Date: Tue Jul 2 18:49:27 2019 +0200
[vagrant] remove vagrant file (#3954)
commit 0bb0b7424dece20ececd497e6aee6c695075f747
Author: Marven Gilhespie <45208741+marvensilabs@users.noreply.github.com>
Date: Tue Jul 2 17:43:28 2019 +0100
[efr32] add mg21 support and changes to mg12 radio inteface code (#3922)
* renamed efr32 in two for mg12 and mg21 and radio changes for mg12
Change to radio interface code, check the txBusy flag before
attempting to transmit a packet Cleaner auto state transition code and
safer event handling Use HAL_PA_VOLTAGE in all hal-config.h files
* uart flow control mode is configured from board /hal-config.h
Allows a different flow control mode for each EFR32 board as
necessary. (hw flow control is not presently implemented on
Thunderboard Sense so HAL_USART_FLOW_CONTROL_NONE mode should be used
for BRD4166A, other boards use HAL_USART_FLOW_CONTROL_HWUART)
commit af46ffa53b7d8cf17259dbb15f2b42b0d6573841
Author: Jonathan Hui <jonhui@google.com>
Date: Tue Jul 2 00:18:02 2019 +0200
[coverage] exclude logging code from coverage report (#3947)
commit ce26bffb501fe3421c6c5686231bb4c466fd25cf
Author: Martin Turon <mturon@google.com>
Date: Fri Jun 28 09:26:17 2019 +0200
[mac] change frame length type from uint8_t to uint16_t (#3939)
This adds support for MAC frames greater than 255 bytes in preparation
for other link layers that support larger frames.
commit c826edc0c427e78da554f83c5f4a217b4e94548a
Author: Yakun Xu <xyk@google.com>
Date: Fri Jun 28 15:22:24 2019 +0800
[posix-app] enhance RCP failure info (#3950)
By default, posix-app disables platform region logs. Even when
platform logs are enabled, logs are sent to syslog without printing to
stderr.
This commit prints error information to stderr on exit, providing the
user more direct information about failures. This commit also
eliminates the "wait no child process" error message.
commit 3fded34be1adeb068178dc8d97f319302e9c2d8a
Author: Parker Evans <52251029+pevans-lutron@users.noreply.github.com>
Date: Thu Jun 27 03:06:36 2019 -0400
[commissioner] add error checking to GetLeaderAloc and SendPetition in Start (#3949)
Adding the SendPetition error handling in Start and moving it before
updating the state fixes the potential issue of locking up the
commissioner in the OT_COMMISSIONER_STATE_PETITION state without
having actually sent the petition.
commit 016b1b152327c27b2f46accd272b49da8a16ed9f
Author: Jonathan Hui <jonhui@google.com>
Date: Wed Jun 26 03:43:41 2019 -0700
[address-resolver] fix TLV length in response messages (#3945)
commit 03fac0ff48c8152e9bcc8cfeed4a6eddb3b0e17f
Author: Jonathan Hui <jonhui@google.com>
Date: Wed Jun 26 03:42:59 2019 -0700
[message] adjust offset when cloning a message subset (#3944)
commit a6ae39893b424a90b81efe955a26a38e382fcd95
Author: Jonathan Hui <jonhui@google.com>
Date: Fri Jun 21 09:17:15 2019 -0700
[travis] set default build env to xenial (#3943)
commit 2142b0008d905c81a8b798706e1c6613994a4706
Author: Jonathan Hui <jonhui@google.com>
Date: Fri Jun 21 14:45:48 2019 -0700
[scan-build] resolve warnings from scan-build-7 (#3943)
Resolve warnings when using clang static analyzer v7.
commit e6eaf5c80bda24d42d95f4a2c0a53d165624494d
Author: Yakun Xu <xyk@google.com>
Date: Wed Jun 26 15:26:32 2019 +0800
[posix-sim] enhance microsecond alarm implementation (#3942)
This commit enhances the microsecond timer implementation with POSIX
timer API. This only enhances simulation on Linux because the API is
not supported on macOS.
The call to timer_settime() schedules a microsecond precision alarm.
When the alarm fires, the process is signalled with
OPENTHREAD_CONFIG_MICRO_TIMER_SIGNAL. The signal handler does nothing,
but the process will resume and the existing micro timer process can
be performed on time.
commit ce8f1172a80a90de3ced8551038dd9baa68d4fe6
Author: Abtin Keshavarzian <abtink@google.com>
Date: Tue Jun 25 00:23:03 2019 -0700
[mac] simplify how HandleReceivedFrame() passes frame to next layer (#3941)
commit adecc05755542f8a24c8010df0897afab029fb4b
Author: Abtin Keshavarzian <abtink@google.com>
Date: Fri Jun 21 15:41:26 2019 -0700
[mesh-forwarder] clear children's indirect msg and src match table on stop (#3933)
This commit ensures to clear the indirect message pointer on all
children and reset the indirect message count (which in turn clear the
source match table) from `MeshForwarder::Stop()`. This addresses the
issue where on an `Stop()`/`Start()` call the source match table can
become out of sync with the send queue and/or a child may hold on to
an already freed `Message`.
commit 44596e22996d516a474f0e8a8850eb2083d9736c
Author: Jeff Bumgardner <jbumgardner@google.com>
Date: Fri Jun 21 12:25:49 2019 -0700
[docs] add Samsung to supporters and image cleanup (#3940)
commit 8224b3c49f8bd285ad5658c1b3cd9683d6627bdb
Author: Jonathan Hui <jonhui@google.com>
Date: Fri Jun 21 08:34:52 2019 -0700
[mle] add field-specific length methods to Challenge/Response TLVs (#3937)
commit ea9a6d2b14f794c756575bbbea668ac029acb1bb
Author: Rongli Sun <rongli@google.com>
Date: Fri Jun 21 13:19:40 2019 +0800
[network-diagnostic] specify link-local source for link-local destination (#3935)
In #3284, the source for network diagnostic is explicitly specified as RLOC.
However when link-local address is the destination, link-local source is
preferred.
commit 7e28a2317ac30978a36fd6006b942c6994b3e8e4
Author: Rongli Sun <rongli@google.com>
Date: Fri Jun 21 13:08:25 2019 +0800
[coap] fix payload marker removal and add payload marker check (#3936)
commit f11ff54775ba71b4b1477ae3b33ac7f2f7058a9f
Author: Abtin Keshavarzian <abtink@google.com>
Date: Thu Jun 20 12:27:46 2019 -0700
[data-poll-sender] rename DataPollManager as DataPollSender (#3932)
This commit renames the `DataPollManager` to `DataPollSender` and
also moves the files in `src/core/mac` folder.
commit 8df0b5f421309421284b958bb15002e9c6c81c50
Author: Jonathan Hui <jonhui@google.com>
Date: Thu Jun 20 09:38:46 2019 -0700
[docs] update link to GNU Arm Embedded Toolchain (#3931)
commit d1ded876f9cb09d83b904b40cf6a4f67adfe91fe
Author: Jonathan Hui <jonhui@google.com>
Date: Thu Jun 20 09:38:25 2019 -0700
[meshcop] add MeshLocalPrefixTlv::GetMeshLocalPrefixLength() (#3930)
commit 0a084bbb9aef5cd233d787dc7ba14f718a0896e0
Author: Li Cao <irvingcl@google.com>
Date: Fri Jun 21 00:35:41 2019 +0800
[tests] change string concatenation format in python scripts (#3929)
commit 896ac0ab696df98e10347683948bb98fd7f4117d
Author: Jonathan Hui <jonhui@google.com>
Date: Thu Jun 20 09:35:10 2019 -0700
[examples] add headers to pretty check (#3927)
commit b4c53e6bdaead4416f40d5de498f7cc6f66dd660
Author: Jonathan Hui <jonhui@google.com>
Date: Wed Jun 19 10:54:12 2019 -0700
[netif] remove virtual methods (#3925)
commit 1631d23a13cad49e537a39f615603c74f909255d
Author: Jonathan Hui <jonhui@google.com>
Date: Tue Jun 18 10:30:02 2019 -0700
[netif] remove interface id specification from interfaces (#3925)
commit df16da30f8ad4cd148106dfcf07947a1e119ae36
Author: Jonathan Hui <jonhui@google.com>
Date: Tue Jun 11 14:12:31 2019 -0700
[netif] remove support for multiple netif instances (#3925)
commit 1b37f64ac3222d9b3c7c246416e25cf996787985
Author: Jonathan Hui <jonhui@google.com>
Date: Wed Jun 19 10:28:44 2019 -0700
[mle] remove unused MleRouter::RemoveNeighbor method (#3926)
commit b694b00951eeeb4986387de1179d55dd38643a87
Author: Jonathan Hui <jonhui@google.com>
Date: Tue Jun 18 11:49:05 2019 -0700
[tlvs] allow longer length to support forward compatibility (#3919)
commit 67f159c5e32d67d5abfa24470f15739a4cf82fd7
Author: Abtin Keshavarzian <abtink@google.com>
Date: Tue Jun 18 11:48:44 2019 -0700
[data-poll-manager] remove code handling NO_BUFS error (#3918)
This commit remove the logic in `DataPollManager` related to handling
the `NO_BUFS` error case when sending a data poll. This logic is no
longer needed since the data poll tx logic is now handled by `Mac`
layer directly and there is no need to allocate/use a `Message` instance
for data poll (which could lead to `NO_BUFs` error situation).
commit 936d4efe9331d132c4d8abf75a27333a5a2f9b53
Author: Abtin Keshavarzian <abtink@google.com>
Date: Tue Jun 18 09:17:25 2019 -0700
[mac] move data poll tx into Mac and DataPollManager (#3915)
This commit moves the implementation of data poll transmission
related logic into `Mac` and `DataPollManagr` from `MeshForwarder`.
commit 8a039efcf835086cbb14d2cbc5cb6b25dca68a89
Author: Jeff Bumgardner <jbumgardner@google.com>
Date: Mon Jun 17 13:07:15 2019 -0700
[docs] add SiLabs to list of supporters (#3923)
commit 73ffd2a9dc7c1bd06b528704d28f113aa2878548
Author: Rongli Sun <rongli@google.com>
Date: Tue Jun 18 00:03:55 2019 +0800
[thci] bug fixes and clean up the code style (#3817)
This commit squashes the approved updates, mainly include
1) bug fix or enhancement
- make pollperiod take effect
- fix the issue in finding the address of the specific address
(case-sensitive issue introduced in #3639)
- make `__sendCommand` more robust for possible extra serial output
3) Update along with master code and other minor updates
- the command used to find specific address (#3856)
- the IP6Prefix string len (from 20 to 19)
- correct typos
2) Code Style
- use single quotes for code
- update to use `print ()` and format `%`
- format via with `black` tool locally
`python3 -m black -l 79 -S tools/harness-thci -t py27`
- add travis python check example for THCI with `flake8` tool
notes: require OT code with #3856 (get specific address) and #3862 (`joiner id`)
commit 932cd78f0487d6e96caf13513c7a63ee3971f15b
Author: Jonathan Hui <jonhui@google.com>
Date: Fri Jun 14 12:45:39 2019 -0700
[style] apply missing const declarations (#3921)
commit 6dfd716da1a1f2f478eda31b039105c1be835190
Author: Jonathan Hui <jonhui@google.com>
Date: Fri Jun 14 12:40:30 2019 -0700
[auto-start] remove auto-start feature (#3920)
commit b4c56c447e83396ef1303e7b01f3bb88f066fe6a
Author: Abtin Keshavarzian <abtink@google.com>
Date: Fri Jun 14 09:33:40 2019 -0700
[mac] inline shorter methods / rename frame preparing methods (#3914)
commit 6f290088f2c321aca3a345cac6946cda919e7121
Author: Abtin Keshavarzian <abtink@google.com>
Date: Fri Jun 14 09:32:12 2019 -0700
[mesh-forwarder] enhance data poll log message (#3913)
commit 8c0c32548d6ebce19f77f15a502ffdafd83517df
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Thu Jun 13 18:07:38 2019 +0200
[doc] remove unused definitions (#3917)
commit d0c7ff2bb49ecbbc4f4ab66ecef780ed3fc0d9bc
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Thu Jun 13 17:35:28 2019 +0200
[nrf528xx] update nRF IEEE Radio Driver to version 1.4.0 (#3916)
Signed-off-by: Duda, Lukasz <Lukasz.Duda@nordicsemi.no>
commit caf268c45e0963b973a550d8a22f9cd11fa3855f
Author: Jonathan Hui <jonhui@google.com>
Date: Thu Jun 13 08:32:05 2019 -0700
[route-table] remove unused Ip6::Routes (#3911)
commit dbc04a8a0567b5418d51aad68c0d6c4267df007d
Author: Abtin Keshavarzian <abtink@google.com>
Date: Wed Jun 12 08:45:29 2019 -0700
[dataset] choose a preferred channel when forming new dataset (#3910)
This commit changes the `ActiveDataset::CreateNewNetwork()` to select
a random channel from the preferred channel mask if it is not empty,
otherwise a random channel from the supported mask is picked.
commit d614d4a08050821f03a5c2f467d9c1fba28ef502
Author: Abtin Keshavarzian <abtink@google.com>
Date: Wed Jun 12 08:36:54 2019 -0700
[mac] rename methods requesting frame transmission (#3909)
commit 485ab9ed38c81689284314dba47eff16cfb94a43
Author: Jonathan Hui <jonhui@google.com>
Date: Tue Jun 11 10:27:54 2019 -0700
[coap] add checks for OT_ERROR_NO_BUFS (#3904)
- Update Coap::Message::SetToken() to return error.
- Update Coap::Message::SetDefaultResponseHeader() to return error.
- Add error checking around calls to the above.
commit 65f1ac44dbde7f66efd670520f909a15d3f3c22c
Author: Abtin Keshavarzian <abtink@google.com>
Date: Tue Jun 11 10:27:38 2019 -0700
[spinel] remove unused definitions (#3890)
This commit removes unused macro definitions in spinel header file.
commit 9d7fc71917547d8381d8e50e2042e25b42d1cf66
Author: Abtin Keshavarzian <abtink@google.com>
Date: Tue Jun 11 10:27:17 2019 -0700
[spinel] validate decoded/unpacked UTF8 string (#3889)
This commit adds `spinel_validate_utf8()` function which verifies
whether a given (null terminated) sequence of bytes (string) follows
the UTF8 encoding format. This function is then used to check any
decoded/unpacked spinel UTF8 type. This commit also adds test-cases
in spinel to check the behavior of the new function with a set of
UTF8 valid and invalid strings.
commit 738c1b3574741a498a1105688770c9bb59d73cd4
Author: Jonathan Hui <jonhui@google.com>
Date: Mon Jun 10 08:45:14 2019 -0700
[tests] remove windows-specific test support (#3907)
commit 46bad7bee6c28c222ccb28ebad6537d3837d957c
Author: Jonathan Hui <jonhui@google.com>
Date: Mon Jun 10 08:44:48 2019 -0700
[cli] remove "s_" prefix from static methods (#3905)
commit e95789e819d346174f1f7eafe333ece763e66be9
Author: Abtin Keshavarzian <abtink@google.com>
Date: Thu Jun 6 18:20:59 2019 -0700
[doc] remove spinel-protocol-src documentation files (#3903)
This commit removes the files under `doc/spinel-protocol-src`
since all the related docs are moved to `spinel.h` or other related
header files.
commit a508e5ebe533282dc1db1159c1394773579e048b
Author: Abtin Keshavarzian <abtink@google.com>
Date: Thu Jun 6 18:00:08 2019 -0700
[spinel] add framing and data type docs in header file (#3903)
This commit also adds the SPI framing protocol documentation in
`ncp_spi.h`.
commit 0ffb4ff1d4a588bc4da4072376401fead3b48f5b
Author: Abtin Keshavarzian <abtink@google.com>
Date: Thu Jun 6 16:07:37 2019 -0700
[toolchain] remove the unused definition UINT32_MAX
commit 2a5403d94aacaf3eec0fb6689f32a0c978dc1997
Author: Abtin Keshavarzian <abtink@google.com>
Date: Wed Jun 5 18:03:13 2019 -0700
[sntp-clinet] simplify uint64 constants
commit d52aa05b5421c0631b4272201242d0554ed636dc
Author: Abtin Keshavarzian <abtink@google.com>
Date: Fri Jun 7 09:08:33 2019 -0700
[ncp] spinel prop to get a new dataset (use when forming new network) (#3902)
This commit adds a new property `SPINEL_PROP_THREAD_NEW_DATASET` in
spinel to create a new Operational Dataset to use when forming a new
network. This property maps to `otDatasetCreateNewNetwork()`
commit 49150943c194980751b72d43d791007d0fbe5a38
Author: wgtdkp <wgtdkp@google.com>
Date: Fri Jun 7 02:57:09 2019 +0800
[dtls] invoke callback after DTLS disconnect timeout (#3897)
commit c14cc609628065ecc9a8ae9bada32949d28df5cd
Author: Kamil Sroka <kamil.sroka@nordicsemi.no>
Date: Thu Jun 6 20:55:18 2019 +0200
[windows] remove unsupported platform (#3878)
commit e482edb0f11262bfeb4c7ff3f8f3936431064ac4
Author: Kamil Sroka <kamilsroka92@gmail.com>
Date: Wed Jun 5 20:02:49 2019 +0200
[mbedtls] add threading errors translation (#3900)
commit 73f17031a15ca0dca5a97ffc42d9a4e7a22f466b
Author: Yakun Xu <xyk@google.com>
Date: Thu Jun 6 01:14:09 2019 +0800
[random] assert aMax is bigger than aMin (#3894)
commit 7c10be51fa76fc3f5faf7d32ae0a1c903e8aa7cd
Author: Abtin Keshavarzian <abtink@google.com>
Date: Wed Jun 5 10:13:40 2019 -0700
[message] remove the AllMessageQueue in MessagePool (#3893)
This commit removes the all-messages queue from `MessagePool`. This
simplifies the `Message` header `MessageInfo` and allow a message
to be inserted into one linked list.
commit 8c08fd88156db37d9b2ccaec2ff29d4b9c559029
Author: Kamil Sroka <kamil.sroka@nordicsemi.no>
Date: Wed Jun 5 19:12:50 2019 +0200
[build] rename ncp_radio to rcp (#3580)
commit b9d20b590e51b410c6f6faa0b3c886aa303cf248
Author: Seth Rickard <s-rickard@ti.com>
Date: Tue Jun 4 17:04:46 2019 -0500
[cc13x2,cc26x2] update CC13X2 CC26X2 driverlib (#3888)
commit f51598ea6c9fd505b80f0889c0b129eed8ba9cb3
Author: Li Cao <irvingcl@google.com>
Date: Tue Jun 4 22:31:33 2019 +0800
[android_mk] add random_crypto_api.cpp to Android.mk (#3895)
commit 782ce52a6ee75e46668e5cd417a7531053033922
Author: Zhanglong Xia <zhanglongxia@google.com>
Date: Tue Jun 4 22:29:18 2019 +0800
[ncp] update static checking for diag output buffer size (#3891)
commit bc8e3e31a92f4493504c3e7cb332dc4496c58e3a
Author: rongli <rongli@google.com>
Date: Mon Jun 3 23:26:28 2019 +0800
[dhcp] fix solicit request issue (#3887)
commit 5d6ed3dd7143746eaeb447b8c3b643dbca97de6c
Author: Joseph Newman <joseph@josephn.net>
Date: Mon Jun 3 16:24:49 2019 +0100
[settings] add option to store settings in volatile storage (#3811)
commit 2266b5eb27866e1620b99517784ca2fc8eab1399
Author: Abtin Keshavarzian <abtink@google.com>
Date: Fri May 31 09:15:58 2019 -0700
[instance] update order of member variables (#3886)
This commit updates order of member variable definitions in the
Instance class to ensure that objects that may be used by others are
initialized first. In particular, Tasklet and Timer Schedulers, and
RandomManager are initialized first. On FTD/MTD, this is followed by
Notifier, Settings, and MessagePool objects.
commit f5dcae409331f9e08178326db42ece901795be6c
Author: Joseph Newman <joseph@josephn.net>
Date: Fri May 31 17:14:09 2019 +0100
[time-sync] reset sequence upon joining a new partition (#3884)
- reset sequence upon joining a new partition
- ensure leader is always authoritative
commit 6d1d7b2404d2d93280dab78d7bf7dc100608db25
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Fri May 31 18:10:40 2019 +0200
[cli] count failed ping try (#3882)
commit df0a5787c447e9dfae64ce57d66055412084c387
Author: Abtin Keshavarzian <abtink@google.com>
Date: Fri May 31 09:09:42 2019 -0700
[hdlc] update MultiFrameBuffer to allow saved frames to be re-read (#3881)
This commit updates the `MultiFrameBuffer` class implementation mainly
how the saved frames in buffer are read. The new code allows a user to
re-read the frames again. This change makes the implementation simpler
and more flexible. The corresponding unit test is also updated to
verify new behavior.
commit 99937016c06674733a2b4c19abcf91cc5b4af949
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Wed May 29 22:46:56 2019 +0200
[cli] extend ipaddr command for selective address printing (#3856)
commit 787184d4bb5bd6390176fe07cad868dfd4e54365
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Tue May 21 13:01:01 2019 -0700
[docs] enhance commissioning docs for CLI (#3862)
- Separate into separate README files.
- Add quick start guide.
commit 204d0a91a3de1298de7e91554cae54f4402a2d70
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Mon May 20 13:47:46 2019 -0700
[commissioner] add callback for joiner events (#3862)
commit 1abf57dd2f2d4438e8d2b11bcc89cbceaa8f90cd
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Fri May 17 15:49:59 2019 -0700
[commissioner] add callback for state changes (#3862)
commit 68beda5b078aab13c32bc627d9c506117bd218c0
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Fri May 17 13:20:07 2019 -0700
[cli] move commissioner to separate source files (#3862)
commit 9cd11a2761079578f0fb082474b768a6a0b74a8d
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Fri May 17 12:37:59 2019 -0700
[cli] move joiner to separate source files (#3862)
commit 6b4f8a8829197b18000db12ac2c561c940c0875f
Author: Yakun Xu <xyk@google.com>
Date: Wed May 29 02:50:02 2019 +0800
[mac] keep the second energy scan sample (#3871)
This commit fixes an issue where the second sample is skipped
because the timer had not expired yet.
commit 754da79286702fceccbb9397bf9d4e7c9dfd3c57
Author: Kamil Sroka <kamil.sroka@nordicsemi.no>
Date: Tue May 28 19:19:36 2019 +0200
[doc] define missing groups (#3876)
commit 2695dc982f0119e91c6fc30a51c7ec516df119f6
Author: Yakun Xu <xyk@google.com>
Date: Wed May 29 01:15:52 2019 +0800
[cli] fix coap secure typo (#3873)
commit 9df0bac4d9c559f9b36fac3608a2c9843efaafaa
Author: Abtin Keshavarzian <abtink@google.com>
Date: Tue May 28 10:15:20 2019 -0700
[mle] skip saving NetworkInfo before first device attach (#3870)
This commit changes the `Mle::Store()` behavior such that if a device
is not attached and there is no previously saved `NetworkInfo`
(indicating that the device has never been attached before) we skip
saving/updating the `NetworkInfo`. Note that on a device reset the
MLE/MAC frame counters (which are part of `NetworkInfo`) would reset
but device would also start with a new randomly generated extended
address (so the security nonces would not be repeated).
commit ec3d8fbf221088a4571ccda8b188e82df4799f02
Author: Kamil Sroka <kamil.sroka@nordicsemi.no>
Date: Tue May 28 19:14:04 2019 +0200
[cc2538] fix entropy.c (#3861)
commit df62add5a2e171af81f7d15d8fedbaff5da44f8c
Author: Yakun Xu <xyk@google.com>
Date: Wed May 29 01:13:33 2019 +0800
[cc2538] fix radio disabled for entropy get (#3872)
Restore RFCORE_XREG_FRMCTRL0 after generating random values.
commit fb11d96e618c4ede19755476cf4ef13726b745d6
Author: Jeff Bumgardner <jbumgardner@google.com>
Date: Fri May 24 19:10:26 2019 -0700
[docs] update logo for new branding (#3869)
commit 4aca02568514b4fa617bb9d47e43d98b1ba83432
Author: Abtin Keshavarzian <abtink@google.com>
Date: Thu May 16 13:58:41 2019 -0700
[toranj] update test-032 to cover addr reg after parent reset (#3829)
commit b5d86fa319caebd69f640168cd939407432ca56f
Author: Abtin Keshavarzian <abtink@google.com>
Date: Wed May 15 19:32:40 2019 -0700
[mle] only include mesh-local address in Child Update Response (#3829)
This commit changes preparation of "Child Update Response" (on a
child) such that only the mesh-local address is included in Address
Registration TLV. If the child has more addresses to register it
follows up with its own "Child Update Request".
commit d7c0e9e7161e52c0bbdfc9f301068cb8104f2a7e
Author: Abtin Keshavarzian <abtink@google.com>
Date: Fri May 24 11:31:15 2019 -0700
[commissioner] add provisioning URL member variable (#3863)
This commit moves the definition of Provisioning URL TLV member
variable to `Commissioner` class (from `Dtls` class).
commit e458ef8f5f54dbfc3b51dabe4327b69ad5dd76c3
Merge: 2279ef61 c566e458
Author: Jonathan Hui <jonhui@google.com>
Date: Fri May 24 11:24:30 2019 -0700
[nlbuild-autotools] update to 1.6.11 (#3868)
commit c566e458c4531bb2c1bc3ae782b172905fd51965
Merge: 2279ef61 c87b2834
Author: Jonathan Hui <jonhui@google.com>
Date: Thu May 23 21:00:46 2019 +0000
[nlbuild-autotools] update to 'https://github.com:nestlabs/nlbuild-autotools' tag '1.6.11'.
commit c87b283453998e7fabca4dd1a929b02d72e790a4
Author: Jonathan Hui <jonhui@google.com>
Date: Thu May 23 21:00:46 2019 +0000
Squashed 'third_party/nlbuild-autotools/repo/' changes from d4c1c470..6b6a11dc
6b6a11dc Changed the bootstrap shebang from sh to bash to address a bashism that arrived at 1.6.10.
e97e9053 Merge pull request #22 from nestlabs/feature/improve-bootstrap-diagnostics
e367ac5d Added additional up-front checks to the bootstrap script to ensure the required executables are available. On failure to find those executables, offer users actionable steps to resolve the error.
299a9e4e Added additional up-front checks to ensure the required executables are available. On failure to find those executables, offer users actionable steps to resolve the error.
3c6f52e3 Fixed spaces / tab issue.
806f45ec Merge pull request #21 from nestlabs/bug/do-not-use-default-goal-in-headers
4f0cbeb1 Now that both automake and pure make headers and footers are co-mingled, address an issues in which the .DEFAULT_GOAL specifications in the repos.mak footer were conflicting with makefiles that wanted a different default goal by moving those .DEFAULT_GOAL specifications to Makefile-bootstrap.
d5901db8 Merge pull request #20 from nestlabs/feature/downrev-m4
f589293b Added content for and updated default version to 1.6.8.
6edebaaa Rebased several automake header macros implementations on their pure make equivalents.
a64a84c5 Reworked how verbose progress is handled to simplify specification of progress macros.
13b17fcb Leverage both automake and pure make headers and footers by including the latter in the former.
a50c3fe6 Downgraded m4 from 1.4.17 to 1.4.5 since 1.4.5 seems to be the last version of m4 that does not abort on invocation in the m4 *rintf and friends compatibility and portability library.
987a35b7 Merge pull request #19 from nestlabs/bug/fix-nl-filtered-canonical
690d12e0 * Addressed issues with NL_FILTERED_CANONICAL in which the desired content to be filtered was not filtering correctly and in which the desired filtered canonical variables were not emitted in makefiles.
c141c281 Addressed an issue with _NL_FILTERED_CANONICAL in which the desired filtered canonical variables were not emitted in makefiles.
1a22c8f0 Addressed an issue with _NL_FILTERED_CANONICAL in which the desired content to be filtered was not filtering correctly.
git-subtree-dir: third_party/nlbuild-autotools/repo
git-subtree-split: 6b6a11dc98c6cc1f2faf2e729d0971704a5b5f28
commit 2279ef610eef80597bd789611d6931b95e08bf48
Author: Kamil Sroka <kamil.sroka@nordicsemi.no>
Date: Thu May 23 18:19:20 2019 +0200
[nrf52840] fix included headers in aes_alt.h (#3860)
commit 98ed5f16d709e747d5e1071ada018f72aaefd817
Author: wgtdkp <wgtdkp@google.com>
Date: Fri May 24 00:19:03 2019 +0800
[meshcop] fix bug of cipher suites check (#3858)
commit 50949cbad9d6683f65fdd79e72dbe8643a0dc882
Author: Yakun Xu <xyk@google.com>
Date: Thu May 23 12:28:39 2019 +0800
[channel-manager] fix interval units (#3857)
commit eb46303ff8318a76d5a9012c389d8b25667c68b8
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Wed May 22 19:59:04 2019 +0200
[cli] clean up IPv6 address printing (#3855)
commit 9e7162253c53c0890dff4ab7acba623a0c4b4052
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Wed May 22 19:57:58 2019 +0200
[api] expose API to obtain RLOC (#3854)
commit bcfa791912dd7bd3dd7432f9f6313b6dd5ca358b
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Wed May 22 10:57:04 2019 -0700
[mpl] add extra validation when removing MPL Option (#3851)
commit 8d462f316e53d5255ca643acae384f2448980a3b
Author: Duda, Lukasz <Lukasz.Duda@nordicsemi.no>
Date: Tue May 21 22:42:38 2019 +0200
[cert] add additional validation for Cert_6_1_06 (#3853)
Also fix link quality configuration.
commit 7310a3464630732e4dd757ce4fa11d36a1be2bb5
Author: Duda, Lukasz <Lukasz.Duda@nordicsemi.no>
Date: Tue May 21 22:41:50 2019 +0200
[cert] add additional validation for Router_5_1_11 test (#3853)
commit 26550d53c6252114f825842a0324a8ab0637e193
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Wed May 22 08:37:59 2019 -0700
[mle] fix bug in MLE attach behavior (#3850)
Bug was introdcued in 5a7faa5.
A device performing MLE attach first sends an MLE Parent Request looking
for routers. If no MLE Parent Response is received from a neighboring router
where the link quality is 3 in both directions, the device shall send a
second MLE Parent Request that includes both routers and REEDs.
This commit adds the bi-directional link quality check to determine whether
a second MLE Parent Request should be sent.
commit a9e63fe85dfc34fca9ba2a79043b6e85553ea988
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon May 20 16:57:18 2019 -0700
[toranj] add test for ML prefix change during attach (#3844)
commit ddda77cd8599e8f42622513f04a6be83c6674c95
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon May 20 16:59:35 2019 -0700
[ncp] emit link-local and mesh-local addresses before full table (#3844)
This commit changes the emitted properties from NCP such that the
mesh-local address (and prefix) are emitted before the entire IP
address table. This ensures that a host driver is aware of the
mesh-local prefix when it receives the full address table and can
correctly filter RLOC addresses (if desired).
commit a1b2d354b16b394a953b5f0bc108230eb0edbff4
Author: Abtin Keshavarzian <abtink@google.com>
Date: Sun May 19 00:05:21 2019 -0700
[ncp] emit router entry addition/removal from neighbor table (#3838)
This commit updates `NcpBase` to emit `VALUE_INSERTED/REMOVED` spinel
message to host for `PROP_NEIGHBOR_TABLE` when a router neighbor entry
is added or removed.
commit c0bc29197adc8f4db9b75aa3925021400dd48e95
Author: Abtin Keshavarzian <abtink@google.com>
Date: Sat May 18 11:03:05 2019 -0700
[mle-router] signal child/router entry being added or removed (#3838)
This commit updates the neighbor table callback to signal when
either a child or a router neighbor entry is being added or removed.
This change replaces and enhances the previous APIs relalted to child
table callback.
commit 167362130c01cdd9e3c3c84212b3f09f215f90cb
Author: Yakun Xu <xyk@google.com>
Date: Wed May 22 09:01:53 2019 +0800
[android] disable some optional features (#3821)
This commit removes unnecessary features of OpenThread on Android platform.
This commit also removes features disabled in openthread-config-android.h so
that these definitions can be overridden in Android.mk without warning.
commit fcac459e05388f7bcd951967e619b5f0500fc443
Author: Kamil Sroka <kamil.sroka@nordicsemi.no>
Date: Tue May 21 18:44:22 2019 +0200
[nrf528xx] add missing include guards (#3849)
commit 86ac0865a38e53cabe115ca5e1980901427788aa
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Tue May 21 09:02:07 2019 -0700
[docs] update quick start guides to use dataset method (#3834)
commit 72b07080852511128b1edc774b2fee1a739bebdc
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Tue May 21 17:32:46 2019 +0200
[thci] correct conversion of IPv6 prefix (#3846)
commit 8bb50d4ccde667295f892f976ee5ff90ba4a4a2f
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Mon May 20 20:37:19 2019 -0700
[ip6] add additional parse validation to Ip6::Address::FromString (#3843)
commit 607f7711e60a3abb4257f510f13791b54045bdb8
Author: Kamil Sroka <kamil.sroka@nordicsemi.no>
Date: Mon May 20 22:49:21 2019 +0200
[nrf528xx] check for otPlatEntropyGet() reentrancy (#3842)
commit f2b19befb1d46d0983c8e7d8a1f1ff92b1542fe3
Author: Kamil Sroka <kamil.sroka@nordicsemi.no>
Date: Mon May 20 21:21:18 2019 +0200
[mbedtls] add missing entropy/ctr_drbg errors to MbedTls::MapError() (#3841)
commit 32eead3290b697f6d3fbb25c29274abb2300e2cb
Author: Kamil Sroka <kamil.sroka@nordicsemi.no>
Date: Mon May 20 17:57:28 2019 +0200
[entropy] fix included headers in public API (#3840)
commit 20aedd3dd49bf47dac24644a0c632394657682a1
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon May 20 08:55:59 2019 -0700
[ncp] allow PARENT_RESPONSE_INFO property to be filtered by host (#3837)
commit 2eba610ef64c08234e900f49534a0f303abff9c2
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon May 20 08:54:31 2019 -0700
[ncp-buffer] include APIs using otMessage only in FTD/MTD builds (#3836)
This commit changes the `NcpFrameBuffer` and `SpinelEncoder` classes
to include the support for adding of `otMessage` to the buffer and the
related APIs in the FTD/MTD builds (exclude it from the RADIO (RCP)
build).
Remove `Message` related source files from radio mode Makefile.
commit 7b0537fb54a14736322a0689cf2f9d248cdf5e0e
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon May 20 08:52:49 2019 -0700
[tests] make pretty and update makefile (#3835)
* change the include order (make pretty)
* include header files in PRETTY_FILES
commit fa395d7205a9d157c072493a1849ac1e7ac087eb
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Mon May 20 08:50:43 2019 -0700
[time-sync] remove reference operator in C API (#3833)
commit 8b544f000df00d4ba03938ffc5cab3a8565182fe
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Sat May 18 03:53:07 2019 +0200
[nrf52xx] notify if ACK was sent with frame pending bit set (#3831)
commit 56fa9ac9cdb612895a524f00251135781603d90a
Author: Kamil Sroka <kamil.sroka@nordicsemi.no>
Date: Fri May 10 09:40:54 2019 +0200
[entropy] allow for entropy source sharing (#3818)
commit fc580c39e62e62d78ea375e637226bd9d8b295b6
Author: Kamil Sroka <kamil.sroka@nordicsemi.no>
Date: Tue May 14 12:30:19 2019 +0200
[nrf52811] decrease number of buffers to free some RAM (#3818)
commit b7b0eecfe2ee8aa04abb646dd63586291311c43c
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Thu May 16 21:39:32 2019 -0700
[ip6] add additional parse validation to Ip6::Address::FromString (#3830)
commit 4ee45b67d8ed595fd3f546719170d3efd1f051e4
Author: Kamil Sroka <kamil.sroka@nordicsemi.no>
Date: Fri May 17 06:39:15 2019 +0200
[nrf52840] add flag for enabling mbedTLS built-in threading support (#3828)
commit 7f0168cbc71aaf6a38e1c6d83afe80fc963f1a2c
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Thu May 16 21:37:19 2019 -0700
[da15000] remove unsupported platform (#3827)
commit ed23f050ad89c7c0bfeee29bf522f46895d3f750
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Wed May 15 13:27:11 2019 -0700
[cli] move dataset docs into separate file (#3825)
- Add quick start for forming network and attaching.
commit 934efbdf694c34ee015dacf353bd37282c991389
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Wed Apr 17 14:32:17 2019 -0700
[dataset] add API to create new dataset for forming a network (#3825)
commit 73fea7a02c22ad31dbee3bb0c971b63bad79ae82
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Wed May 15 12:56:19 2019 -0700
[channel-mask] move ChooseRandomChannel() to ChannelMask (#3825)
commit fa91da10ac15348f472be19906f14ae2bcaf2f4c
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Wed Apr 17 14:35:33 2019 -0700
[cli] add `dataset init` command to modify existing dataset (#3825)
commit 6d155bebd2aff38501814cd6e51f2a4bc41a1d2d
Author: Yakun Xu <xyk@google.com>
Date: Fri May 17 05:22:03 2019 +0800
[udp] expose an API to send UDP datagram (#3822)
This commit exposes an API to send UDP datagram, this is usefully when the
UDP receiver handler needs to send messages.
commit 1284384bd8141e3a5ff4d3dda4fef6cc7003f311
Author: Abtin Keshavarzian <abtink@google.com>
Date: Wed May 8 17:43:22 2019 -0700
[toranj] add test for SED attaching with multiple IP addrs (#3813)
commit 0b396918c18a4fd3f7d2e88d114b6e8701e5d3fa
Author: Abtin Keshavarzian <abtink@google.com>
Date: Thu May 9 15:02:07 2019 -0700
[mle] send shorter "Child ID Request" if needed to avoid frag (#3813)
This commit addresses the attach failure issue by an SED child trying
to register multiple IPv6 addresses in MLE "Child ID Request" message.
If the MLE "Child ID Request" requires fragmentation at 6LoWPAN layer,
this commit changes the code to abort the transmission and drop the
message and instead signal to MLE layer to prepare a shorter "Child ID
Request" by only including the mesh-local address in the `Address
Registration TLV`. After the child attaches, the new code will ensure
to trigger a "Child Update Request" exchange for the child to register
the remaining IPv6 addresses with its parents.
commit 06197eb7f53f138638add68044162a3085e034c2
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Thu May 16 08:28:51 2019 -0700
[docs] fixup see-also in doxygen (#3824)
commit 21ad4f5da3ae085cd08997c52bd3fd053501a125
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Wed May 15 21:00:12 2019 +0200
[nrf528xx] fix IAR warning (#3823)
This commit fixes IAR warning: undefined behavior: "the order of
volatile accesses is undefined in this statement"
commit 1a4b249a9527c88ea2f573fea9fda39bb025b5b1
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Wed May 15 17:55:05 2019 +0200
[ip6] add support for parsing embedded IPv4 address (#3819)
This commit facilitates the creation of the IPv6 address for NAT64 usage.
commit f42f6e5103d73ef9701a9d1c6af4da68e88aa555
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Tue May 14 17:41:20 2019 +0200
[nrf528xx] use Nordic's OUI in factory assigned IEEE EUI-64 (#3816)
commit 4eca76a53671a73886344dccaca792d87823c4d6
Author: Yakun Xu <xyk@google.com>
Date: Tue May 14 01:35:12 2019 +0800
[spinel] fix outdated comment (#3814)
`OPENTHREAD_ENABLE_POSIX_APP` was merged into
`OPENTHREAD_PLATFORM_POSIX_APP`.
commit 06ebaa767b7ba93620e597f2cefd3d49776231d2
Author: Abtin Keshavarzian <abtink@google.com>
Date: Sat May 11 21:13:37 2019 -0700
[notifier] fix the #if check testing LOG_CORE being enabled (#3812)
commit 27980027be035ec1294112277a740fcb8a762591
Author: Yakun Xu <xyk@google.com>
Date: Sun May 12 00:58:06 2019 +0800
[test] fix unclosed file (#3810)
This commit fixes python warning "ResourceWarning: unclosed file" when set
pexpect to None.
commit 20a03b407563e64519b285ace4d4f3346c7b9199
Author: Yakun Xu <xyk@google.com>
Date: Sun May 12 00:57:34 2019 +0800
[posix] use monotonic raw timer (#3809)
This commit enhances both posix-app and posix simulation to use the clock
CLOCK_MONOTONIC_RAW, which is supported on Linux and macOS. However, if
this clock is not available, it will fall back to CLOCK_MONOTONIC (for
BSD system).
On windows, it continues to use `gettimeofday()`.
commit 5a7faa539fc3e98af76a64760086fcc1107ded09
Author: Jiacheng Guo <gjc@google.com>
Date: Sun May 12 00:56:26 2019 +0800
[mle] maintain best parent candidate during router-only search (#3803)
* maintain best parent candidate during router-only search
* add margin for duplicate parent request check
commit 55da08861ee9685c8c3b1957d4a6345afa7e1764
Author: Yakun Xu <xyk@google.com>
Date: Fri May 10 21:35:28 2019 +0800
[posix-app] add option to skip reset RCP (#3800)
This commit adds option `--no-reset` to OpenThread POSIX app to suppress
sending soft reset command when initializing OpenThread radio on host.
This is for NCP SPI bus scenario, where spi-hdlc-adapter is involved who
will trigger hardware reset at start.
commit 333d5f7afb7f424b8dee798c674ccdff90f66c01
Author: Yakun Xu <xyk@google.com>
Date: Fri May 10 12:28:20 2019 +0800
[spi-hdlc-adapter] reset NCP/RCP on exit (#3801)
This commit triggers resetting NCP/RCP on exit, which ensures NCP/RCP
get back to uninitialized state so that they will not respond to 15.4
messages.
Note, host should disable soft reset by passing `--no-reset` for RCP.
Thus OpenThread POSIX app doesn't need to reset RCP when it exits.
commit 246c5eaf332aa87e20e763acb32664b3c7a8e779
Author: Thomas <thomas.cuyckens@qorvo.com>
Date: Thu May 9 23:21:46 2019 +0200
[gp712] enforce cross compilation by default (#3805)
commit 37f3a201bbbe2373a670955cee6aeee0acb93cfd
Author: ltaoti <50334379+ltaoti@users.noreply.github.com>
Date: Thu May 9 16:20:11 2019 -0500
[cc1352] fixes for integration with Texas Instruments examples (#3799)
* Fix otPlatRadioEnable always returning busy error
* Remove const from constructors
commit 505ba9cbeb387e1a6f81a206002eceadfe86518d
Author: Thomas <thomas.cuyckens@qorvo.com>
Date: Wed May 8 17:38:36 2019 +0200
[gp712] add include <stdbool.h> to resolve build issues (#3804)
commit 9368ea6c3ad966406767f31a37e56b4792406c63
Author: Jonathan Hui <jonhui@google.com>
Date: Mon May 6 08:48:28 2019 -0700
[6lowpan] return OT_ERROR_PARSE on MeshHeader::Init() failures (#3796)
commit 6f679e8fb0a3940158c4cac232d436d4ca1848f7
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Thu May 2 16:04:35 2019 -0700
[docs] update coap(s) docs (#3795)
commit d4063fe9b8cf3762904bbf5b29fda740a42e5867
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Thu May 2 16:00:53 2019 -0700
[cli] clean up coaps example implementation (#3795)
commit 1b9c50112e31c6cd243363f1807d55dd9d39ccae
Author: Marven Gilhespie <45208741+marvensilabs@users.noreply.github.com>
Date: Fri May 3 17:10:39 2019 +0100
[efr32] add support for entering EM2 low-power mode for sleepy devices (#3758)
Changes to EFR32 platform to allow entering EM2 low-power mode for sleepy devices
sleepy-demo applications added to examples/platforms/efr32.
commit 0aa39f8d13122e19b9bb39addc85762c80b34435
Author: Ciaran Woodward <c.woodward@cascoda.com>
Date: Thu May 2 17:08:27 2019 +0100
[doc] Add Cascoda to contributor list (#3794)
commit 408536b0343df504c7545b3ed03599d7b630e07d
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Thu May 2 08:46:06 2019 -0700
[docker] add build status badge (#3793)
commit a80098bbc1e3f08c286a9ec336d714f63c40d8cb
Author: Abtin Keshavarzian <abtink@google.com>
Date: Thu May 2 08:45:51 2019 -0700
[toranj] add thread commissioning test (single joiner) (#3792)
commit ae4ef9eb3efb321345346056c18d45cdb43b0ee6
Author: Yakun Xu <xyk@google.com>
Date: Thu May 2 23:44:37 2019 +0800
[timer] fix elapsed overflow (#3789)
This commit fixes a bug in the commissioner when a joiner's expiration
time has alerady elapsed.
This commit also introduces convenience methods for computing time
elapsed and diffs.
commit 267a3b3e2906924f9c38fdbb03cff1a95e33af79
Author: Ciaran Woodward <c.woodward@cascoda.com>
Date: Wed May 1 02:40:40 2019 +0100
[cli] add 'childip' command to cli for getting ip addresses of MTD children (#3791)
commit 617f8958dd8aa36e3b3f14ec32a230a9735dbbad
Author: Yakun Xu <xyk@google.com>
Date: Wed May 1 09:37:48 2019 +0800
[mesh-forwarder] verify data request is ack with fp=1 (#3785)
commit d348ce2bbc211b684162aca23f4ed67f074a1c10
Author: Abtin Keshavarzian <abtink@google.com>
Date: Tue Apr 30 14:12:28 2019 -0700
[dtls] convert some of the info level logs to debug level (#3788)
commit 79e0dd21ceff4d692c06d9860c321cd44db701a1
Author: Jonathan Hui <jonhui@google.com>
Date: Tue Apr 30 09:25:44 2019 -0700
[docker] copy source rather than git clone to support CI (#3787)
commit 0208d10563aa21c518092985c78ecf9cd223ab74
Author: Duda, Lukasz <Lukasz.Duda@nordicsemi.no>
Date: Thu Apr 25 22:15:42 2019 +0200
[metadata] enhance ReadFrom and RemoveFrom methods (#3786)
commit 1bd5920186013599afa0a473f88757add85b9e99
Author: Duda, Lukasz <Lukasz.Duda@nordicsemi.no>
Date: Thu Apr 25 22:12:46 2019 +0200
[joiner] remove potential memory leak (#3786)
commit f45f8228001c866b6d1e4f174455c1025d27115d
Author: Duda, Lukasz <Lukasz.Duda@nordicsemi.no>
Date: Thu Apr 25 22:09:04 2019 +0200
[coap] check error code on appending metadata (#3786)
commit 988be2a7f69a94cf8d3259a167e54bae575ca1a5
Author: Joseph Newman <joseph.newman@amberbox.com>
Date: Fri Apr 26 16:41:52 2019 +0100
[efr32] further UART driver refactoring (#3776)
- No longer queue 2x 32-byte buffers for UART receive. Upon
investigation, the RAIL library switches these buffers in software
(within the same ISR context as `receiveDone`), so it seems to be
pointless from a performance perspective in queuing multiple
buffers. Instead, now work with 64-byte buffers.
- Refactored `updateReceiveProgress` so that extra variable
`mLastCount` isn't required.
- Extensive testing at higher baud rates revealed race conditions and
some issues with detecting buffer full conditions.
- Added comments to clarify the logic
- Removed asserts after returning from RAIL library
functions. Contrary to my previous arguments, if the behaviour of
the RAIL library functions changes in the future (with regards to
the errors it returns), then somebody would have to remember to
check these asserts were still appropriate.
commit cee20c6a6605d3c23699c1a9299728ff82b6218d
Author: rongli <rongli@nestlabs.com>
Date: Fri Apr 26 23:38:13 2019 +0800
[data-poll-manager] fix unexpected interval (#3780)
commit f5ee3a5e65a8c1bddae503e31a1aa51684931f00
Author: Jiacheng Guo <gjc@google.com>
Date: Thu Apr 25 07:06:39 2019 +0800
[posix-app] timeout for rcp radio driver (#3749)
commit c972c5cb936ef1f640ab90fbe03e7f2631dbcb18
Author: Jonathan Hui <jonhui@google.com>
Date: Wed Apr 24 10:17:07 2019 -0700
[network-data] add bounds check when comparing server data (#3781)
commit 4e45b45796642c88bfcd162856511083a40f7835
Author: Jonathan Hui <jonhui@google.com>
Date: Tue Apr 23 22:10:40 2019 -0700
[dataset] allow setting partially complete active dataset (#3773)
When a partial dataset is stored, the device will attempt to attach to a
Thread network using the limited parameters available. If the device
successfully attaches, the device will then obtain the complete Active
Dataset from its Parent. If the device is router-capable, it will not
become a Router/Leader until it has successfully retrieved a complete Active
Dataset.
Saving a partial dataset supports out-of-band commissioning scenarios.
commit c5537e1b01c4b6961d24c8da1b7f59b60f8443e0
Author: rongli <rongli@nestlabs.com>
Date: Wed Apr 24 13:10:08 2019 +0800
[data-poll-manager] add StopFastPolls() support (#3763)
commit 2be525b352230c638cc11f15e3d1f85c10df8a7a
Author: rongli <rongli@nestlabs.com>
Date: Wed Apr 24 00:00:45 2019 +0800
[mle] allow attach and link sync between different Thread versions (#3779)
commit f184a9462b322f935781eb065a86fc8919ece317
Author: Abtin Keshavarzian <abtink@google.com>
Date: Tue Apr 23 08:59:40 2019 -0700
[meshcop] clip long strings for vendor name, model, version, data (#3778)
This commit ensures that if the passed-in string args (vendor name,
model, sw version, data or provisioning URL) in `Joiner::Start()`
are too long, they are clipped to the max size defined by the
corresponding TLVs.
commit 99f5790a49f916285767d242e1a1c97f66dfaea1
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon Apr 22 10:04:54 2019 -0700
[ncp] add spinel_meshcop_joiner_state_t enumeration (#3774)
This commit defines an enumeration in spinel for Joiner state which
is related to property `SPINEL_PROP_MESHCOP_JOINER_STATE`.
commit 5adac06d08284dd476a64e551afe25bd262b9aea
Author: Jonathan Hui <jonhui@google.com>
Date: Thu Apr 18 13:42:33 2019 -0700
[logging] fix BeaconPayload::ToInfoString() print of network name (#3771)
`BeaconPayload::GetNetworkName()` does not return a NULL-terminated string.
This commit fixes `BeaconPayload::ToInfoString()` to pass a NULL-terminated
string to the string formatter.
commit a09d8da38ccb5e4287bc3f41dbf8553c3f5db7bd
Author: Jonathan Hui <jonhui@google.com>
Date: Thu Apr 18 13:29:59 2019 -0700
[mpl] discard datagrams with multiple MPL Options (#3764)
Credit to OSS-Fuzz.
commit 8ff7950cd2ad8df076f95db7ceff398f6f26bbab
Author: Piotr Szkotak <piotr.szkotak@nordicsemi.no>
Date: Thu Apr 18 17:46:28 2019 +0200
[nrf52840] update Nordic example CDC ACM driver (#3772)
commit 24307f1ba94aa85ec185f7e0a5679a83fc6db264
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Wed Apr 17 12:42:03 2019 -0700
[pskc] set random PSKc when generating a new Active Dataset (#3769)
When generating a new Active Dataset, the current PSKc value is used. Because
the PSKc is initialized to all zeros, new Active Datasets have a default
PSKc value of all zeros.
This commit checks if the PSKc has been set (i.e. not all zeros) and, if not
set, generates a random PSKc when creating a new Active Dataset.
commit f46fbb844d62f4695d9e25e2ed154ba4b39c0333
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Wed Apr 17 12:12:28 2019 -0700
[pskc] switch to using otPSKc struct (#3769)
commit 987e96ba0daf728dc629bb076ee11d3f6240e1db
Author: Abtin Keshavarzian <abtink@google.com>
Date: Wed Apr 17 19:08:11 2019 -0700
[ncp] update MESHCOP_JOINER_COMMISSIONING to allow vendor info to be given (#3767)
This commit updates `SPINEL_PROP_MESHCOP_JOINER_COMMISSIONING`
definition to allow vendor info (name, model, sw version, data) to be
specified. All new parameters are optional and if not specified in the
spinel frame (or an empty string is given), OpenThread default values
will be used instead.
This change in `SPINEL_PROP_MESHCOP_JOINER_COMMISSIONING` format keeps
it backward compatible with previous definition, ensuring any driver
using the previous format will be parsed in the same way.
commit bd2e3ef8f945973dfc327190759bf02d2f5c9df0
Author: Shu Chen <chenshu@google.com>
Date: Wed Apr 17 02:16:53 2019 +0800
[radio-spinel] exit if it fails to get radio channelmask from rcp (#3760)
commit 8fd8d1e0f968467ab986e43215e2aaec63b65bb6
Author: rongli <rongli@nestlabs.com>
Date: Wed Apr 17 01:28:14 2019 +0800
[mle] enter fast poll mode when dequeue delayed MLE Data Request (#3761)
commit 02463bdda18209e785ae015abc1287185ffaaacd
Author: Joseph Newman <joseph@josephn.net>
Date: Tue Apr 16 17:40:01 2019 +0100
[efr32] improve USART driver error handling (#3745)
* efr32 uart dma changes
* correct handling of queue full
commit d6e58b15ca78ab5207a4e26ddb1d6597e3710774
Author: Jonathan Hui <jonhui@google.com>
Date: Tue Apr 16 08:23:10 2019 -0700
[mle] do not apply active dataset from settings after attaching (#3762)
A device should use the Active Dataset in use by the partition that it is
attached to, not the one stored locally in non-volatile.
commit 9fa48b54a847f9182df202e2bb4a95cace40c4d1
Author: Kamil Sroka <kamilsroka92@gmail.com>
Date: Tue Apr 16 17:22:29 2019 +0200
[nrf528xx] don't return OT_ERROR_FAILED from otPlatRadioTransmit (#3757)
commit db3ea162a8af635d9d440580fa78141f9f389414
Author: Abtin Keshavarzian <abtink@google.com>
Date: Tue Apr 16 08:21:45 2019 -0700
[message] add and use AppendTlv (#3752)
This commit adds a new method `AppendTlv` to `Message` class which
appends a fully formed TLV to the message. This commit also changes
the core modules to use the new method when appending a TLV.
commit 62b35b67c39da22a18a8915b4bfda9cf336ea0f1
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Mon Apr 15 17:38:18 2019 +0200
[nrf52840] update README.md after SDK release (#3759)
commit d3fdf84ee0c7b42a4af250d2c786c8972a40fdaa
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Mon Apr 15 17:36:47 2019 +0200
[platform] return error on incorrect otPlatRadioDisable usage (#3756)
commit bd517c9bf20dc923c4d78a223022445891b1bfdd
Author: Jonathan Hui <jonhui@google.com>
Date: Fri Apr 12 08:48:35 2019 -0700
[ip6] clean up return values for `otIp6Send()` (#3751)
- Return OT_ERROR_PARSE when encountering mal-formatted headers.
- Return OT_ERROR_NO_ROUTE when there is no route to host.
- Document possible return values for `otIp6Send()`.
commit b7b085c9f97ee2d9f16415249ccdcc9f28663fb8
Author: Jonathan Hui <jonhui@google.com>
Date: Thu Apr 11 11:59:20 2019 -0700
[fuzz] advance alarm time to cover timer handlers (#3753)
commit b1ac8a4f197da3ba3677d368574538f188de3832
Author: Abtin Keshavarzian <abtink@google.com>
Date: Thu Apr 11 10:11:59 2019 -0700
[joiner] remove static requirement for vendor parameters in Start() (#3748)
This commit updates the `Joiner` class implementation to remove the
requirement for `Start()` vendor related parameters (vendor name,
model, sw version, data) to be static (string). This is done without
requiring the `Joiner` class to use member variables to store/copy
the strings by preparing the "Joiner Finalize" message early on (note
that these parameters are included in this message) and keeping track
of the dynamically allocated `Coap::Message` pointer instead.
commit eab62dd6993a5f8e853dcf063545f68c74443bff
Author: Abtin Keshavarzian <abtink@google.com>
Date: Wed Apr 10 08:33:20 2019 -0700
[spi-hdlc-adapter] allow log level to be changed (#3747)
This commit contains the following improvements in
`spi-hdlc-adapter`:
- It changes the default syslog log level to `LOG_WARNING`.
- It enhances the `--verbose[=num]` option to allow negative values
to reduce the log level. Note that this change keeps the behavior
backward compatible (it is an add-on).
- It updates the `print_help()` and the `README.md` files to document
new behavior of `--verbose` option.
commit 2bacf31731f8ac1066135151135fb23fafb88cd0
Author: Yakun Xu <xyk@google.com>
Date: Wed Apr 10 23:31:53 2019 +0800
[travis] support clang code coverage (#3741)
commit 5f95995c659987f2a9925fb2f91decdafa33aeff
Merge: ae04d592 68260c2e
Author: Jonathan Hui <jonhui@google.com>
Date: Tue Apr 9 20:58:00 2019 -0700
[nlbuild-autotools] update to 1.6.6 (#3746)
commit 5ce1e001d2e672cb547bd318e49a8df429a3a2f1
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Tue Apr 9 19:59:02 2019 +0000
Squashed 'third_party/nlbuild-autotools/repo/' changes from 75faaf5f..d4c1c470
d4c1c470 Merge pull request #18 from bukepo/code-coverage/fix-for-clang
21fb7d7b bump version and update changes
271abad7 Add code coverage for clang
3597c61e Merge pull request #17 from nestlabs/bug/fix-repos-remake-issue
git-subtree-dir: third_party/nlbuild-autotools/repo
git-subtree-split: d4c1c47033060e6f6bbd6b9203e2d1ed26107979
commit 68260c2ed36ff691b123504af9cb51d8cd820c88
Merge: ae04d592 5ce1e001
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Tue Apr 9 19:59:02 2019 +0000
Update to reflect upstream repository 'https://github.com:nestlabs/nlbuild-autotools' at tag '1.6.6'.
commit ae04d5928030b809c72dd710f0c2a00d847aaa3f
Author: Jonathan Hui <jonhui@google.com>
Date: Mon Apr 8 21:25:37 2019 -0700
[lowpan] suppress unchecked return warning in Lowpan::Compress() (#3740)
commit a43a263a0c17517f5d36a57243424c61564524e9
Author: Shu Chen <chenshu@google.com>
Date: Tue Apr 9 12:25:16 2019 +0800
[api] remove otLinkGetPhyChannel*() Link APIs (#3736)
commit bbb19c2aa294dbc4c542e71af81d4539971dc237
Author: Yakun Xu <xyk@google.com>
Date: Tue Apr 9 12:24:52 2019 +0800
[radio] only allow disable in sleep state (#3733)
There's missing error definition for otPlatRadioDisable(). This commit adds
an error case OT_ERROR_INVALID_STATE to make sure this is only called
when the radio is in sleep mode.
commit 5d2e6cd0d9c51ad6e7004e3b84dc20888f784336
Author: Joseph Newman <joseph@josephn.net>
Date: Mon Apr 8 18:39:45 2019 +0100
[efr32] take advantage of DMA for efr32 USART receive (#3730)
commit 4c06b47c34a6493d443e2ae292f649efd49c56b9
Author: Shu Chen <chenshu@google.com>
Date: Tue Apr 9 01:35:18 2019 +0800
[channelmask] add radio supported and preferred channel mask (#3732)
Add new radio platform APIs:
* otPlatRadioGetSupportedChannelMask(); // supported channel mask: the device is allowed to be on;
* otPlatRadioGetPreferredChannelMask(); // preferred channel mask: the device prefers to form on.
Implement some default radio platform APIs.
Add spinel property `SPINEL_PROP_PHY_CHAN_PREFERRED` to retrieve Preferred ChannelMask.
commit 174d0767222154feb4676473d32699edec024a75
Author: Yakun Xu <xyk@google.com>
Date: Mon Apr 8 12:34:40 2019 +0800
[radio-spinel] parse frame rx timestamp (#3731)
This commit parses rx timestamp of radio frame received by RCP, no matter
data frames or ACK frames.
* add OT_NUM_ERRORS as number of defined errors.
* allow empty SPINEL_DATATYPE_DATA and SPINEL_DATATYPE_DATA_WLEN when
parsing spinel packets.
commit 7c3bce3a4f5c06c795763f5e0d7cb779052d5163
Author: Abtin Keshavarzian <abtink@google.com>
Date: Thu Apr 4 17:48:44 2019 -0700
[toranj] verify "RCPVersion" is gettable on posix-app mode (#3735)
This commit updates the `test-001` to allow extra properties to
be verified when running under posix-app model. The new test
ensures "POSIXApp:RCPVersion" is gettable.
commit 6e718a1c76351c5ea5ca536f4ed75363e7b16c8b
Author: Abtin Keshavarzian <abtink@google.com>
Date: Thu Apr 4 17:39:22 2019 -0700
[ncp-base] fix the `#if` check for posix-app (#3735)
commit 37a662197f65e2d9e94975f9e932e863758bf7c9
Author: ozanoner <ozan.oner@gmail.com>
Date: Sun Apr 7 05:54:07 2019 +0100
[coap] remove otCoapMessage from CoapSecure::DefaultHandler() (#3737)
commit 9847be8328e78d03a4f79627ef11742995765d4b
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Sun Apr 7 06:41:45 2019 +0200
[build] fix build with announce sender enabled (#3739)
commit 33b903bc627028c56baa639fc1ee8586d94d3292
Author: Yakun Xu <xyk@google.com>
Date: Sun Apr 7 12:40:54 2019 +0800
[posix-app] fix conversion warnings (#3738)
This commit fixes conversion warnings and also adjusts one travis test to
check these kind of issues.
commit 83c9270c293e2398aefd6b19b897ab7f0b8b648e
Author: Abtin Keshavarzian <abtink@google.com>
Date: Tue Mar 26 16:36:38 2019 -0700
[joiner] update Joiner implementations
This commit contains the following changes to `Joiner` class
implementations:
- Notifier events are signaled on all `Joiner` state changes
and are logged (through use of `Joiner::SetState()`).
- Discover scan during join uses filtering (removes the need
to perform filtering by the `Joiner` class itself).
- `Joiner::Stop()` is changed to allow it to be called at any
stage of join process and it correctly cleans all states.
- Priority assignment to discovered networks is updated/fixed
(prioritizing networks with an exact match of Joiner ID in their
Steering Data compared to ones that allow all joiners, and
sub-prioritize based on signal strength).
- Logs are updated.
commit 873a710a1a7f802abf1a555dea97e50bc727265e
Author: Abtin Keshavarzian <abtink@google.com>
Date: Wed Mar 27 12:29:37 2019 -0700
[mle] update discover scan filtering
This commit makes improvements to MLE Discover Scan implementation,
mainly the steering data filtering logic:
- The SHA-256 of EUI64 (Joiner ID) and then the related bloom filter
CRC-CCIT and CRC-ANSI indexes are calculated and saved at start of
scan operation (removing the need to re-calculate them on every scan
result).
- When filtering is enabled, a Discover Scan result with no Steering
Data is now rejected.
- `Mle` class member variables related to discover scan operation
are renamed to start with `mDisocver` prefix.
commit c02a985609d10db7b9da0f955347d52d43949704
Author: Yuzhuo Yang <yuzyang@google.com>
Date: Thu Apr 4 12:52:07 2019 +0800
[diag] use OT_ARRAY_LENGTH to unify code and shrink image size (#3677)
commit 6dc3b28b3f1d43c71dd9dc7756fdb0f179398409
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon Apr 1 14:58:03 2019 -0700
[radio-spinel] add meta-data (CSMA/retry counts) in `STREAM_RAW` property set (#3727)
This commit updates `RadioSpinel::RadioTrasnmit()` to include the
`otRadioFrame` parameters (max CSMA backoffs, max frame retries, and
CSMA-CA enabled flag) as part of meta-data in `PROP_STREAM_RAW`
property `VALUE_SET` command.
commit a4614ac7958b6a00aa829985f7592385c74512e4
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon Apr 1 14:46:27 2019 -0700
[ncp] decode meta-data (CSMA/retry counts) in STREAM_RAW property set (#3727)
This commit adds logic to decode and use the optional meta-data fields
in a `VALUE_SET` command (frame tx request) for `PROP_STREAM_RAW` in
raw-link or radio only (RCP) mode. The optional meta-data fields map
to definitions in `otRadioFrame` to specify number of CSMA backoffs
attempts, frame retry attempts, whether to enable CSMA-CA for this
frame or not. If any optional field is not included, default value
is used instead. This aligns the implementation with specification
of `PROP_STREAM_RAW` in `spinel.h`.
commit 8c0fed1c229e1fe4b0fd2579df2fef5b18c2a929
Author: Yakun Xu <xyk@google.com>
Date: Wed Apr 3 05:59:17 2019 +0800
[posix-app] fix alarm issue when time changed (#3728)
Current posix app uses gettimeofday() to get time, which will be affected
by system time changes, and results in alarm not fired. This commit uses
clock_gettime() instead to avoid this issue.
commit c862afc6b3fe1ed7e59cfaaa4142016d2868b00a
Author: Abtin Keshavarzian <abtink@google.com>
Date: Thu Mar 28 12:41:05 2019 -0700
[mac-filter] hide the mFiltered in public filter APIs (#3722)
This commit improves the `Mac::Filter` implementation. It mainly
removes the internally used `mFiltered` variable from the public
`otMacFilterEntry` definition and moves it inside `Mac::Filter`
private definitions.
commit b6a539c8d57e49b43ef9889717039fa2204e57a8
Author: Abtin Keshavarzian <abtink@google.com>
Date: Fri Mar 29 15:31:28 2019 -0700
[code-utils] add OT_ARRAY_END() macro (#3722)
This commit adds `OT_ARRAY_END(aArray)` macro which returns a
pointer to the end of a given array (pointing to the past-the-end
element).
commit dd1e0f4695c25beb91986290d046f10b29714234
Author: Yakun Xu <xyk@google.com>
Date: Wed Apr 3 00:11:46 2019 +0800
[cli] add legacy stub in cli (#3729)
This commit adds stubs for legacy APIs.
commit 8f112eeb5a9ce476bea8dc8598a57f99221fc38d
Author: Abtin Keshavarzian <abtink@google.com>
Date: Tue Apr 2 09:07:25 2019 -0700
[locator] adding Get<Type> to InstanceLocator (#3714)
This commit changes how the objects in OpenThread access each other.
It adds a template `Get<Type>()` method in `InstanceLocator`. This
method returns a reference to a given `Type` object belonging to the
OpenThread instance (e.g. `Get<MeshForwarder>()` returns a reference
to `MeshForwarder` object on the OpenThread instance). The
`InstanceLocator` is used as base class of all OpenThread classes so
every class can easily access any other object. This commit also
changes how the main instance is retrieved in `InstanceLocator` for
the single-instance case. The method `GetInstance()` directly uses the
raw buffer `gInstanceRaw`. This change helps make the `GetInstance()`
and in turn all `Get<Type>()` methods in-line. This commit also
removes the existing getters across all classes to use the new
`Get<Type>()` model.
commit 9dfa4e2b3108cd6c501bb4a446df881cd756ef9b
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Mon Apr 1 18:06:43 2019 +0200
[nrf528xx] remove unnecessary dependencies from app_error_weak implementation (#3725)
commit 2daa892f56ce4843d6c74a10779683d181117df0
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon Apr 1 09:05:58 2019 -0700
[dataset] use Read/Save method names instead of Get/Set (#3723)
This commit renames methods in `DatasetLocal`, `DatasetManager`,
'ActiveDataset' and `PendingDataset` to use `Read()` and `Save()`
in place of `Get()` and `Set()` respectively. This aligns the
names with `Setting` class indicating that these method do
read/save Dataset info in non-volatile memory.
commit 88912d23ae39eeeb6d354860a0b9136d3fce464a
Author: Jiacheng Guo <gjc@google.com>
Date: Tue Apr 2 00:05:10 2019 +0800
[nrf52840] signal event in usb cdc (#3715)
commit 81fd8a8b10fb92aa1c9616ad90ddb46ae10674ff
Author: dismirlian <dismirlian@gmail.com>
Date: Mon Apr 1 12:52:47 2019 -0300
[examples] software implementation of source match table (#3717)
* [examples] add software implementation of source match table
* [efr32] modify radio driver to use generic implementation of source match table
* [efr32] configure soft source match table PAN ID
commit 19544490e37a88642f5e016388038a9ac9def174
Author: Jonathan Hui <jonhui@google.com>
Date: Thu Mar 28 22:29:58 2019 -0700
[style] replace reinterpret_cast with static_cast where possible (#3718)
commit ecad71733d0a87c702e75fa8cdbae781ca70b37d
Author: Joseph Newman <joseph@josephn.net>
Date: Fri Mar 29 05:29:25 2019 +0000
[ncp] add service spinel bindings (#3659)
* add spinel bindings for service add/remove/get
* add leader services query
commit ca0b1d8229400449d70d6454a7ffc6ba28a3911e
Author: Jeff Bumgardner <jbumgardner@google.com>
Date: Wed Mar 27 18:44:41 2019 -0700
[docs] fix instances of "the the" in comments (#3720)
commit 0b6cd5b115d3394d21f68a57b0b445a90ca8b5ca
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Wed Mar 27 16:47:13 2019 +0100
[nrf528xx] add otSysEventSignalPending call in spi-slave driver (#3716)
commit 3b41c7ef44fcaa5a6692dede4a84958deb04484d
Author: Jonathan Hui <jonhui@google.com>
Date: Tue Mar 26 12:17:31 2019 -0700
[fuzz] advance alarm time to cover timer handlers (#3710)
commit 24d5d3db6688c807600e475f9f54215578067179
Author: dismirlian <dismirlian@gmail.com>
Date: Tue Mar 26 12:53:10 2019 -0300
[efr32] minor enhancements to radio driver (#3713)
* Add static linkage to local functions
* Simplify clearing checksum of source match table entry
commit 1fefe2e68345b7130177bf9bf40f00e2fb7263da
Author: Jonathan Hui <jonhui@google.com>
Date: Mon Mar 25 08:36:19 2019 -0700
[dtls] return error on multiple calls to `Dtls::Open()` (#3709)
commit a9e0fe9ec6a1a77297bae85f022b9f7dbcdee8e2
Author: Jonathan Hui <jonhui@google.com>
Date: Mon Mar 25 08:35:56 2019 -0700
[udp] add Udp::IsBound() method (#3708)
commit 23ff1015d4f68b07c303ab35c9656f43642d2c1d
Author: Yakun Xu <xyk@google.com>
Date: Fri Mar 22 23:12:55 2019 +0800
[core] change return type of otMessageRead() (#3707)
commit 49c4b6349189789a8e32ef7d885d9c8abccf327e
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Thu Mar 21 09:52:32 2019 -0700
[style] make parameter names consistent across decls and defs (#3705)
commit d32ca03a8b62a5b4f84be12c3894a837451b84b4
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Wed Mar 20 12:34:26 2019 -0700
[style] remove redundant control flow (#3705)
commit 0de1fff5706090261f404b0d4c49f2874b6b0b18
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Wed Mar 20 12:28:57 2019 -0700
[style] remove redundant declarations (#3705)
commit 63cf08d04a70419fc09343df8ee88deab57390cd
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Wed Mar 20 12:20:59 2019 -0700
[style] const-qualify pointer args where possible (#3705)
commit cadfc6d2996d418a6f072ce270f1dcd556d446ad
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Wed Mar 20 11:59:09 2019 -0700
[style] remove static member access through instances (#3705)
commit c7cd21f8b73f0f7dfced7ac05fa00ed340baf6c2
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Wed Mar 20 11:46:11 2019 -0700
[style] remove const values in declarations (#3705)
commit e00114b3f157d3da5a610d10345a210c9a46eca5
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Wed Mar 20 11:23:57 2019 -0700
[style] mark single-arg constructors as explicit (#3705)
Avoids unintentional implicit conversions.
commit f2d93917c21034b9641d27e7eafc296842611dc4
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Wed Mar 20 10:46:33 2019 -0700
[style] remove using decls from global namespace in headers (#3705)
commit 8656101724c2cd729c96ffe40fb263099ed859e5
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Wed Mar 20 09:58:47 2019 -0700
[style] remove unused using decls (#3705)
commit 2ab9b49042d90f0fe4d521d3888d94b592eb3b92
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Wed Mar 20 09:27:41 2019 -0700
[style] use C++-style casts (#3705)
commit 8ed382207d6b68fd3f897a4672ffd55b37440260
Author: Jonathan Hui <jonhui@google.com>
Date: Fri Mar 22 08:11:56 2019 -0700
[efr32] fix build issues when sub-GHz support is not configured (#3704)
commit 5f220682cda8570939d4b3538ca257ee97861992
Author: Yakun Xu <xyk@google.com>
Date: Fri Mar 22 23:11:39 2019 +0800
[tests] add an inspector for travis certification tests (#3700)
This commit adds a debugger to inspect nodes status.
commit 1b8b797919d70b93edb5f6f71da15c4c2b4a1187
Author: rongli <rongli@nestlabs.com>
Date: Fri Mar 22 03:13:20 2019 +0800
[netdata] fix stable network data version when service updates (#3702)
commit e3d0368070c67c21e998b54c95cbc3c26178a2e1
Author: Yakun Xu <xyk@google.com>
Date: Thu Mar 21 23:21:18 2019 +0800
[travis] remove unused sources (#3701)
This commit removes unused sources from apt update list to avoid fetch
failures.
commit 4f734fa24f4f159c8fd33b8a02799dd99ee94929
Author: Jonathan Hui <jonhui@google.com>
Date: Wed Mar 20 03:18:51 2019 -0700
[udp] return error on source port mismatch in Udp::SendTo() (#3698)
commit b6ef4988f36bf9b71faa5392c4656efc54573fda
Author: Jonathan Hui <jonhui@google.com>
Date: Tue Mar 19 21:17:45 2019 -0700
[travis] add travis_retry to before_install (#3697)
commit aaaae937d3819f696d2c0ad860e037ea75de9ff0
Author: Jonathan Hui <jonhui@google.com>
Date: Tue Mar 19 21:17:33 2019 -0700
[style] prefer OT_UNUSED_VARIABLE (#3696)
commit a637cdccf405382eb39e6e5d8bafc7f3c31d3a5d
Author: Irving-cl <oos1111@sjtu.edu.cn>
Date: Wed Mar 20 12:17:15 2019 +0800
[tests] add test case Cert_9_2_02 (#3589)
1. Add new test case **Cert_9_2_02**. Since the test case contains 2
topologies, added 2 new files:
- `Cert_9_2_02A_MGMTCommissionerSet.py`,
- `Cert_9_2_02B_MGMTCommissionerSet.py`.
2. Add mesh_cop tlvs parsing. The corresponding file is
`mesh_cop.py`. The mesh_cop tlvs are used in many cases. For example,
`CommissionerSessionId` is used in both the parsing of **Commissioning
Data**(in mle) and the parsing of **CoAP**. Collected all mesh_cop
tlvs refered in Thread into this file with some unused tlvs
unimplemented.
3. Reuse `SubTlvsFactory` in `network_data.py`. `SubTlvsFactory` are
used to choose the corresponding factory of specific tlv and do the
parsing of it. The `NetworkLayerTlvsFactory` in `network_layer.py` had
exactly the same function with it (almost the same code). Moved the
`SubTlvsFactory` into a new file `tlvs_parsing.py` and change the
usage in `network_data.py` and `network_layer.py`. This helps us
remove some redundant code.
4. Some format issues. Remove some trailing spaces.
commit a3f398b30f69f34e17331a8bf5ca3abc58d7f24f
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Tue Mar 19 22:00:55 2019 +0100
[doc] update documentation of CLI counters command (#3695)
commit c0de3be7f3cc554922681b9fd0cdf2c6648f7ff6
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Mon Mar 18 13:00:50 2019 -0700
[dtls] cleanup method names (#3694)
- Rename Close() to Disconnect() to better pair with Connect()
- Rename Stop() to Close() to better pair with Open()
- Make Setup() private.
commit a39f2c86d34ae7e2ce5f4b5de0580ac1fac84d9c
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Mon Mar 18 12:25:28 2019 -0700
[dtls] do not allow Open() or Bind() when DTLS session is started (#3694)
commit 8bddf61ae2d698362e40069827b6230065fcc906
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon Mar 18 22:58:13 2019 -0700
[toranj] add test to cover OT/NCP SLAAC module behavior (#3688)
This commit updates and renames the existing `test-026-slaac-address`
to indicate that it covers the behavior of `wpantund` related to
SLAAC address management (in `test-026` we disable NCP SLAAC module).
It adds a new test `test-030-slaac-address-ncp` to cover behavior of
OpenThread/NCP SLAAC module:
- Verify that adding prefix (with SLAAC flag) causes a corresponding
SLAAC IPv6 address to be added.
- Verify that removing the prefix would remove the SLAAC address.
- Verify behavior when same prefix is added and removed on multiple nodes
(with or without SLAAC flag).
- Check behavior when an IPv6 address with the same prefix already exists.
- Check behavior when the address with same prefix is removed (SLAAC module
should add a SLAAC address upon removal of the address).
- Verify that removal of prefix does not remove user-added addresses with
same prefix.
- Verify disabling SLAAC module removes any previously added SLAAC
addresses, and re-enabling it adds them back (with same IID).
- Check behavior when prefix is added while SLAAC module is disabled and
then enabled later.
commit 037896c5cd28868d7928aa7c5c53f3dcb82553ac
Author: Jonathan Hui <jonhui@google.com>
Date: Mon Mar 18 16:54:20 2019 -0700
[meshcop] fix doxygen in ChannelMaskTlv::SetChannelMask() (#3693)
commit 728e19b47a17bdf90e6e6ac9a9f5949f2da3ff82
Author: Yakun Xu <xyk@google.com>
Date: Tue Mar 19 00:01:02 2019 +0800
[cli] avoid input overflow (#3691)
commit fab45352f5d6b2f516fed8a86c0d197bb7c27958
Author: Jonathan Hui <jonhui@google.com>
Date: Fri Mar 15 21:46:02 2019 -0700
[meshcop] process ChannelMaskTlv in message (#3690)
Allows arbitrary number of Channel Mask entries.
commit 61e928880595725a60b592075ce34baaaa552295
Author: Zhanglong Xia <zhanglongxia@google.com>
Date: Sat Mar 16 12:39:23 2019 +0800
[ip6] correct annotations (#3692)
commit ea459d4cc3e5c78b81f1d409a1b1c88c5c4752cf
Author: Yakun Xu <xyk@google.com>
Date: Fri Mar 15 12:58:48 2019 +0800
[posix-app] fix debug flag (#3689)
commit 6256b5cdde4cef91e5ede772c88b360cecf60b95
Author: Abtin Keshavarzian <abtink@google.com>
Date: Thu Mar 14 19:55:21 2019 -0700
[link-raw] log frame tx attempt failures (#3687)
This commit adds logs to indicate frame tx attempt failures on
`LinkRaw` class for RCP model.
commit 1af2933449c4d35692cdee88dfbc3e61d9a1c99f
Author: Zhanglong Xia <zhanglongxia@google.com>
Date: Fri Mar 15 00:44:35 2019 +0800
[efr32] enable BRD4170A to support 915MHz and 2.4GHz by default (#3664)
commit dea08b2db79dd7bd8e2e36df6bd6901899b787ee
Author: Yakun Xu <xyk@google.com>
Date: Thu Mar 14 14:32:32 2019 +0800
[posix-app] add readline for CLI (#3511)
commit 160ef467e64d6573ba725655494dc1bd07c5ff2a
Author: Jonathan Hui <jonhui@google.com>
Date: Wed Mar 13 23:20:56 2019 -0700
[dtls] handle MBEDTLS_ERR_PEM_ALLOC_FAILED in Dtls::MapError() (#3674)
commit 89396ab5d361b7ccf5b24dac7d6170c36b8d50de
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon Mar 11 14:59:43 2019 -0700
[ncp] add SLAAC related spinel capability and property (#3667)
This commit adds `SPINEL_CAP_SLAAC` which indicates to host whether
SLAAC feature is supported. It also adds `SPINEL_PROP_SLAAC_ENABLED`
spinel property to let host enable/disable SLAAC module at run-time.
commit cce16b6ddafc4fbd8ed86cdf52ca48affbafa652
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon Mar 11 17:46:32 2019 -0700
[slaac] add IsEnabled() method and public API otIp6IsSlaacEnabled (#3667)
commit ce24abb7bb4c3e046049189e05323af83c1824a2
Author: Zhanglong Xia <zhanglongxia@google.com>
Date: Wed Mar 13 22:49:25 2019 +0800
[api] rename ChannelMaskPage0 to ChannelMask (#3665)
commit a99816a2250dd0d924eb2c4f049191105cdd8083
Author: Kamil Sroka <kamilsroka92@gmail.com>
Date: Wed Mar 13 07:27:42 2019 +0100
[nrf52811] add emulation on nRF52840 to README.md (#3682)
commit 039aab3fa05967c2e077b9f8b5a8f4cda1eaabdc
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Wed Mar 13 07:27:16 2019 +0100
[nrf52840] handle NRF_ERROR_BUSY from SD in flash driver (#3680)
commit a6a2f963d928e2dc0bcb8cc5a1bb5cf11db9bcc9
Author: Yakun Xu <xyk@google.com>
Date: Wed Mar 13 14:26:32 2019 +0800
[posix-app] more baudrates on macOS (#3675)
commit 950c7c861246554e539daa6197530c405d7b8028
Author: Jonathan Hui <jonhui@google.com>
Date: Tue Mar 12 10:47:25 2019 -0700
[meshcop] avoid shift exponent too large in ChannelTlv processing (#3673)
commit e82531507b7bd1efe6c70ebf4741d5c05c05c6ab
Author: Jonathan Hui <jonhui@google.com>
Date: Tue Mar 12 10:47:12 2019 -0700
[meshcop] make length checks more strict on ChannelMaskTlv parsing (#3672)
commit 92e4d89f6458a5d6be6fd0742499cac8080b3ad6
Author: Jonathan Hui <jonhui@google.com>
Date: Tue Mar 12 10:46:58 2019 -0700
[travis] check/fix EOF newline on pretty/pretty-check (#3671)
commit 498034fba59661e2452e9f050b7b62350261fa36
Author: Jonathan Hui <jonhui@google.com>
Date: Tue Mar 12 10:43:11 2019 -0700
[travis] remove posix-app-ncp test due to frequent failures (#3683)
commit 70b29674f64035c196afb8e1a3609010a06670a7
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Tue Mar 12 06:07:47 2019 +0100
[build] fix warning in SLAAC module in Keil (#3666)
commit 906fe0dffc6f57fa0ef6813223ace2fb09af380d
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon Mar 11 21:28:04 2019 -0700
[spinel] add spinel definition guideline (#3663)
commit 9c2b8815bad493c443f333a2e8cb668b92446271
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon Mar 11 21:27:41 2019 -0700
[ncp] report 2.4GHz and/or 915MHz support from SPINEL_PROP_CAPS (#3662)
commit dd69fabd2d42f51a05f2f752d0ff07566c327c68
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon Mar 11 09:40:32 2019 -0700
[spinel-decoder] fix comments (#3661)
commit f695ccae22a34a00e0b0168efd47e0d6dbf2c114
Author: Yakun Xu <xyk@google.com>
Date: Tue Mar 12 00:38:58 2019 +0800
[dtls] simplify logging (#3660)
commit da9ba9cbdc9be5bbf3ea6ae5a6d39540bcf6dd7b
Author: Yuzhuo Yang <yuzyang@google.com>
Date: Tue Mar 12 00:37:52 2019 +0800
[diag] add radio sleep / receive mode for RF certification (#3657)
Bug: 127894959
commit 58f144a7f7d4a744775d4f0bb7eca18934020a54
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon Mar 11 09:35:07 2019 -0700
[slaac] enhance and simplify SLAAC support (#3621)
This commit enhances the SLAAC support in OpenThread core. It contains
the following changes and features:
The `Utils::Slaac` class is updated to include all the related code
for managing SLAAC addresses (e.g., `Slaac` class maintains the
address buffer and directly subscribes to `Notifier` to listen for
Network Data changes to update SLAAC addresses).
The SLAAC address module is changed to support and use semantically
opaque IID generation algorithm (RFC 7217) instead of random IID
generation. This ensures that SLAAC addresses are random but stable
(i.e., the same SLAAC address is added on a device for the same
prefix) and aligns the implementation with Thread specification
requirement.
The semantically opaque IID generation logic is updated to follow RFC
7217 with SHA-256 as the pseudo-random function, and a 256 bit secret
key (generated once using true random number generator and saved in
non-volatile settings).
A new feature is added to allow SLAAC support to be enabled or
disabled during network operation. When enabled, SLAAC addresses are
generated and added to the interface. When disabled, any previously
added SLAAC address is removed.
This commit also adds "SLAAC prefix filter" feature which allows
OpenThread users to register a filter handler with SLAAC module. The
handler is invoked by SLAAC module when it is about to add a SLAAC
address based on a prefix. The returned boolean value from the handler
determines whether the address should be filtered or not.
commit 6453c9f033f2e1ec1c95948f61b93496a1be1bda
Author: RaKu <rafal.kuznia@nordicsemi.no>
Date: Fri Mar 8 17:28:26 2019 +0100
[nrf52840] do not specify interface protocol in USB CDC (#3658)
bInterfaceProtocol descriptor previously indicated that AT V.250 commands
were supported by the device. This could cause issues with applications
managing modems.
commit 7a0eb2c2e7ecb2cfd2c88ebfffe0931357d67d6f
Author: Yakun Xu <xyk@google.com>
Date: Sat Mar 9 00:11:41 2019 +0800
[dtls] refine CoAP secure and DTLS (#3632)
`CoapSecure` is always used by joiner, border agent or commissioner.
DTLS should not be shared with the application `CoapSecure`.
This commit includes the following changes:
* allow multiple DTLS by using `TimerMilliContext`
* move `CoAP::mSocket` into `Dtls`
* move `ThreadNetif::mDtls` into `CoapSecure`
* remove unnecessary getters of `Dtls` and `CoapSecure`
commit 96725a985ed57a64721c61c4721e5792b44264c5
Author: Zhanglong Xia <zhanglongxia@google.com>
Date: Sat Mar 9 00:09:55 2019 +0800
[phy] add support for OQPSK modulation in 915MHz band (#3378)
commit 46108117811739b9fe2006ae7ac7fb84b3f9e199
Author: Jonathan Hui <jonhui@google.com>
Date: Fri Mar 8 07:51:59 2019 -0800
[docs] udpate borderrouter repo name to ot-br-posix (#3655)
commit 5e4d07cb230ff2e2e4e20c77d56a1e3d6ecfa689
Author: Jonathan Hui <jonhui@google.com>
Date: Thu Mar 7 09:12:56 2019 -0800
[dtls] fix bug in resetting dtls state on error (#3653)
commit 2805ca463b9679b475fa917409cbb1d2738606c4
Author: Jonathan Hui <jonhui@google.com>
Date: Thu Mar 7 09:12:43 2019 -0800
[meshcop] fix buffer overflow in Commissioner Session ID compare (#3652)
Credit to OSS-Fuzz.
commit 0938be7f8405bf61d5e9698bb8996da8b7471d84
Author: Jonathan Hui <jonhui@google.com>
Date: Thu Mar 7 09:12:20 2019 -0800
[dhcp6] clean up Prefix Agent state management in DHCPv6 server (#3646)
* introduce a new class for managing Prefix Agent state
* combine prefix and ALOC into the same class
commit 62971bfe9394549eeecca98c9e158da84b18488b
Author: Abtin Keshavarzian <abtink@google.com>
Date: Tue Mar 5 10:51:13 2019 -0800
[router-table] simplify router table code (#3644)
This commit adds a simple internal helper class `RouterIdSet` in
`RouterTable` to store the allocated router IDs bitset. This commit
also renames the `for` loop variable names (`routerId` when iterating
over all router IDs and `index` used for `mRouters` array index)
commit 4acd8b7aab7ec42b57dfad4eeab4f43f2e237593
Author: Yakun Xu <xyk@google.com>
Date: Wed Mar 6 02:45:22 2019 +0800
[build] fix SLAAC switch (#3645)
commit ab12b47182695a95c973633e0b19ff883391cd3e
Author: Jiacheng Guo <gjc@google.com>
Date: Tue Mar 5 00:38:28 2019 +0800
[posix] do not exit on EINTR in UART (#3643)
commit 11339835e4a981f1f5bdcd85fd3c7c359abb1774
Author: rongli <rongli@nestlabs.com>
Date: Tue Mar 5 00:36:27 2019 +0800
[mle] do not echo back ML-EID registered by MTD (#3640)
* do not echo back ML-EID registered by MTD
* update the address registration check in Cert_7_1_01 and Cert_7_1_03
commit dcc13419c304cfdf9271834a2d7fb75d290d670f
Author: Irving-cl <oos1111@sjtu.edu.cn>
Date: Tue Mar 5 00:31:16 2019 +0800
[thci] match meshlocalprefix accurately to classify the addresses correctly (#3639)
commit bf794ca5f27599f4d2ed8bfe71b9bb3cdd833999
Author: Yakun Xu <xyk@google.com>
Date: Fri Mar 1 15:45:45 2019 +0800
[mle] fix oob steering data length (#3638)
commit 6705fe83f33afef3ed2076b815b2e01517dc5c08
Author: Yakun Xu <xyk@google.com>
Date: Fri Mar 1 02:28:16 2019 +0800
[time-sync] fix time sync and typo (#3637)
* fix typo in common-switches
* fix segment fault with time sync enabled
commit 74ad300556886d7bff47ad513b69507e7ea94fa0
Author: Stuart Longland <stuartl@longlandclan.id.au>
Date: Fri Mar 1 02:18:56 2019 +1000
[cc2538] fix RSSI calibration when CC2592 is in use (#3636)
* Define parameter for RSSI offset.
This defines the RSSI offset as an overridable parameter in the CC2538
configuration for users that have installed a CC2592 on their board but
have hard-wired the HGM pin either to `VDD` or `GND`.
* Calibrate RSSI according to HGM state.
I had actually misread the datasheet a little bit, having gotten
sensitivity and RSSI offset confused. The values I needed for the
sensitivity were actually in the table *above* where I got the original
figures here from.
This puts the *correct* figures in place, and also defines a function
that returns the RSSI offset based on the state of the HGM pin (or
returns a static value if we omit CC2592 support or disable HGM
control).
* Expose RSSI offset setting in Makefile
* Document RSSI offset parameter
commit db945a527872b87d8ee20fde61d19a5a626f44c9
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Thu Feb 28 17:17:00 2019 +0100
[nrf528xx] update platforms README.md (#3633)
commit d3791348d1b64f8b50995c2896130ec8ae901097
Author: wgtdkp <dkp@hust.edu.cn>
Date: Thu Feb 28 11:16:02 2019 +0800
[tests] enhance Cert_8_1_01_Commissioning (#3457)
commit 096632a47505e1bb62b8d6c7dc1cc4e783da30d3
Author: Piotr Szkotak <piotr.szkotak@nordicsemi.no>
Date: Wed Feb 27 21:41:41 2019 +0100
[nrf528xx] add radio and random platform fixes (#3634)
* [nrf52811] add radio and random platform fixes
* [nrf528xx] handle all radio driver rx/tx errors
commit f9884b8afcf6f48912e113c0190f1a1496c8db55
Author: Joseph Newman <joseph@josephn.net>
Date: Wed Feb 27 20:03:51 2019 +0000
[efr32] implement otPlatRadioEnergyScan API (#3631)
* refactor for energy scan API
* rename enum, init status in init func, tidy up and fix issue in GetRssi
* add cast and fix start energy scan error return
commit ceed19c4b5ed8d4360a68ad8b941d1ce4362499e
Author: Yakun Xu <xyk@google.com>
Date: Wed Feb 27 07:52:47 2019 +0800
[posix-app] cause compile failure for SPI bus (#3630)
commit dc947f0152a233a95408a6fbda7cef51445f6f81
Author: wgtdkp <dkp@hust.edu.cn>
Date: Wed Feb 27 07:49:57 2019 +0800
[tests] support testing commissioning (#3441)
Add support for testing commissioning process, including:
1. Add DTLS, Thread Discovery and commissioning messages(JOIN_FIN.req etc) parsing;
2. Support parsing log from UART response, and construct decrypted messages;
3. Common commands for commissioning related verification;
commit cc37bd1dfb706c96f017baa0cf24dda54c09f297
Author: Yakun Xu <xyk@google.com>
Date: Wed Feb 27 07:41:59 2019 +0800
[coaps] fix disconnected (#3623)
When DTLS is disconnected, the socket should also be disconnected from
the previous peer.
commit 127e3bb84ec495771f10a4d8197ea807c8855da5
Author: Yakun Xu <xyk@google.com>
Date: Wed Feb 27 05:28:37 2019 +0800
[posix-app] clean up posix app defines (#3611)
commit e7acaa887997f529182c6cbcd29f144af8b453ba
Author: Jonathan Hui <jonhui@google.com>
Date: Mon Feb 25 18:57:36 2019 -0800
[mesh-forwarder] do not allow eviction of message being processed (#3629)
Processing a message may trigger an Address Solicit message to be sent.
Because Thread control messages have higher priority, it is possible for the
Address Solicit message to evict the data message that caused the generation
of the Address Solicit message.
This commit present a message that's being processed from being evicted.
Credit to OSS-Fuzz.
commit 13bd1db1f732aa5ae2052a6d3c2c79b519886974
Author: Jonathan Hui <jonhui@google.com>
Date: Mon Feb 25 18:36:51 2019 -0800
[dtls] do not free mbedtls context if one is already being used (#3628)
commit a3548df579617e737b075be4a88591e68195e115
Author: Jonathan Hui <jonhui@google.com>
Date: Mon Feb 25 18:36:36 2019 -0800
[network-data] add check for prefix length (#3626)
commit d912393c7f055333378ba80ba5ae3ddcf0e4be02
Author: Jeff Bumgardner <jbumgardner@google.com>
Date: Mon Feb 25 16:01:54 2019 -0800
[docs] add STMicroelectronics to the list of supporters (#3627)
commit 02d33b9bb9e82fe4fe9edd044e06b92b97654efb
Author: Joseph Newman <joseph@josephn.net>
Date: Mon Feb 25 17:27:37 2019 +0000
[efr32] fix cannot compile with log output OPENTHREAD_CONFIG_LOG_OUTPUT_APP (#3625)
commit 5cf3540f6ec162418d60f5248fe0adf1daa154a4
Author: Jonathan Hui <jonhui@google.com>
Date: Mon Feb 25 09:26:26 2019 -0800
[efr32] unify flash config around SETTINGS_CONFIG_PAGE_NUM (#3620)
commit a0db3b5b46b508b91f7fca3f114a56b62015cee3
Author: Yakun Xu <xyk@google.com>
Date: Sat Feb 23 13:56:02 2019 +0800
[posix-app] fix daemon uart send done (#3622)
commit 203bce7ae79ac63652c27aa26b3d480cd9c19cc0
Author: Kamil Sroka <kamilsroka92@gmail.com>
Date: Fri Feb 22 18:00:57 2019 +0100
[nrf528xx] update usbd (#3618)
commit 3eb5a106ffa6678e23c6bc244e843e264cae9b31
Author: Jonathan Hui <jonhui@google.com>
Date: Fri Feb 22 09:00:23 2019 -0800
[fuzz] process pending tasklets to increase coverage (#3617)
commit b7a9e7afd71664430c77457349c91e5c69604905
Author: Jonathan Hui <jonhui@google.com>
Date: Fri Feb 22 09:00:01 2019 -0800
[tests] add conditionals around unit tests (#3616)
commit fd2503e792da9aa3bfd08a02bdb2b320936e3d6d
Author: Stuart Longland <stuartl@longlandclan.id.au>
Date: Sat Feb 23 02:59:19 2019 +1000
[cc2538] add support for CC2538-CC2592-EM (#3609)
* [cc2538] Define registers for control of CC2592.
In order to set up the signals needed to drive the CC2592 front-end, we
need to expose a few registers in the radio module that route internal
module signals to pins on Port C.
TI also recommend hooking the HGM pin of the CC2592 to a GPIO pin so
that the high-gain mode can be software-controlled. It can be connected
to any GPIO pin, but they call out PD2 specifically for this, so we need
to configure GPIO port C & D. Since we're here, we'll add B as well.
Some macros of convenience are also added for accessing the Nth element
in an array of 32-bit registers, as well as computing the bit mask of
the Nth GPIO pin.
* [cc2538] Define configuration settings for CC2592.
By default, we disable support for the CC2592 as we do not wish to break
existing OpenThread instances. The configuration parameters allow
customisation of the locations for the `PA_EN`, `LNA_EN` and `HGM`
signals (within the constraints of the CC2538) for cases where people
have moved the signals around on custom boards.
The defaults work with designs derived off the CC2538-CC2592 EM
reference design.
* [cc2538] Define control interface for HGM pin.
Since the `HGM` signal is under software control, we need to be able to
allow the software to turn it on or off as required. This exposes two
functions, one of which queries the current state (by looking at the
GPIO register bit-mask), and the other provides a means to change the
state.
* [cc2538] Implement control and calibration of the CC2592.
This implements the control functions defined earlier and adds the
necessary logic for initialising the CC2592.
The transmit and receive power levels are also calibrated.
* [cc2538] Define CC2592 options in Makefile.
This allows building of a CC2538-CC2592 EM image by specifying
`CC2592=1` on the command line.
commit 530a4d23ad0953738f21b15ae4dbf35c1fa44b94
Author: Piotr Szkotak <piotr.szkotak@nordicsemi.no>
Date: Fri Feb 22 01:22:01 2019 +0100
[slaac] remove otIp6SlaacUpdate leftover from the ip6.h header (#3612)
commit 7ddeb2123f89cf53a6f4c611268944b5bc7d5416
Author: Jonathan Hui <jonhui@google.com>
Date: Wed Feb 20 18:10:51 2019 -0800
[mesh-forwarder] avoid assert when processing direct transmissions (#3614)
commit 84eb7493caa543d750b7a6564291ad9761ef752f
Author: Jonathan Hui <jonhui@google.com>
Date: Wed Feb 20 18:10:38 2019 -0800
[mle] remove assert in `Mle::FillConnectivityTlv()` when detached (#3610)
commit 2d6e9085f8986e33079ca94f9572406c48d98860
Author: mateusz- <wielgosm@gmail.com>
Date: Wed Feb 20 11:47:40 2019 -0600
[doc] fix incorrect SNTP comment (#3613)
commit 795a7e91972250539b7c2d0e0b74e95eca7798cf
Author: Abtin Keshavarzian <abtink@google.com>
Date: Tue Feb 19 20:47:05 2019 -0800
[mbedtls] include debug.h (#3608)
The `<mbedtls/debug.h>` is included in `mbedtls.cpp` file which is
needed for `mbedtls_debug_set_threshold()`.
commit 87838428a08b29ddb0899c67b0cdd460be7b9dbc
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Fri Feb 15 12:13:53 2019 -0800
[lowpan] try to compress fewer headers on compression errors (#3597)
commit d8d1d914229a95644e2d5ecb2c5961f019012606
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Thu Feb 14 19:42:11 2019 -0800
[lowpan] indicate compress error when processing beyond msg buf (#3597)
commit 62e4c0a2e93b28a6012cf4b5fa63dab4c13b6d16
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Thu Feb 14 19:37:27 2019 -0800
[lowpan] leave msg offset and buf writer unmodified on error (#3597)
commit 49641e1d4eb8729565ea1f8a1db5efd132066a8a
Author: Jonathan Hui <jonhui@nestlabs.com>
Date: Thu Feb 14 16:05:12 2019 -0800
[lowpan] introduce buffer writer to lowpan compressor (#3597)
commit 0f2502833eb3dbaccf59c6c745da7e193c7159d8
Author: Martin Turon <mturon@google.com>
Date: Tue Feb 19 20:46:02 2019 -0800
[nrf52840] add nrfjprog target for flashing (#3478)
commit 18c496d915e4e162f43fc49bd22d852dd08b9573
Author: Marven Gilhespie <45208741+marvensilabs@users.noreply.github.com>
Date: Tue Feb 19 20:09:49 2019 +0000
[efr32] update to Silicon Labs Flex SDK v2.5 (#3596)
commit 9297f3559d8a102c1743d414023f71d69ea2f425
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Tue Feb 19 21:04:23 2019 +0100
[cli] allow to define ping interval in milliseconds (#3607)
commit 8c13df5a51f4b0428d73f0bc57a01506c178e421
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Tue Feb 19 20:37:45 2019 +0100
[cli] add command to retrieve mle counters (#3605)
commit 403f7f810927dc9e6a1820c0c48cc69a5855318a
Author: hjian2017 <30794429+hjian2017@users.noreply.github.com>
Date: Wed Feb 20 01:00:29 2019 +0800
[cli] correct dataset examples in README (#3604)
commit 697aa0259c843bb697c06ebe4701496abaad4ef0
Author: Piotr Szkotak <piotr.szkotak@nordicsemi.no>
Date: Tue Feb 19 17:54:57 2019 +0100
[nrf52811] fix uart hwfc define in the platform config (#3606)
commit 80c98ac8243a2213dbf3b5d301328fcd2ebd255c
Author: Piotr Szkotak <piotr.szkotak@nordicsemi.no>
Date: Tue Feb 19 17:44:49 2019 +0100
[nrf528xx] update radio driver to version 1.3.0 (#3603)
commit cf7bc35bbe6e0e3f8a8cacc99f75c7fb2020ce13
Author: Irving-cl <oos1111@sjtu.edu.cn>
Date: Tue Feb 19 05:41:30 2019 +0800
[tests] add traffic check in test case Cert_7_1_01 (#3405)
commit 968f9b6898a2cf8adaf823b4b5b10f7dd3f8fc21
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Mon Feb 18 20:11:13 2019 +0100
[nrf528xx] improve flash API (#3602)
commit cb8761b7d0642f889c3aad56e6d05ef558b0b4b9
Author: Piotr Szkotak <piotr.szkotak@nordicsemi.no>
Date: Mon Feb 18 20:10:56 2019 +0100
[nrf528xx] update app_error_weak.c (#3601)
commit b0110db4e5d6578e6b104ef40080e9782a1a68de
Author: Abtin Keshavarzian <abtink@google.com>
Date: Sat Feb 16 13:11:51 2019 -0800
[link-raw] remove the redundant logs in link-raw api (#3598)
commit 62d5be594d62be27b7ac910f899bf49f3f15f002
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Fri Feb 15 18:34:28 2019 +0100
[nrf528xx] improve platform specific configs (#3595)
commit ab0d639ccb076dc817ffe2f6131cfad5d5c96bdf
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Fri Feb 15 18:29:48 2019 +0100
[doc] improve doxygen comments (#3594)
commit 905f8c715374d103fa8a0f2698accf5edd40dc74
Author: RaKu <rafal.kuznia@nordicsemi.no>
Date: Fri Feb 15 18:22:14 2019 +0100
[nrf528xx] always enable diag module (#3593)
Disabling diag module causes linker errors due to unresolved symbols when building NCP example with NCP_SPI flag set to 1 on some toolchains.
commit e02c9702694ba6a1f15f25d7c5f3a1a62619cf3d
Author: Abtin Keshavarzian <abtink@google.com>
Date: Fri Feb 15 09:20:15 2019 -0800
[mac] assert on failure of otPlatRadioEnable() (#3592)
commit b08fab42bb4b09632a69ce980db41c53243185b7
Author: Yakun Xu <xyk@google.com>
Date: Fri Feb 15 05:26:06 2019 +0800
[posix-app] fix aliasing issues in platform UDP (#3591)
commit 5ca9db00357e72cd24ae272f2f4fb825f4fb3a5a
Author: Jonathan Hui <jonhui@google.com>
Date: Thu Feb 14 13:09:00 2019 -0800
[style] remove snake case from style guide (#3586)
For better or worse, the existing C code style follows camel case. Rather
than changing the code, simply update the style guide.
commit 1627a4286479f43763bc17bbf5d7eb830aec4f67
Author: Jonathan Hui <jonhui@google.com>
Date: Thu Feb 14 11:33:39 2019 -0800
[mpl] fix bug in comparing sequence numbers (#3588)
Fix serial number arithmetic due to value wrap.
commit 6170948e27d897388908494873a661223f44de6c
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Thu Feb 14 17:54:18 2019 +0100
[mpl] fix inserting mechanism and timer handling (#3587)
commit 2f2aba80dd2f882fd6d795e92b6628f456d26db5
Author: Yakun Xu <xyk@google.com>
Date: Thu Feb 14 13:37:54 2019 +0800
[platform-netif] disable icmp echo (#3590)
commit 7a69ae36a10a6e9c911a83196e39027f8dd78f07
Author: Abtin Keshavarzian <abtink@google.com>
Date: Wed Feb 13 18:17:18 2019 -0800
[slaac] add config option to enable/disable SLAAC support (#3512)
This commit adds `OPENTHREAD_CONFIG_ENABLE_SLAAC` as a build
configuration option to enable/disable SLAAC support within
OpenThread. This feature is disabled by default. This commit also
adds `SLAAC` to `common-switches` list to allow builds to enable
this feature easily.
commit 96de36385ae67b689fc574512234ce4916538e7c
Author: Krzysztof Bogucki <kristofbo@gmail.com>
Date: Wed Feb 13 17:59:33 2019 +0100
[ip6] messages sent to Service Locator will not be filtered out (#3585)
Messages sent to Service Locator will not be filtered out, when thread
control traffic filtering is enabled via SetReceiveIp6FilterEnabled().
commit 14d4d8872730de6d51d8777fbd2d0081fe923483
Author: Yakun Xu <xyk@google.com>
Date: Thu Feb 14 00:58:41 2019 +0800
[mbedtls] guard allocator with accurate macro (#3575)
This commit guards using mbedTLS's buffer allocator API with a more accurate
macro, so that even in single instance mode, we can use other memory
allocator.
commit c04bf5ea241ba6d5e77448adff592637bd107a48
Author: Martin Turon <mturon@google.com>
Date: Wed Feb 13 08:57:13 2019 -0800
[ble] BLE API improvements: add l2cap and gatt services registration (#3563)
commit 038edf53b2d007fc5f31b22e2775e9c9579c2c9f
Author: Jonathan Hui <jonhui@google.com>
Date: Tue Feb 12 08:34:11 2019 -0800
[mpl] allow multiple entries from the same Seed ID (#3557)
This commit improves MPL delivery performance by allowing a single Seed ID
to burst multiple MPL packets without suppressing previous transmissions.
commit 445827108b2e3424d5154eb2435b20667d2cba89
Author: Abtin Keshavarzian <abtink@google.com>
Date: Tue Feb 12 06:03:57 2019 -0800
[ip6] update documentation for otIp6ReceiveCallback (#3584)
commit 778f99798e6c02bdc40fbd6c7cc14e49b929d629
Author: Abtin Keshavarzian <abtink@google.com>
Date: Tue Feb 12 06:03:13 2019 -0800
[notifier] enhance documentation (#3583)
commit 490b5739a8f0f9a49693448746cb6b431e6b2889
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon Feb 11 21:50:22 2019 -0800
[toranj] add test-case for data poll transmission and poll interval (#3570)
commit 84a2706393e083508d591492b734d1f589f29ecc
Author: Kamil Sroka <kamilsroka92@gmail.com>
Date: Mon Feb 11 22:04:56 2019 +0100
[build] don't define UINT32_MAX for C (#3581)
commit 9bd0467b6fc6956ce2af607456ac9fab7e2c73e5
Author: Yakun Xu <xyk@google.com>
Date: Tue Feb 12 05:03:26 2019 +0800
[posix-app] fix aliasing issue (#3579)
commit cced005256e070a62c7713713c5d21c1823104c4
Author: Yakun Xu <xyk@google.com>
Date: Tue Feb 12 02:58:18 2019 +0800
[posix-app] fix write in daemon mode (#3576)
In daemon mode, UART write should be processed even when no client
is connected. This commit writes UART to STDERR in such situation.
* add test for daemon mode
* remove useless code for UART restore
* fix a typo of assert
* set FD_CLOEXEC flag to better support reset.
commit 0810ed6572fc2903ed9e9c1e9cb4b01a31c029b9
Author: Yakun Xu <xyk@google.com>
Date: Tue Feb 12 02:54:03 2019 +0800
[posix-app] explictly set optind (#3574)
This allows another options parser before initializing OpenThread.
commit 9c2dba773e1c1b275fd4bcd70bdce48ec68cc365
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Mon Feb 11 19:52:08 2019 +0100
[nrf528xx] test all transport variants in CI (#3573)
commit 2ac8890c412b9de4e93493b42585029c8ac21b00
Author: Irving-cl <oos1111@sjtu.edu.cn>
Date: Tue Feb 12 02:50:58 2019 +0800
[tests] fix class name for Cert_9_2_04 (#3572)
commit 4219b5bb0495a9216d163c54d353f4b2903a2386
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon Feb 11 10:50:20 2019 -0800
[ncp] add static assert to check size of changed set entries array (#3571)
commit 749421641513cc71bfc9bb899c5b683d6ce060c9
Author: Abtin Keshavarzian <abtink@google.com>
Date: Fri Feb 8 08:43:06 2019 -0800
[instance] update the documentation for `Get<Type>` definition (#3569)
commit 3ba1c799102ae8dba0d0591db12538f575d1e380
Author: Abtin Keshavarzian <abtink@google.com>
Date: Fri Feb 8 08:42:29 2019 -0800
[mac] use ot::Instance reference in scan callback handlers (#3568)
This commit changes the scan callback handlers to use `ot::Instance`
as a parameter replacing a given `void *` context.
commit 8a037c8aa56aba73a01acbb56a10601c9b4b45bc
Author: Jonathan Hui <jonhui@google.com>
Date: Fri Feb 8 08:41:47 2019 -0800
[travis] add build checks for qpg6095 platform (#3567)
commit 070fd834e8ac822fe31f0387c9b7fb65e4e3f69a
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Fri Feb 8 17:41:22 2019 +0100
[nrf52811] add support for nRF52811 platform (#3566)
commit 46d0b62ec73b85a7c7879b347f0e2a63e4b4d0de
Author: Jonathan Hui <jonhui@google.com>
Date: Thu Feb 7 08:44:40 2019 -0800
[travis] move platform builds to common functions (#3562)
commit bfe0c492d9be1f67ad2c9705a6687c0ba30a9c7e
Author: RaKu <rafal.kuznia@nordicsemi.no>
Date: Thu Feb 7 17:42:27 2019 +0100
[nrf52840] disable compilation of unused transports (#3561)
Add DISABLE_TRANSPORTS switch which disables build of all transports and examples using them.
Disable compilation of USB and UART transports if NCP_SPI switch is set. This also disables
the build of CLI example.
commit f01e3f34e516a9d53949264b5c2248365345592c
Author: Abtin Keshavarzian <abtink@google.com>
Date: Wed Feb 6 08:42:53 2019 -0800
[mac] always emit OT_CHANGED_THREAD_CHANNEL on channel change (#3560)
commit f31f8c1f3c786a2465000e0ae18b85238618475f
Author: Abtin Keshavarzian <abtink@google.com>
Date: Wed Feb 6 08:42:37 2019 -0800
[link-raw] handle get/set channel when LinkRaw is enabled (#3559)
This commit updates `otLinkGetChannel()` and `otLinkSetChannel()`
to handle the situation where raw-link mode is enabled.
commit bd4ca8113d181a69e36cdee8f44a474533e449d1
Author: Abtin Keshavarzian <abtink@google.com>
Date: Wed Feb 6 08:41:50 2019 -0800
[ncp] add support for getting MLE counters (#3558)
A new spinel property `SPINEL_PROP_CNTR_MLE_COUNTERS` is defined,
which can be used to get Thread MLE counters (`otMleCounters`).
commit 3070948ec5098f0107a4f72a81e5a5db42422724
Author: Jonathan Hui <jonhui@google.com>
Date: Wed Feb 6 08:40:54 2019 -0800
[travis] enhance samr21 build checks (#3556)
- enable gcc 7 and 8 build checks
- upgrade to asf-standalone-archive-3.45.0.85
commit d2e9bdfca39e015b8f728d8bc714b838cb30926f
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon Feb 4 21:51:41 2019 -0800
[notifier] auto-register callback from its constructor (#3555)
This commit helps simplify the implementation and use of `Notifier`
by having the `Callback` constructor registering the callback with
the `Notifier`.
commit ede320712e6b5a05b54aa4eb544ac45fd3c47bb3
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon Feb 4 21:08:11 2019 -0800
[mle] use IsAttached() to start border agent (#3554)
commit ab871b50253f2ec0da7573457e3e7ae6145c3b44
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon Feb 4 21:07:54 2019 -0800
[mle] skip saving network info on role change to detached (#3553)
This commit changes the behavior of `Mle` to skip the saving of
network info (to non-volatile memory) on role change to detached. Note
that `Store()` does only update the MAC/MLE counters if device is not
attached. The MAC/MLE counters update is tracked already by
`KeyManager`.
commit e990ede832a8875b8257feb7163a7fd8c372f5bf
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon Feb 4 21:06:22 2019 -0800
[settings] skip non-volatile save with same NetworkInfo/ParentInfo (#3552)
This commit adds new check in `settings.cpp` for saving of
`NetworkInfo` and `ParentInfo` in non-volatile memory to verify that
the new value is different from previously saved content. This reduces
number of writes after a device reboot.
commit 7698c210200a97a30b6bc8efbb1699c71855fc67
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon Feb 4 21:05:53 2019 -0800
[mle] use local ref to KeyManager/Mac/MleRouter for reused objects in methods (#3551)
commit 29d637683f62467736d02fe6aaea613bb3df4ca7
Author: Abtin Keshavarzian <abtink@google.com>
Date: Mon Feb 4 20:46:23 2019 -0800
[settings-flash] ensure SETTINGS_CONFIG_PAGE_NUM >=2 (#3416)
This commit adds code to ensure `SETTINGS_CONFIG_PAGE_NUM` is at
least two. This helps simplify the code and also address
Coverity warnings for unreachable code.
commit c31ab99080bda38a0e3574d6b9251da59a1ad3ac
Author: Oleksandr Grytsov <al1img@gmail.com>
Date: Mon Feb 4 16:12:24 2019 +0200
[samr21] Define SETTINGS_CONFIG_PAGE_NAME with const (#3491)
Currently SETTINGS_CONFIG_PAGE_NAME is defined indirectly by addresses of
__d_nv_mem_start and __d_nv_mem_end. But such definition doesn't allow to
perform compile time sanity check. Define this macro with const value 16.
Signed-off-by: Oleksandr Grytsov <al1img@gmail.com>
commit e7a6bde56dab910b4a600d0d8301fbe74a69273a
Author: Oleksandr Grytsov <al1img@gmail.com>
Date: Mon Jan 21 23:15:12 2019 +0200
[samr21] Implement otPlatLog for SAMR21 XPLAINED PRO board (#3491)
Use EDBG DGI SPI interface to put log.
Signed-off-by: Oleksandr Grytsov <al1img@gmail.com>
commit 513b0f8b8d55fb6d19161fe4b5d08734cebcfe39
Author: Oleksandr Grytsov <al1img@gmail.com>
Date: Mon Jan 21 23:11:54 2019 +0200
[samr21] Pass ack frame to otPlatRadioTxDone (#3491)
SAMR21 RF doesn't provide ACK frame payload. Create it manually and pass to
otPlatRadioTxDone.
Signed-off-by: Oleksandr Grytsov <al1img@gmail.com>
commit cf7b57a5cf2a5758d83c3be84bcfb182a03fc50e
Author: Oleksandr Grytsov <al1img@gmail.com>
Date: Wed Jan 16 19:40:55 2019 +0200
[samr21] Set RF state to OT_RADIO_STATE_RECEIVE on tx finished (#3491)
OT doesn't always call otPlatRadioReceive to set rx state explicitly. It
causes RF is in wrong state in some cases. SAMR21 RF is switched to
rx state internally when tx is finished and OT platform radio state should
be updated accordingly. This fix is set sState to OT_RADIO_STATE_RECEIVE
when tx is done.
Signed-off-by: Oleksandr Grytsov <al1img@gmail.com>
commit f30417772666a18fa2dbee97186f4a6dc781bdad
Author: Oleksandr Grytsov <al1img@gmail.com>
Date: Thu Oct 5 19:25:29 2017 +0300
[samr21] Add hardware acceleration for the AES block cipher (#3491)
samr21 has HW aes-128 module. It couldn't be used before as mbedtls uses
256 bit random generator. Recently mbedtls introduces
MBEDTLS_CTR_DRBG_USE_128_BIT_KEY flag which makes mbedtls to use 128 bit
random generator. It limits the security of generated keys but allows
to use HW aes-128 module for encrypt/decrypt 802.15.4 frames.
Signed-off-by: Oleksandr Grytsov <al1img@gmail.com>
commit 0073a49dbd67951f5967791ee2111c9ece5bd479
Author: Oleksandr Grytsov <al1img@gmail.com>
Date: Tue Jan 15 22:27:02 2019 +0200
[samr21] Update README.md to latest ASF 3.45.0 (#3491)
* update reference to ASF 3.45.0 and gcc 7.3.1
* update other links
Signed-off-by: Oleksandr Grytsov <al1img@gmail.com>
commit c4a7e8570dd17a4900839fba8b6d5d04f70a8e52
Author: Oleksandr Grytsov <al1img@gmail.com>
Date: Wed Jan 16 17:43:52 2019 +0200
[samr21] Add possibility to define board with command line (#3491)
By default Makefile-samr21 builds for SAM R21 Xplained Pro board. Another
board can be specified with BOARD variable through command line:
make -f examples/Makefile-samr21 BOARD=<TARGET_BOARD>
Currently supported following boards: SAMR21_XPLAINED_PRO,
SAMR21G18_MODULE, SAMR21B18_MODULE.
Signed-off-by: Oleksandr Grytsov <al1img@gmail.com>
commit 9fee87c071116ab186c7a5ff9c07c629790fbbc3
Author: Oleksandr Grytsov <al1img@gmail.com>
Date: Tue Jan 15 23:05:05 2019 +0200
[samr21] Remove memcpy from otPlatRadioTransmit (#3491)
samr21 rf driver requires that first byte of transmit buffer should be
psdu length. The psdu was copied to a local buffer with one byte shift then
the local buffer was passed to rf driver. This copying is removed by
extending length of sTransmitPsdu by 1 byte and use &sTransmitPsdu[1] as
transmit frame psdu.
Signed-off-by: Oleksandr Grytsov <al1img@gmail.com>
commit 68d527a530feefe6d1c31674f2de0b88add1f831
Author: Oleksandr Grytsov <al1img@gmail.com>
Date: Tue Jan 15 21:53:49 2019 +0200
[samr21] Fix compilation issue with gcc 7.3.1 (#3491)
Internal compiler.h defines __always_inline macro and includes cdefs.h
indirectly. cdefs.h also defines this macro. As result we have redefined
macro error which can't be suppressed. The fix is to use custom compiler.h
which is copy of ASF compiler.h bu defines __always_inline only if it is
not yet defined.
Signed-off-by: Oleksandr Grytsov <al1img@gmail.com>
commit 2c866feb4862b4ffbb8a201ca94a45dc340cc902
Author: Jeffrey Hayes <45800665+JeffreyHayes@users.noreply.github.com>
Date: Mon Feb 4 18:59:18 2019 -0500
[efr32] random number generation fix (#3367)
commit 28cf269481e8b22069d164dbdb71dbd9cca713f5
Author: Markov Vladislav <randyshughart54@gmail.com>
Date: Tue Feb 5 01:53:09 2019 +0700
[topology] add static assertion to exclude counter overflow (#3550)
commit 362f97df1e6284387d6172f076acd4b187323a9e
Author: Jonathan Hui <jonhui@google.com>
Date: Mon Feb 4 10:52:00 2019 -0800
[fuzz] return valid radio transmit buffer (#3549)
commit 404d946150f9e636a93ca93186e84fbb1770cd1f
Author: Jonathan Hui <jonhui@google.com>
Date: Mon Feb 4 10:51:45 2019 -0800
[cli] validate ping interval is positive to avoid Timer::Start() assert (#3548)
commit b2bbad7674cc0a090fc3df2995611dd2abc9d139
Author: Jonathan Hui <jonhui@google.com>
Date: Mon Feb 4 10:51:31 2019 -0800
[ncp] disable assert and watchdog property when fuzz testing (#3547)
commit 392cfecff8fb606a04a06825743cad6a799c7452
Author: erja-gp <erik.janssens@qorvo.com>
Date: Mon Feb 4 19:50:27 2019 +0100
[qpg6095] add Qorvo QPG6095 platform (#3525)
commit b79d5d6a92d418313e3a312314a465595f9a1462
Author: Yakun Xu <xyk@google.com>
Date: Sat Feb 2 14:13:25 2019 +0800
[toranj] allow specifying wpantund path (#3544)
commit 69aa5c4f044b0db0fa10757c63a9024f8ff39388
Author: Yakun Xu <xyk@google.com>
Date: Sat Feb 2 14:05:59 2019 +0800
[posix-app] add daemon mode (#3463)
This commit adds the daemon mode for POSIX CLI app. The daemon simply
receive UART input from a unix socket connection.
commit e68e86317e3525b398d2769cae3d6d0a08646948
Author: Yakun Xu <xyk@google.com>
Date: Sat Feb 2 08:08:43 2019 +0800
[ci] test with time sync and header ie (#3514)
This commit adds the missing test with ie present by enabling TIME_SYNC
feature, so that IE code are covered.
commit db67b3a980a40ed11a46b6b4365a84d2d3e00f9c
Author: Yakun Xu <xyk@google.com>
Date: Sat Feb 2 02:01:42 2019 +0800
[posix] fix build for SPI bus (#3546)
commit 66476070a58714f0579e785a6eb6552ce72951cc
Author: Łukasz Duda <lukasz.duda@nordicsemi.no>
Date: Fri Feb 1 18:26:33 2019 +0100
[toolchain] define __COUNTER__ for keil compiler (#3545)
commit ac89fd54965eec4342800e9da2b457216705bf6d
Author: Jonathan Hui <jonhui@google.com>
Date: Fri Feb 1 09:03:24 2019 -0800
[style] return void where code always returns OT_ERROR_NONE (#3543)
commit c7911adcb1052573fdf5a72c60adfd108024f953
Author: Abtin Keshavarzian <abtink@google.com>
Date: Fri Feb 1 09:03:10 2019 -0800
[mle] remove unused attach state kAttachStateSynchronize (#3542)
The attach state `kAttachStateSynchronize` was intended for sending
"Child Update Requests" after a reset (if device was previously
attached) using the `mAttachTimer` for retransmissions. However,