Commit Graph

175 Commits

Author SHA1 Message Date
Abtin Keshavarzian eab62dd699 [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.
2019-04-10 08:33:20 -07:00
Irving-cl dcc13419c3 [thci] match meshlocalprefix accurately to classify the addresses correctly (#3639) 2019-03-04 08:31:16 -08:00
rongli 47be103a62 [thci] update routerselectionjitter before start thread (#3524) 2019-01-28 08:41:14 -08:00
wacmac 103a9db541 [harness-automation] update device category (#3449) 2019-01-10 08:55:39 -08:00
Jing eca3e81fd3 [thci] update pollperiod command to accept ms resolution configuration (#3361) 2018-12-27 15:39:46 -08:00
Yakun Xu 04860bf422 [spi-hdlc-adapter] make pretty spi-hdlc-adapter (#3341) 2018-12-06 13:22:35 -08:00
rongli 1253becb72 [meshcop] support operational dataset operations for MTD (#3339)
- This commit unties operational dataset operations from `OPENTHREAD_FTD` option.
- This commit also updates THCI for MTD certification
2018-12-03 21:28:09 -08:00
Jing 6b01499e83 [thci] pass the channel mask as a comma separated channel string (#3321) 2018-11-29 08:53:19 -08:00
Jing 6f578589ff [harness-automation] add new test cases according to testplan changes (#3270) 2018-11-05 20:48:48 -08:00
rongli 1d617b9027 [thci] enhancements for ncp device (#3195)
- differentiate serial login scenarios and improve serial login experience
- shorten command sending and validating process
- fix ping issue (no impact on NCP DUT certification)
2018-11-01 08:38:39 -07:00
rongli 04a2577cc6 [thci] fix paramiko scope issue when connecting to ncp device via ssh (#3192) 2018-10-22 22:31:57 -07:00
Jing e18877210a [thci] conditionally import paramiko and change getting joiner state method (#3165) 2018-10-16 01:01:25 -07:00
Jing a2865b57a2 [thci] fix channel mask format issue in wpanctl commissioner command (#3150) 2018-10-12 10:53:21 -07:00
rongli 97aafadf2c [thci] fix warning when set downgrade threshold for ncp device (#3113) 2018-10-03 23:20:24 -07:00
Jonathan Hui 1b200be545 [thci] fix IPv6 prefix format (#3116) 2018-10-02 23:12:38 -07:00
rongli 9f55322d36 [thci] fix preferred flag when config border router (#3112) 2018-10-02 02:34:58 -07:00
Jing a97b0c02af [thci] wpanctl thci firmeware validation and modify getGUA according to GRL change (#3106) 2018-10-01 23:52:06 -07:00
Jonathan Hui 5a489836cd [naming] rename FFD to FTD (#3102) 2018-09-27 09:33:03 -07:00
Jing ea1b83a4e7 [thci] add SSH support for OpenThread wpanctl THCI (#3086) 2018-09-26 19:59:18 -07:00
Jeff Bumgardner 7f13a960a2 [docs] update OT logos for Test Harness use (#3088) 2018-09-18 20:06:22 -10:00
Jing 11014739f2 [thci] OpenThread wpanctl THCI bug fix (#3012) 2018-08-31 17:56:33 -07:00
Jeff Bumgardner b133a194fb [docs] revise THCI README (#3005) 2018-08-28 20:50:20 -07:00
Jing 48cbbfd32a [thci] add OpenThread Border Router support (#2947) 2018-08-27 10:51:03 -07:00
Jonathan Hui eba708f018 [mbedtls] simplify source file listing in Makefile.am (#2984) 2018-08-23 10:34:10 -07:00
Abtin Keshavarzian abecb07ba1 [tools] add bash script git-squash-merge (#2962)
This commit adds a new script `git-squash-merg` which can help with
performing squash merge of a branch into another. The commit message
includes the list of squashed commits. This script is helpful for
synchronization of git repositories that work with gerrit.
2018-08-22 13:30:14 -07:00
Abtin Keshavarzian 3ff432f152 [spi-hdlc-adapter] update README.md (fix typos) (#2961) 2018-08-15 12:48:31 -07:00
Jing 492f0c3b10 [harness-automation] update read method for TopologyConfig.txt format change (#2950) 2018-08-07 10:47:01 -05:00
rongli 3e0f0b25f4 [cert] THCI: enhance firmware validation (#2797) 2018-06-18 11:23:41 -07:00
rongli 63257be510 [cert] THCI: apply GRL's update (#2796) 2018-06-15 10:35:40 -07:00
Robrecht Dewaele da2af98e2e [spi-hdlc-adapter] fix compilation on Alpine Linux with musl libc (#2712)
Without linux/ioctl.h compilation fails on this platform,
because _IOC_SIZEBITS will not be defined.
2018-05-17 08:53:51 -07:00
Abtin Keshavarzian bd4cc2689b [spi-hdlc-adapter] enhance the retry logic when slave is busy (#2647)
This commit changes the `spi-hdlc-adapter` retry logic when the slave
is busy (it refuses a transmission). There are three levels, initially
the retries happen almost immediately, then up to certain number of
attempts at a fast rate and finally it drops to a slow rate.

This change helps with the average delay of spinel message exchange
between NCP and host (connected using an SPI interface).
2018-04-06 08:49:15 -07:00
Jing 63245f67f0 [harness-automation] support Test Harness V1.1 R1.2.1 and testbeds with mixed-type devices (#2586) 2018-03-07 17:35:38 +00:00
Jing 67d61e50a1 [harness-automation] adjust golden device numbers based on TestPlanV1.2.0 (#2583) 2018-02-26 21:55:10 +00:00
Matt Smith 2e08471706 [spi-hdlc-adapter] increase max spi-align-allowance from 6 to 16 (#2536)
* Increase max spi-align-allowance from 6 to 16

Testing has determined that some SPI slave interfaces sometimes emit
even more than 6 0xFF bytes before sending the first header byte. Upping
this value to 16 in order to provide some future proofing.

* Up version from 0.06 to 0.07
2018-02-05 21:23:24 +00:00
rongli 78818c3f42 [cert] THCI: add diagnosticQuery() API (#2419) 2017-12-13 13:10:25 +00:00
Jonathan Hui 74b3160f9d [meshcop] use IEEE EUI-64 rather than Joiner ID on user input (#2311) 2017-11-07 09:41:46 -08:00
rongli 2dfd1eb2ae [cert] THCI: only record commissioning log during 'joining' status (#2314) 2017-11-06 08:57:39 -08:00
Maciej Nycz c1a72f84c9 [harness-automation] add option to add all devices to the test bed (#2293) 2017-10-23 22:31:23 -07:00
Maciej Nycz 6a09e466d5 [harness-automation] delete deprecated test cases (#2292) 2017-10-23 22:30:18 -07:00
Maciej Nycz a39e1f59da [harness-automation] add IpPowerSocketPduController class (#2247) 2017-10-16 07:51:46 -07:00
Jeff Bumgardner 39a492bb09 [docs] doc cleanup after openthread.io launch (#2153)
* Doc cleanup after openthread.io launch

* Removed PROTOCOL.md from Makefile
2017-09-06 10:10:35 -07:00
Maciej Nycz d5fcc825f5 [harness-automation] add rf shield device support (#2172) 2017-09-06 09:52:27 -07:00
Maciej Nycz 9f2085d130 [harness-automation] add option to not restart explorer.exe at the end (#2155) 2017-09-01 12:39:44 -07:00
Maciej Nycz 3f5e796422 [harness-automation] added option to rerun failed test cases (#2149) 2017-08-29 09:27:19 -07:00
Jeff Bumgardner 9b515e67f7 [doxygen] grammar and tag fixes (#2105) 2017-08-15 13:53:25 -07:00
Maciej Nycz 78247c8de9 [harness-automation] fix for test cases with many devices (#2088) 2017-08-10 10:09:02 -07:00
rongli 502c6ca5d6 [mac filter] add rssfilter support and integrate whitelist/blacklist to AddressFilter (#1967)
* [mac filter] add rssfilter support and integrate whitelist/blacklist
- provide RssIn filter function to fix the received signal strength for test purpose.
- provide Address filter function which integrates whitelist and blacklist, save (~300B) RAM.
- update cli and spinel-cli to reflect new otLinkFilterX() APIs.
- keep whitelist/blacklist spinel properties the same as before while implemented with new otLinkFilterX() APIs.
- THCI: add setOutBoundLinkQuality() API for DEV-1530
- THCI: update Allow/Block relative APIs
- update some test scripts due to new OT_ERROR_ALEADY when adding duplicate address to whitelist

* update for comments

* add MAC_FIXED_RSS spinel property

* rebase and apply new OutboundFrameBegin(aHeader)

* update OpenThread.py
2017-07-11 22:38:49 -07:00
rongli 19d9b6c371 [cert-thci] support both old and new listSecurityPolicy passing ways for back-compatibility (#1963) 2017-07-06 20:46:39 -07:00
rongli 6a15261b8b [cert] update for new security policy passing way (#1944) 2017-06-28 22:10:01 -07:00
rongli ce8ca59c7a THCI: correct variables scope and reinitialize instance variables to ensure proper initialization before start the device (#1874)
* THCI: correct variables scope and reinitialize instance variables
to ensure proper initialization before start the device

* updates for comments
2017-06-04 11:47:18 -07:00