Commit Graph

72 Commits

Author SHA1 Message Date
Przemysław Fierek 100e568a09 Improve the sniffer design. (#1073) 2016-12-14 08:59:23 -08:00
Przemysław Fierek 7087f9af69 Fix spurious test errors in test_ipv6.py (#1072) 2016-12-14 08:58:24 -08:00
Przemysław Fierek bc8b1a4cd1 Add CoAP support to thread-cert. (#1063) 2016-12-12 10:10:52 -08:00
Xiao Ma 94b264ccf9 Update Auto Test 9.2.7 to try make Travis check more stable. (#1050) 2016-12-08 12:35:05 -08:00
Xiao Ma b3f91ee85f Append default Active Dataset sub-tlvs when Leader forms a partition. (#1039)
* if any Active Dataset sub-tlvs missed, append it with default value.

* if any tlv that would affect the network connectivity included in
  MGMT_ACTIVE_SET.req, but the value is identical with current one,
  take this change as a immediate update.

* update auto-test 9.2.7.
2016-12-06 13:29:37 -08:00
Nick Banks 646d9e2f19 Reduce MTU to 1280 bytes (#1032)
* Reduce MTU to 1280 bytes

* Update 5.1.07 test to use 1232 byte ping
2016-12-01 14:00:50 -08:00
Nick Banks 24b98dbb85 Windows Cert Testing (#943)
* PR for cert test interface for Windows driver model.
2016-11-29 12:10:34 -08:00
PFierek fba3198c9e Add Python3 support to thread-cert. (#985) 2016-11-17 21:16:59 +08:00
Jonathan Hui 257e418b21 Add Minimal Thread Device to build. (#973) 2016-11-17 01:02:40 +08:00
PFierek bd99468e85 Add sniffer. Extend some tests according to Thread Certification Test Plan V1.1 Preview 1612. (#957) 2016-11-10 12:59:25 +08:00
Xiao Ma 85521db9af Delay the Tlv that affects connectivity by using Pending Operational Dataset. (#869) 2016-11-04 08:53:33 -07:00
Jonathan Hui f8dbca157b Update to latest Thread Certification Test Spec. (#925) 2016-11-03 11:37:23 -07:00
Xiao Ma 30c9dfc0bc Copy TLVs from Active Dataset to Pending Dataset which are not included in MGMT_PENDING_SET request message. (#915) 2016-11-02 11:23:19 -07:00
rongli 3001fc689c DHCP: implement simple Server/Client (solicit/reply) (#884)
* DHCP implementation
- implementation Dhcp client/server (solicit/reply)
- two build options --enable-dhcp6-server  --enable-dhcp6-client (default disable)
- add Cert_5_3_09_AddressQuery for Dhcp Client/Server test in travis
2016-10-31 21:38:56 -07:00
Shu Chen 196c28d022 Add Thread Certification 9.2.8 to automated test. (#909) 2016-10-31 20:44:21 -07:00
Shu Chen a21db36a5b Implement reattach process using stored dataset (#894) 2016-10-31 08:56:52 -07:00
Shu Chen b6adaaf758 Delay a little longer after starting sim node (#879)
- To make travis check more stable
2016-10-25 10:50:10 -07:00
Nick Banks ad39a59ff9 Support Different Number of Max Children (#872)
* Add support for setting child max, for platforms that define a different maximum number of supported children.
2016-10-24 10:43:10 -07:00
Jonathan Hui ffaade05c6 Update multicast tests to expect multiple ping replies. (#864) 2016-10-24 09:13:38 -07:00
Jonathan Hui 4538dafd3d Add Thread Certification 9.2.4 to automated test. (#823) 2016-10-17 17:26:58 -07:00
Jonathan Hui 117ecaf579 Add Thread Certification 8.2.2 to automated test. (#824) 2016-10-17 10:18:19 -07:00
Jonathan Hui 6878c63faf Add Thread Certification 8.2.1 to automated test. (#822) 2016-10-17 09:18:26 -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
Jonathan Hui c28042ce97 Add Thread Certification 9.2.17 to automated test. (#786) 2016-10-12 20:41:11 -07:00
Jonathan Hui 0bafb5a08f Add Thread Certification 9.2.18 to automated test. (#785) 2016-10-12 11:28:29 -07:00
Nick Banks 80d3a3b8fb Don't Use Special IPv6 Addresses (#791)
* Replace 200*::/64 with 2001:2:0:*::/64
2016-10-11 17:40:15 -07:00
Xiao Ma 6a433b971c Remove ROUTER_SELECTION_JITTER setting for ED/SED in cert scripts. (#792) 2016-10-11 09:15:57 -07:00
Jonathan Hui 04665429f9 Fix typo for pending channel in 9.2.7. (#789) 2016-10-11 09:15:13 -07:00
Jonathan Hui 249774eccf Add Thread Certification 5.2.6 to automated test. (#784) 2016-10-11 09:07:51 -07:00
Jonathan Hui a15a1ba687 Add Thread Certification 9.2.16 to automated test. (#770) 2016-10-10 10:42:21 -07:00
Jonathan Hui 7b0280bbde Add Thread Certification 9.2.15 to automated test. (#769) 2016-10-10 09:46:07 -07:00
Jonathan Hui f3ef4046db Steering data. (#743) 2016-10-10 09:40:08 -07:00
Jonathan Hui 656c919c71 Fix bug in Thread Certification 6.1.3 automated test. (#771) 2016-10-07 16:10:31 -07:00
Jonathan Hui 176325b5a6 Add Thread Certification 9.2.11 to automated test. (#764) 2016-10-07 15:50:09 -07:00
Jonathan Hui 506bf83c1d Add Thread Certification 9.2.10 to automated test. (#761) 2016-10-07 14:14:17 -07:00
Jonathan Hui eb2277ab60 Add Thread Certification 9.2.9 to automated test. (#756) 2016-10-06 12:29:08 -07:00
Jonathan Hui 118ef08167 Update Thread Certification 5.5.4,5 to current test plan. (#755)
- Restrict child to only process Route TLV from parent.
2016-10-05 22:06:49 -07:00
Jonathan Hui c24b7cfaed Add Thread Certification 9.2.7 to automated test. (#750) 2016-10-05 10:02:08 -07:00
Jonathan Hui 671964c2d4 MLE Announce. (#736) 2016-10-04 10:26:30 -07:00
Jonathan Hui cb04fe8391 Commissioner joiner list. (#729) 2016-10-03 08:54:54 -07:00
Jonathan Hui 9096c98f01 Increase attach timeout to 5 seconds to account for random delays. (#700) 2016-09-27 13:34:48 -07:00
Jonathan Hui 615102a51f Only check for string match against prefix, rather than entire address. (#687) 2016-09-26 13:23:18 -07:00
Xiao Ma a74e0496b8 Delay a random jitter period prior to request a Router ID for REED. (#554)
* Delay a random jitter period prior to request a Router ID for REED.

* Update Cert_5_1_09_REEDAttachConnectivity.py to pass Travis check.

* Add CLI to set/get the ROUTER_SELECTION_JITTER and update Certification scripts.

  - add 'posix-ncp' to allow failure list in .travis.yml.
2016-09-26 10:03:09 -07:00
Jonathan Hui 8d6923fe8b Add initial thread-cert tests for commissioning. (#680) 2016-09-23 15:45:07 -07:00
Martin Turon ad0efaf72d spinel-cli: Add timestamp to ping. (#658)
Now calculates real round-trip times for ping6 reply:

    12 bytes from fdde:ad00:beef::3388:cc1e:5e44:6150: icmp_seq=0 hlim=63 time=891ms

Increased pexpect timeout for ncp-sim to 4 sec to handle ping responses >2 sec.
Makes Cert_5_3_10_AddressQuery pass reliably, even on low memory Travis VMs.
Added initial stub for commissioner command.
Add env variable control of ncp-sim DEBUG output.
2016-09-21 15:30:36 -07:00
Nick Banks c063ec1477 Refactor Python Node ping function (#643)
* Refactor ping command to remove pexpect dependency on each cert test
2016-09-20 18:13:57 -07:00
Jonathan Hui 03fea69c1b Energy scan. (#606) 2016-09-16 16:04:01 -07:00
Martin Turon 84079beb3a spinel-cli: Clean exit (#585)
* spinel-cli: Use new clean eof termination of ot-ncp rather than CTRL+C.

* Add coverage to NCP.
2016-09-13 18:47:57 -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
Jonathan Hui c44c20ef66 Implement PAN ID Query/Conflict. (#556) 2016-09-13 09:18:05 -07:00