Abtin Keshavarzian
d236546304
Add return error case NotFound to otGetChildInfo ( #1321 )
...
- The method `otGetChildInfoByIndex()` is changed to return thread
error `NotFound` when there is no valid child with given index.
- Usage of this method is updated in `NcpBase` and `cli` to iterate
over all children.
2017-02-15 13:07:11 -08:00
Harry Morris
0cc27dd91d
Gracefully handle invalid linkquality command ( #1261 )
...
linkquality cli command always expects at least a extended address
specifying the link. If no argument is provided then throw an error
and exit.
2017-02-15 09:12:43 -08:00
Jonathan Hui
960415285e
Add args check to SetRouterSelectionJitter(). ( #1296 )
2017-02-10 04:17:38 -08:00
Jonathan Hui
efc4599d62
Have router make two separate attempts to reconnect to current partition. ( #1276 )
2017-02-09 11:05:35 -08:00
rongli
6d011d04ea
Prompt Error for unsupported cli commands ( #1154 )
2017-01-15 19:25:18 -08:00
Jonathan Hui
c943da9b4b
Add vendor information to JOIN_FIN.req message. ( #1140 )
2017-01-13 09:10:17 -08:00
Jonathan Hui
d61b878d34
Remove Preferred and Valid Lifetimes from otNetifAddress. ( #1110 )
...
- Replace Preferred and Valid Lifetimes with a flag.
- Introduce new otDhcpAddress type for maintaining Preferred and Valid Lifetimes.
- Reduces RAM usage by 128 bytes.
2017-01-04 13:37:25 -08:00
Nick Banks
40df448702
Add Dhcp6 Client/Server Support to Windows Driver ( #1084 )
2017-01-03 18:29:05 -08:00
Jonathan Hui
64d49153bd
Add callback to indicate when joiner operation completes. ( #1094 )
2016-12-27 08:06:18 -08:00
Jonathan Hui
5554a3fcb9
Initialize all member variables in constructors. ( #1074 )
2016-12-14 15:39:30 -08:00
Łukasz Duda
dbc1384db2
DIAG: Add CLI support for Diagnostic DIAG_GET.rsp message. ( #1062 )
...
* DIAG: Add CLI support for Diagnostic DIAG_GET.rsp message.
2016-12-13 10:22:57 -08:00
rongli
d2695ab5f4
fix diagnostic feature and code cleanup ( #1030 )
...
* fix diagnostic feature and code cleanup
2016-12-02 09:02:16 -08:00
Jonathan Hui
9586cfb700
Initialize all member variables in constructors. ( #1026 )
2016-12-01 08:51:55 -08:00
Adam Eliot
e40947eb6f
Add separate counters for unicast and broadcast ( #994 )
...
* Added tx counts for unicast vs broadcast packets
* Added counters for Rx broadcast vs unicast packets
2016-11-22 08:41:27 -08:00
Xiao Ma
78047488b6
THCI: enhance commissioner session id. ( #986 )
2016-11-17 18:36:39 +08:00
Jonathan Hui
d44f39769f
Add ability to retrieve message and buffer counts for message queues. ( #940 )
2016-11-07 22:13:15 -08:00
Nick Banks
74a95f042d
Windows API DLL ( #882 )
...
* VS Solution files and minor fixes.
* Move Tasklet into platform include file
* Refactor data path APIs into openthread-ip6.h
2016-11-04 09:28:17 -07:00
Łukasz Duda
bb97cbee17
IP: Add API to subscribe/unsubscribe to multicast addresses. ( #899 )
...
* IP: Add API to subscribe/unsubscribe to multicast addresses.
* CLI: Add commands to handle multicast addresses.
2016-11-02 11:24:35 -07:00
rongli
cec41045db
Drop duplicated packet directly ( #911 )
2016-11-01 08:53:55 -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
f3ebcff818
Add 'factoryreset' cli ( #892 )
...
* add 'factoryreset' cli to delete all stored settings and then reset
* use 'factoryreset' in THCI reset API to ensure that there is no pre-settings in DUT before running any test
2016-10-27 11:08:39 -07:00
pvanhorn
81738bd8af
Remove Netif name and rely on enumerated Interface Id's for netif. ( #833 )
...
* Remove Netif name and rely on enumerated Interface Id's for netif.
2016-10-18 13:56:50 -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
c24b7cfaed
Add Thread Certification 9.2.7 to automated test. ( #750 )
2016-10-05 10:02:08 -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
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
Hubert Miś
aeba71b1a1
Pr/slaac utility ( #698 )
...
* Provide utility for IPv6 SLAAC (#651 )
* Semantically Opaque Interface Identifier with IPv6 SLAAC (#651 )
2016-09-29 08:37:10 -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
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
Shu Chen
d71939d331
Add Joiner UDP Port feature ( #676 )
...
* Add Joiner UDP Port feature
- Add 'joinerport' cli for configuration
- Include Joiner UDP Port TLV in discovery response message
- Joiner use it as destination port during commissioning process
2016-09-25 20:50:28 -07:00
Buke Po
d283c29f23
Support network diagnostic feature. ( #652 )
...
* support network diagnostic
* add network diagnostic THCI implementation
2016-09-23 21:06:08 -07:00
Jonathan Hui
61dcf6cf58
Fix bounds checks in cli. ( #682 )
2016-09-23 21:01:28 -07:00
Jonathan Hui
90457e535f
Fix compiler warnings. ( #681 )
2016-09-23 15:44:53 -07:00
Lu Wang
9b97c1c7d0
Add support for MGMT_COMMISSIONER_GET and MGMT_COMMISSIONER_SET ( #634 )
...
* - Add support for MGMT_COMMISSIONER_GET and MGMT_COMMISSIONER_SET
- Add CLI for sending this two commands
* - Move MGMT_COMMISSIONER_GET and MGMT_COMMISSIONER_SET to MeshCoP::commissioner
2016-09-23 09:38:21 -07:00
Łukasz Duda
c1bffba7dc
CLI: Router and child table ( #662 )
...
* CLI: Add router and child table commands.
This commit fixes issue #626 .
* CLI: Add documentation to router and child table.
This commit fixes issue #626 .
2016-09-22 09:43:11 -07:00
Jonathan Hui
b26e022491
Implement Provisioning URL TLV. ( #646 )
2016-09-21 10:51:09 -07:00
Jonathan Hui
03fea69c1b
Energy scan. ( #606 )
2016-09-16 16:04:01 -07:00
Shu Chen
0d54e51ebe
Add Hash MAC address get cli ( #611 )
...
- move Hash Mac address calculation from joiner.cpp to mac.cpp
- add hashmacaddr cli
2016-09-16 05:43:44 -07:00
Jonathan Hui
9393f468bd
Add otGetFactoryAssignedIeeeEui64() to API. ( #592 )
...
- Change cli.cpp to use OpenThread API rather than platform API.
2016-09-14 12:01:09 -07:00
Xiao Ma
a642297520
Implement ROUTER_DOWNGRADE_THRESHOLD. ( #588 )
2016-09-14 09:25:56 -07:00
Jonathan Hui
ef2a1a0c9d
When commissioning, set ext addr based on factory-assigned IEEE EUI-64. ( #584 )
...
- Add CLI for printing the factory-assigned IEEE EUI-64.
- Add otPlatRadioGetIeeeEui64() API.
2016-09-13 23:37: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
6d2dfa5bb0
Support #define to overwrite what openthread-config file to use, since Windows does support autoconf. ( #578 )
2016-09-13 09:27:11 -07:00
Jonathan Hui
c44c20ef66
Implement PAN ID Query/Conflict. ( #556 )
2016-09-13 09:18:05 -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
Jonathan Hui
a78f91ebdf
Configure PSKd as part of starting the commissioner/joiner role. ( #547 )
2016-09-08 20:33:26 -07:00
Jonathan Hui
563685e187
travis: enable code coverage reporting. ( #516 )
2016-09-08 14:14:25 -07:00
Jonathan Hui
7c2b818d2e
Thread Commissioning. ( #399 )
2016-09-08 10:23:11 -07:00
Jonathan Hui
e22c123904
Remove globals from message.cpp.
2016-09-07 13:30:22 -07:00