Marcin K Szczodrak
e1771f6cc4
posix uart termios typo ( #463 )
2016-08-25 21:37:49 -07:00
Jonathan Hui
70bd6af3b8
Fix bugs in retrieving child/router info using an RLOC16. ( #475 )
2016-08-25 21:09:01 -07:00
Shu Chen
767df0f437
Don't reset key sequence when setting the same master key ( #468 )
...
Update 'SetMasterKey()' to reset key sequence only when setting a different master key.
2016-08-25 20:45:34 -07:00
rongli
1bb951240e
fix AppendRoute() bug: LinkQualityOut is always 0 ( #466 )
2016-08-25 20:34:49 -07:00
Jonathan Hui
86307f2e3d
Set VERBOSE=1 to provide additional output on travis builds. ( #461 )
2016-08-25 18:53:13 -07:00
Jonathan Hui
18c4dcfc9e
Fix bugs when comparing partitions during parent selection. ( #472 )
2016-08-25 18:07:34 -07:00
Jonathan Hui
674bff37fa
Implement a method for removing a neighbor. ( #454 )
2016-08-23 20:47:33 -07:00
rongli
ee1c8fecd9
Fix default route issue ( #451 )
2016-08-23 20:47:20 -07:00
Abtin Keshavarzian
97cbae2174
Ncp: Post the tasklet mUpdateChangedPropTask from constructor for initial reset flag. ( #453 )
2016-08-23 12:53:24 -07:00
Xiao Ma
834c8ebc94
Update ADDRESS_QUERY_MAX_RETRY_DELAY parameter value. ( #450 )
2016-08-23 08:49:50 -07:00
Jonathan Hui
90a6039a2b
All secured MLE messages must have Key ID Mode 2. ( #449 )
2016-08-22 22:52:38 -07:00
Abtin Keshavarzian
6cf94291b9
Adding openthread API for Energy Scan operation ( #448 )
2016-08-22 21:20:14 -07:00
Jonathan Hui
f52efd73e6
Filter out ICMP Echo Requests when ICMP offload is enabled. ( #447 )
2016-08-22 21:19:49 -07:00
Robert Quattlebaum
0de5f59090
ncp-spinel: Added support for PROP_IPV6_ICMP_PING_OFFLOAD ( #446 )
...
With this change, you can now enable or disable IPv6 ICMP ping offload.
It is disabled by default.
2016-08-22 21:19:23 -07:00
Jonathan Hui
70d83b694a
Handle Network Data updates via netif handler to coalesce message transmissions. ( #444 )
2016-08-22 21:19:05 -07:00
Marcin K Szczodrak
20014c72bf
add cli promiscuous ( #445 )
2016-08-22 14:08:45 -07:00
Shu Chen
b5f97386ba
diags: Add output buffer size limitation to avoid overflow issue ( #442 )
...
- add aOutputMaxLen parameter in each diagnostics feature process function
- use snprintf() to limit the size of output string
2016-08-22 12:38:29 -07:00
Jonathan Hui
4705b1625b
Add tools directory to README. ( #441 )
2016-08-19 15:13:26 -07:00
Jonathan Hui
8195ed9c62
Allow client to specify whether or not to filter Thread control traffic. ( #423 )
2016-08-19 14:35:09 -07:00
Jonathan Hui
1ee67e4170
Print size of resulting binaries. ( #424 )
2016-08-19 13:40:57 -07:00
Robert Quattlebaum
106fc26834
ncp: Add support for allowing leader to remove an active router id. ( #440 )
...
This commit defines a new property, `PROP_THREAD_ACTIVE_ROUTER_IDS`.
While this property is theoretically a list of router-ids,
`CMD_VALUE_GET` is not currently implemented for this property.
`CMD_VALUE_REMOVE`, however, is implemented by this commit and maps
directly to `otReleaseRouterId()`.
2016-08-19 13:12:30 -07:00
Jonathan Hui
ff3aa0c0f7
Do not allow a device to become a leader when the router role is disabled. ( #439 )
2016-08-19 13:11:51 -07:00
Jonathan Hui
e9998c8830
Update sourceforge mirror to jaist for astyle. ( #438 )
2016-08-19 11:39:05 -07:00
Nick Banks
47dcec0bac
Update all callbacks to support a client supplied context pointer. ( #425 )
...
* Update all callbacks to support a client supplied context pointer.
2016-08-19 11:38:11 -07:00
Xiao Ma
a2580e8346
THCI: update openthread thci with new fix and support. ( #427 )
...
* Add new Device Role MED/FED support in joinNetwork()
* Set default data poll rate for sleepy end device to 10s
* Add forceSetSlaac() method support
* Add 'int' type parameter support in removeRouter() for AUTO DUT
* Update README.md with 'pexpect' dependency module
2016-08-19 10:13:45 -07:00
Jonathan Hui
e72470797a
Add sudo apt-get update to linux travis setup. ( #437 )
2016-08-19 10:04:10 -07:00
Abtin Keshavarzian
7629974572
NcpBase: Check for and clear NETDATA_UPDATED flag in the UpdateChangedProps() ( #426 )
2016-08-18 22:24:27 -07:00
Shu Chen
9ff00bdbae
ncp-spinel: Add STREAM_MFG property for diagnostics module ( #403 )
...
It's a generic stream property which doesn't take care of the diagnostics feature details
- get diags commands from the property with VALUE_SET command
- return diags output to the property with VALUE_IS command
2016-08-18 18:00:06 -07:00
Jonathan Hui
afaba6a7ff
Do not signal network data update if nothing has changed. ( #416 )
2016-08-18 13:32:53 -07:00
Abtin Keshavarzian
adba70a390
Spinel.h: Update the header file to sync with wpantund ( #421 )
2016-08-18 13:32:40 -07:00
Jonathan Hui
f7b42672ab
Add *.orig, build, and output to .gitignore. ( #420 )
2016-08-18 12:23:25 -07:00
Jonathan Hui
9b6afb31c0
Require compiler warnings. ( #418 )
2016-08-18 12:22:12 -07:00
Jonathan Hui
c26fec1692
Implement otIsDiscoverInProgress. ( #415 )
2016-08-18 12:15:53 -07:00
Abtin Keshavarzian
ea445c6774
Add Ncp counters: Num of tx/rx IP msgs, dropped IP msgs, spinel frames ( #412 )
2016-08-18 12:14:09 -07:00
Jonathan Hui
139e85f781
Make client responsible for configuring IPv6 addresses. ( #410 )
...
* OpenThread no longer automatically configures IPv6 addresses based on network data.
* Added IPv6 address configuration to CLI to support certification tests.
* Added notification to indicate when the Thread Network Data is updated.
* Added otIp6PrefixMatch API to compute prefix match.
2016-08-17 16:11:46 -07:00
Abtin Keshavarzian
94f1da1ada
Ncp: Clear the "prop changed flags" after successful message sent. ( #397 )
...
This commit updates how the `mChangedFlags` (which keeps track of
properties which are changed) is cleared for `RESET_REASON` and
`IP6_LL_ADDR` to ensure that the notification message is
successfully queued/sent before clearing the flag.
2016-08-17 16:11:21 -07:00
Marcin K Szczodrak
a0c6f50051
Feature/ot plat rssi ( #411 )
...
* rename otPlatRadioGetNoiseFloor to otPlatRadioGetRssi
* update cli README with singleton command
2016-08-17 16:11:06 -07:00
Jonathan Hui
aabca8b299
Update IEEE 802.15.4 Beacon Version value to 2. ( #409 )
2016-08-17 14:34:00 -07:00
Robert Quattlebaum
582b4b396d
ncp: Added support for PROP_THREAD_NETWORK_ID_TIMEOUT ( #408 )
...
* ncp: Added support for `PROP_THREAD_NETWORK_ID_TIMEOUT`
* ncp-spinel: Update PROTOCOL.md for PROP_THREAD_NETWORK_ID_TIMEOUT.
2016-08-17 14:33:43 -07:00
Jonathan Hui
ceb2a9b22a
Do not allow enabling Thread protocols when PAN ID is set to broadcast. ( #405 )
2016-08-17 14:32:55 -07:00
Abtin Keshavarzian
8ed1c72e21
Ncp: Ensure to always send the "end of scan" indicator spinel message ( #396 )
...
This commit changes the way we send out the "end of scan" indicator
message to ensure that it is always sent out and not dropped. If
there is no buffer space availabe when scan finishes, we remember
and send it out when buffer space becomes available later.
2016-08-17 14:32:05 -07:00
Jonathan Hui
5fcc74330f
Add API for setting the default/maximum transmit power. ( #394 )
2016-08-17 14:31:27 -07:00
Abtin Keshavarzian
c518c17559
NcpSpi: Adopt the new NCP buffer model ( #393 )
...
This commit changes the `NcpSpi` class to adopt the `NcpFrameBuffer`
for storing the outbound frames. This allows multiple frames to be
queued for tx.
2016-08-17 14:10:05 -07:00
Marcin K Szczodrak
8897044464
replace lockfile with mkdir ( #406 )
2016-08-17 12:39:06 -07:00
Nick Banks
926e44ff5c
Message::SetLength and Message::ResizeMessage Bug Fix ( #352 )
...
* Update Message::SetLength and Message::ResizeMessage to handle running out of buffers.
2016-08-17 09:26:12 -07:00
rongli
d1f8d59e3f
bugs and enhancements ( #404 )
...
1) Only RFD should SendChildUpdateRequest due to address update
2) Restore SendChildUpdateRequest() when HandleNetworkDataUpdate() for RFD
as a feedback that their network data has been synced (in case network data
update wouldn't cause address update
3) ActiveTimestamp might be optional in Data Request
2016-08-17 09:19:54 -07:00
Xiao Ma
4971533547
update address error notification message with Confirmable flag. ( #400 )
2016-08-17 08:42:10 -07:00
rongli
a4d3d801bf
cli: route fix ( #401 )
2016-08-17 08:37:35 -07:00
Marcin K Szczodrak
8c48712617
add IsSingleton to OT's application API ( #398 )
2016-08-16 19:15:29 -07:00
rongli
20ce66eb90
default leader weight should be 64 ( #395 )
2016-08-16 19:14:00 -07:00