Commit Graph

14 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
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
Jonathan Hui 52f94d21c3 Update code style to match rest of repo. (#38) 2016-05-16 19:45:33 -07:00
Jonathan Hui c459db422b Remove unused variables. (#35) 2016-05-16 13:33:13 -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 2e3f3b9c01 Add note about using default parameter settings. (#20) 2016-05-11 21:49:12 -07:00
Jonathan Hui 3c6d23d7ba Fix README to match CLI example output (#10) 2016-05-11 16:18:11 -07:00
Wei Wang 337571aebb fix unused stack variable and code cleanup (#13)
LGTM.  Thanks, @weivincewang !
2016-05-11 15:45:40 -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