176 Commits

Author SHA1 Message Date
Robert Quattlebaum bd531379a7 spinel-protocol: Section reorganization, added GPIO cmds (#1015)
Also added `CAP_WRITABLE_RAW_STREAM`, to indicate that the
raw stream is writable.
2016-11-28 18:07:03 -08:00
Robert Quattlebaum 483e201082 spinel-doc: Updates and additions to spinel documentation. (#934)
These changes add peek/poke commands, improvements to the SPI protocol,
and a few other miscellaneous minor changes.
2016-11-06 22:30:17 -08:00
Robert Quattlebaum 6f2f7ce49c spinel: Updated documentation for signal jamming detection (#929)
This commit outlines new Spinel properties for implementing a
signal jamming detection feature into an NCP.
2016-11-03 18:14:12 -07:00
Łukasz Duda b12419b07d Add Nordic Semiconductor logo to the list of Contributors. (#926) 2016-11-03 12:11:10 -07:00
Nick Banks 17836de1fe Add a README.md for Windows (#895)
* Initial readme changes

* Update image
2016-10-27 13:58:55 -07:00
rongli aaf5a57ea2 Cli: update 'keysequence' to make keyswithguardtime configurable (#815)
* Cli: update 'keysequence' to make keyswithguardtime configurable
2016-10-16 22:49:31 -07:00
Robert Quattlebaum 9c252dbac7 ncp: Fix handling of FCS for PROP_STREAM_RAW (#809)
The way the FCS was handled previously was based on assumptions (Like
the `mLength` field of `RadioPacket` didn't include a CRC) that were incorrect.
This change fixes that issue and also simplifies how the protocol handles the
FCS bytes for `PROP_STREAM_RAW`.

This commit addresses #808.
2016-10-13 17:28:15 -07:00
Robert Quattlebaum bc8224e0d5 ncp: Rename MAC_FILTER_MODE to MAC_PROMISCUOUS_MODE (#788)
After some internal discussion, it was decided to rename this property to
be more in line with the usage of OpenThread and 802.15.4.
2016-10-11 09:14:42 -07:00
Nick Banks f409bfce85 Add Microsoft Logo to list of Contributors in readme.md (#744)
* Update README.md to reflect Microsoft contributing to OpenThread.
2016-10-06 12:27:58 -07:00
Abtin Keshavarzian fb77e574cb Add new spinel property THREAD_NEIGHBOR_TABLE and its support in Ncp (#742)
This commit adds a new spinel property `THREAD_NEIGHBOR_TABLE` and
its get handler in `NcpBase` class.
2016-10-04 15:25:42 -07:00
Nick Banks 79d99e7a91 Refactor OpenThread Global Variables into a Single Context Structure (#357)
* Refactor OpenThread to contain all global/static variables in a single context structure.
2016-10-04 15:23:25 -07:00
Abtin Keshavarzian b962983f01 Add new spinel property THREAD_PREFERRED_ROUTER_ID and its set handler (#718)
This commit adds a new spinel property `THREAD_PREFERRED_ROUTER_ID`
(write-only) along with its set property handler function.
2016-09-28 19:21:32 -07:00
Robert Quattlebaum 5b887f3a4e spinel-doc: Specify frame metadata format (#715) 2016-09-28 15:32:30 -07:00
Martin Turon 625e4adde4 spinel-cli: Add router timing commands. (#705)
Adds support for routerselectionjitter, routerdowngradethreshold, and masterkey to fixe the slew of ncp-sim failures from recent thread-cert test updates.  Also added missing otInstance parameter to the new APIs..

Added otInstance to new APIs.
2016-09-27 18:19:47 -07:00
Robert Quattlebaum 654f953fda Spinel Protocol Documentation Updates (#581)
Elaborated on introduction section. Added explanation of how
properties are intended to work. Minor fixes to test vectors.
Move glossary to the end of the document. Fixed several
spelling errors. Also added placeholder section for security
considerations.
2016-09-14 12:00:40 -07:00
Jonathan Hui 44350178ad Change copyright to The OpenThread Authors. (#583)
- Add a top-level file named AUTHORS which identifies the copyright
holders of the project.
2016-09-13 15:57:11 -07:00
Nick Banks ffbe65c6dd otInstance Declarations (#473)
* Add otInstance type declaration and update ot APIs to take it as input.
2016-09-12 14:29:43 -07:00
Abtin Keshavarzian 0a46feaee1 Ncp: Add new spinel property THREAD_ROUTER_ROLE_ENABLED (#553)
This commit adds getter and setter handlers in `NcpBase` class
for a new spinel property `THREAD_ROUTER_ROLE_ENABLED`.
2016-09-11 20:23:47 -07:00
Robert Quattlebaum 8045c55f5f Fixup for "Refinement of Spinel Protocol Documentation (#534)" (#551)
The last commit was missing the makefile.
2016-09-09 12:19:45 -07:00
Robert Quattlebaum a24602e909 Refinement of Spinel Protocol Documentation (#534)
This commit refines the documentation of the Spinel NCP protocol. What
was previously a single markdown-based document has now been broken
into multiple files which can be edited independently. These files can
then be compiled into a final document in either XML, HTML, or
plaintext formats. The [`mmark`](https://github.com/miekg/mmark) tool is
used for compiling the source documentation into a single XML file and
[`xml2rfc`](https://xml2rfc.tools.ietf.org/) is used to convert from
the XML to the final desired format.

Note that the building of the protocol documents is handled
independently from the normal OpenThread build. The spinel protocol
document source files are intentionally excluded from the build
system, since there is no value in including them. Copies of the final
compiled documents are included to ensure that they are distributed
with any release archives.

This commit is focused on introducing this new strucutre to the protocol
document. The document itself is a work in progress and may contain
errors or require revisions, hence the `draft-` prefix in the filenames.

This commit is related to issue #492, "☂ Spinel NCP Protocol
Standardization".
2016-09-09 10:36:45 -07:00
Jonathan Hui c1d425b918 Use message link security attribute to also control link security on transmission. (#111) 2016-06-06 15:33:58 -07:00
Jonathan Beri b434719b0a updated contrib. logo (#92) 2016-05-31 14:55:54 -07:00
Robert Quattlebaum 059763bfcc travis: Update travis to do a make distcheck instead of just make check (#46)
* travis: Do a `make distcheck` instead of just `make check`

Doing a `make distcheck` instead of just a `make check` ensures that
the build system is sane and that the results from `make dist` have
everything needed.

* build-system: Fixes for `make distcheck`

This commit fixes the `distcheck` target by addressing the following
issues:

 *  Repaired ability to perform builds when the build directory is not
    the source directory.
 *  Addressed an issue with the tarball name that occurs the very
    first time `make` is run.
2016-05-19 13:34:40 -07:00
Jonathan Hui c8908cf687 Fix 'make dist'. (#40)
* Include header files for distribution.
* Include tests scripts for distribution.
* Include docs for distribution.
2016-05-16 21:41:38 -07:00
Marcin K Szczodrak 99870fae01 adjust license text width (#22) 2016-05-12 22:39:11 -07:00
Jonathan Hui 4f9945c533 Initial commit 2016-05-10 22:49:53 -07:00