Commit Graph

30 Commits

Author SHA1 Message Date
Jonathan Hui d1b0fed201 Add code style formatting (pretty) and checker (pretty-check) targets. (#52)
* Add 'pretty' target to reformat sources to be compliant with code style.
* Add 'pretty-check' target to check if sources are compliant with code style.
* Update travis-ci script to use 'pretty-check' and enforce code style.
* The 'pretty' and 'pretty-check' targets rely on the 'astyle' tool.
2016-05-19 15:46:29 -07:00
Jonathan Hui 15a1bb55cd Add osx to travis. (#48) 2016-05-19 14:24:09 -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 f68de0f388 README.md indicates wrong prf options. (#49)
* `prf` value should be 'high', 'med', or 'low'
* remove `r` flag from the route command
2016-05-18 23:06:36 -07:00
pvanhorn 91cce9e0d7 Resolve several compile warnings and errors. (#43) 2016-05-18 14:16:10 -07:00
Jonathan Hui e9f4292be3 Add cli_udp.cpp to sources and remove c++11 dependencies. (#41) 2016-05-17 08:58:06 -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
Jonathan Hui 52f94d21c3 Update code style to match rest of repo. (#38) 2016-05-16 19:45:33 -07:00
Jonathan Hui 3d078cf1b3 Remove unused header files. (#32) 2016-05-16 13:33:24 -07:00
Jonathan Hui c459db422b Remove unused variables. (#35) 2016-05-16 13:33:13 -07:00
Jonathan Beri cfb2f38e69 Adding language about logo (#26) 2016-05-13 23:31:13 -07:00
Robert Quattlebaum e54e83e9fc core: mac: Added new method: Mac::IsActiveScanInProgress() (#29)
* core: mac: Added new method: `Mac::IsActiveScanInProgress()`

* core: Add `otActiveScanInProgress()` for checking if a scan is in progress.
2016-05-13 18:41:14 -07:00
Robert Quattlebaum 4c560dc94e For upstream/serial and logging fixes (#28)
* posix: logging: Use `stderr` instead of `stdout` for debug logging.

* posix: serial: Restore socket `termios` settings for `stdin` and `stdout` at exit.
2016-05-13 16:29:38 -07:00
Jonathan Hui 1f24fa44fa Add active scan to API and CLI. (#27)
* Add active scan functions and definitions to core C api.
* Add active scan command to CLI.
* Add emulation of PHY channel isolation.
2016-05-13 15:14:04 -07:00
Jonathan Hui baa8994190 Re-enable termio settings. (#25) 2016-05-13 09:33:35 -07:00
Marcin K Szczodrak 99870fae01 adjust license text width (#22) 2016-05-12 22:39:11 -07:00
Jonathan Hui e1c17ce302 Enable ROM tables and disable unused features. (#21) 2016-05-12 01:11:33 -07:00
Jonathan Hui 47c67747bb Add link to hosted doxygen. (#19) 2016-05-11 21:49:51 -07:00
Jonathan Hui 2e3f3b9c01 Add note about using default parameter settings. (#20) 2016-05-11 21:49:12 -07:00
turon 72201aad75 Adding argc checks to route and prefix to fix issue-4 and issue-7 2016-05-11 20:30:16 -07:00
Jonathan Hui f1b1b8ee7e Issue template (#18) 2016-05-11 18:25:35 -07:00
Jonathan Hui 3a439e56b4 Change SendDatagram to not free the message on error. (#16)
The caller should be responsible for freeing the message buffer.
2016-05-11 17:01:38 -07:00
Jonathan Hui 3c6d23d7ba Fix README to match CLI example output (#10) 2016-05-11 16:18:11 -07:00
Jonathan Hui 5074b938a7 Update build status to travis-ci.org. (#17) 2016-05-11 15:58:58 -07:00
Gaurav Hirlekar 622090e3e8 Update README.md (#2)
* Update README.md

From the command line parameters, I assume 'del' stands for delete.

* Update README.md

Another minor fix as recommended by jwhui
2016-05-11 15:58:27 -07:00
Wei Wang 337571aebb fix unused stack variable and code cleanup (#13)
LGTM.  Thanks, @weivincewang !
2016-05-11 15:45:40 -07:00
pvanhorn a37ca1302d Add void to API prototypes which take no arguments. (#14)
LGTM.  Thanks @pvanhorn !
2016-05-11 15:37:02 -07:00
Bo Zhu 2310c18d24 Small typos in /src/cli/README.md (#5) 2016-05-11 13:56:15 -07:00
Jonathan Hui dd9d6e6517 Fix typo in README.md (#1)
The returned 'state' value for Node 2 should be 'router' instead of 'leader'.
2016-05-11 11:36:47 -07:00
Jonathan Hui 4f9945c533 Initial commit 2016-05-10 22:49:53 -07:00