Commit Graph

1388 Commits

Author SHA1 Message Date
Kamil Sroka 37ab56aafb Update nRF52840 README.md (#1796)
* Update nRF52840 README.md

* Separate diagnostic module descriptin to DIAG.md file
2017-05-22 09:28:32 -07:00
Qiang Gu ac416b4fd4 Add support for ARC EMSK (#1549)
* Add embARC EMSK BSP in third_party folder.

* Add synopsys in Makefile.am for embARC BSP

* Add platform implementation on ARC EMSK

* Add EMSK in Makefile.am and Makefile-emsk

* Add EMSK support in apps

* Modify configure.ac to add ARC EMSK.
2017-05-22 09:09:18 -07:00
Xiao Ma 064aba2ba7 Set transmit power with value passed from upper layer before transmitting. (#1789) 2017-05-21 10:48:28 -07:00
Buke Po f7bd4b6bc9 some fixes (#1793) 2017-05-20 23:06:39 -07:00
georgecpr 5da57a3a8b Add support for NXP KW41Z4 (#1774)
* NXP KW41Z4 OpenThread support
2017-05-19 12:44:59 -07:00
pvanhorn 7862f1107e Add support for the Host Power State feature. (#1772)
* Add support for the Host Power State feature.

* Fix compiler ewrrors.

* Fix compiler errors round 2.

* Add newlines to end of file.

* Address review comments.

* Arrange to send the power state response again if the first attempt fails.

* Fix compiler issue.
2017-05-19 11:33:38 -07:00
Buke Po 4f5b17ab0b route cost to self (#1787) 2017-05-18 20:53:23 -07:00
Shu Chen 9bcc2ccfe4 Move PSKc Get and Set functions to thread_ftd (#1782) 2017-05-18 20:52:39 -07:00
Shu Chen 8899793e61 Add txpowermax CLI (#1775) 2017-05-16 09:10:26 -07:00
Shu Chen a246858d66 Add txpower configuration support for CC2538 platform (#1776) 2017-05-16 09:09:36 -07:00
Abtin Keshavarzian 8e66f9640b NcpBase: Implement GetPropertyHandler_THREAD_LOCAL_ROUTES (#1773) 2017-05-15 18:49:35 -07:00
Abtin Keshavarzian b0e26db764 NcpBase: Use border router flags from spinel.h for insert handler of ON_MESH_NETS (#1770) 2017-05-15 18:43:00 -07:00
Giedrius 91bce33102 CoAP: enable response handler for CoAP response messages (#1719)
This is needed for detecting a canceled CoAP observe session.
2017-05-15 12:03:32 -07:00
Giedrius 8fa20a51f1 CoAP: add default request handler (#1718) 2017-05-15 12:01:21 -07:00
Giedrius 7049af1082 CoAP: Send CoAP requests using application CoAP core. (#1717) 2017-05-15 11:59:44 -07:00
Łukasz Duda 4436798d40 [DOC] Update nRF52840 README.md (#1769) 2017-05-15 05:55:37 -07:00
Buke Po 15cf846075 free response on failure (#1768) 2017-05-13 19:03:33 -07:00
Jonathan Hui 39b1162b1e Combine CoAP Client and Server into a single CoAP agent. (#1745) 2017-05-12 11:51:19 -07:00
Robert Quattlebaum 08e52e55a5 spinel: Introduce PROP_HOST_POWER_STATE (#1722)
Introduces a new core property (`PROP_HOST_POWER_STATE`) which is used
by the host to inform the NCP of the power state of the *host*.
The NCP can then use this state to determine which properties need
asynchronous updates. The states are defined in similar terms to
those used for the `PROP_POWER_STATE` property.
2017-05-12 10:02:53 -07:00
Xiao Ma e98b873ae3 Skip Router itself to avoid extra comparison when searching its neighbor. (#1760) 2017-05-12 10:01:30 -07:00
Seth Rickard 33b079893e implement radio stub functions and catch up on technical debt (#1763) 2017-05-11 22:15:06 -07:00
Abtin Keshavarzian b096efe932 Remove use of OPENTHREAD_CONFIG option from API header file thread_ftd.h (#1749)
This commit removes the use of an OpenThread configuration option
`OPENTHREAD_CONFIG_ENABLE_STEERING_DATA_SET_OOB` from API header file
`thread_ftd.h`. It also changes the `otThreadSetSteeringData()` to
return `NotCapable` error when this option is disabled. This commit
also includes minor typo fixes in the comments of the same file(s).
2017-05-11 20:48:07 -07:00
Abtin Keshavarzian 561c9c9016 spinel: Adding spinel_capability_to_cstr() function (#1762) 2017-05-11 19:33:53 -07:00
Abtin Keshavarzian d9f84b0f24 spinel.c: Remove the SPINEL prefix from strings returned by spinel_prop_key_to_cstr() (#1761) 2017-05-11 19:32:34 -07:00
rongli 20efc8dd1a Fix routing cost comparison issue when chosing BR (#1759)
* Fix routing cost comparison issue when chosing BR

* remove extra space

* update for comments
2017-05-11 19:30:24 -07:00
Abtin Keshavarzian 3854d9d61f NcpBase: Adding support for MLE Discovery scan related spinel porperties (#1757) 2017-05-11 12:07:40 -07:00
Jonathan Hui af520d2b04 Use factory-assiend EUI-64 as personalization data. (#1758) 2017-05-11 10:02:22 -07:00
Abtin Keshavarzian e6909af026 Add logs to list a child's registered IPv6 addresses (#1756) 2017-05-11 10:01:51 -07:00
Jonathan Hui 2d8617d682 Update doxygen for public APIs. (#1753) 2017-05-11 10:00:51 -07:00
Jonathan Hui cf59c5826f Co-locate settings structs and document rules for updating. (#1754) 2017-05-11 10:00:29 -07:00
Buke Po 1ece777a82 sync parameter names in ip6.cpp with ip6.hpp (#1755) 2017-05-10 17:57:35 -07:00
Abtin Keshavarzian 9f3ee5cd52 Add/Update logs in MeshForwarder when a received frame is being dropped (#1747) 2017-05-10 15:33:01 -07:00
Jonathan Hui 075d23370a spinel-cli is now maintained in a separate repo. (#1742) 2017-05-10 15:05:51 -07:00
Robert Lubos f2af98cd8a Increase default mbedTLS heap size for nrf52840. (#1752) 2017-05-10 08:58:47 -07:00
rongli 027ad9eb03 Update TmfFilter as specification (#1733) 2017-05-09 23:10:24 -07:00
Buke Po 9c141d798f select mesh local address (#1734) 2017-05-09 22:00:48 -07:00
Buke Po ff5c068a5a Fix warnings of found by scan-build (#1746)
* fix warnings of found by scan

* revert the implementation of ChildTableEntry
2017-05-09 19:33:16 -07:00
Giedrius 9aabd7f813 Generic uint CoAP option support (#1736) 2017-05-09 12:56:59 -07:00
Abtin Keshavarzian 005be77d3e Add log to indicate child supervision time out (#1744) 2017-05-08 23:15:11 -07:00
Buke Po a96ec77ce4 Add missing error information. (#1740)
* add missing care for error

* keep scope check in InsertMplOption
2017-05-08 22:35:57 -07:00
rongli d37f0870ab specify rloc as source for coap client message in core (#1743) 2017-05-08 22:23:06 -07:00
Buke Po 0d855d1aa9 use virtual methods instead of function pointers (#1726) 2017-05-08 21:49:59 -07:00
Abtin Keshavarzian c5ed4dd32d Add log to indicate when a data poll is received. (#1739) 2017-05-08 20:54:02 -07:00
Abtin Keshavarzian f24017f1dd Add/Update logs related to data poll transmission (#1738)
This commit adds/updates logs in `DataPollManager`:

- New logs in `HandlePollSent()` after either successful or failed
  transmission of a data poll.

- New logs in `HandlePollTimeout()` to indicate data poll timeout.
2017-05-08 20:53:33 -07:00
Abtin Keshavarzian 57b081da6d DataPollManager: Simplify restarting of data poll timer. (#1737) 2017-05-08 14:47:16 -07:00
Jonathan Hui f90e33a4d5 Add support for TI CCS. (#1731) 2017-05-08 14:45:55 -07:00
Abtin Keshavarzian c28e2ff070 Spinel: Define properties for discover scan operation (#1703)
This commit define new spinel properties related to Thread's
discover scan operation. It also updates the spinel draft
documentation.
2017-05-08 14:45:10 -07:00
rongli 589d02ae7a Fix bugs in MGMT_ANNOUNCE_BEGIN.ntf/MGMT_ED_SCAN.qry/MGMT_PANID_QUERY.qry (#1732)
* Fix bugs in MGMT_ANNOUNCE_BEGIN.ntf/MGMT_ED_SCAN.qry/MGMT_PANID_QUERY.qry
1) specify mMeshLocal16 as source address for such notification or query
2) not SendEmptyAck for multicast notification or query
3) not re-selectsource for SendEmptyAck of unicast notification or query

* update for comments
2017-05-08 09:12:02 -07:00
Jonathan Hui fbfd76a990 Apply #include code style. (#1723) 2017-05-05 11:28:29 -07:00
Buke Po 7e50d1a668 Select the appropriate source address (#1729)
* selecting source

* adjust code style

* save matched result

* refine the algorythm to select source address

* fix unuseful line
2017-05-05 11:14:26 -07:00