Commit Graph

510 Commits

Author SHA1 Message Date
Jonathan Hui dfd2b9b032 [api] fix typos (#3431) 2019-01-07 09:03:55 -08:00
Abtin Keshavarzian 42c46368f1 [docs] fix typos in comments (#3417) 2019-01-02 10:24:08 -08:00
rongli 328239878d [data-poll-manager] check user-specified poll period (#3401) 2018-12-27 22:35:57 -08:00
Jeff Bumgardner 782597fe1a [docs] Doxygen fix and efr32 README update (#3393) 2018-12-21 09:23:38 -08:00
Zhanglong Xia 19f2533aff [qos] handle NCP messages based on the priority of the message (#3318) 2018-12-19 13:55:26 -08:00
Yakun Xu de63012c9e [dhcp6-client] remove dhcp6 client api (#3287) 2018-12-12 09:58:15 -08:00
Yakun Xu c281f284ff [cli] add an API to write string to UART (#3365) 2018-12-11 22:00:30 -08:00
Zhanglong Xia c3a0898e74 [mle] simplify the channel mask (#3349) 2018-12-10 11:42:53 -08:00
Jonathan Hui 10897d3e97 [link] move otLinkSetShortAddress() decl to link_raw.h (#3348) 2018-12-05 05:49:13 -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
Yakun Xu 22d6d1abf0 [android] correct version on android (#3340) 2018-12-03 09:24:22 -08:00
Stuart Longland fac323d548 [coap] update the Content-Format enumeration (#3316)
Since RFC-7252 a number of additions have been made to the CoAP
Content-Format registry which is maintained by the IANA.  This patch
updates the list in OpenThread.  Notably:

- Standards references are made for each entry
- Some invalid assignments have been removed (notably PKCS10, PKCS7 and
  JWS)
- New entries have been added for COSE, JSON patches, merge patches,
  CBOR, CWT, CoAP groups, SENML and SENSML.
2018-11-26 10:55:54 -08:00
Jeff Bumgardner cfc4882c3d [docs] tag APIs that are reserved for testing/demo purposes (#3308) 2018-11-19 10:23:40 -08:00
Yakun Xu 33b0ee9330 [netif] add address callback (#3249) 2018-11-13 19:29:52 -08:00
Jeff Bumgardner fa8dcf7ef4 [docs] update Doxygen TOC (#3282) 2018-11-08 20:38:09 -08:00
Yakun Xu cf5352fb43 [api] add API to find source address (#3273) 2018-11-07 22:35:39 -08:00
Joseph Newman 4f99bcfaf3 [ncp] notify host asynchronously upon a significant thread network time change (#3238) 2018-11-07 22:32:31 -08:00
Yakun Xu b9b57cc9e2 [core] rename UDP proxy to UDP forward (#3266)
Thread defines UDP proxy as a feature to allow secure, two-way
communication of Thread Management Commands between the Commissioner
and any Thread Device in the Thread Network via the Border Agent.

This commit renames the existing UDP proxy feature which forwards UDP
packets back and forth between Host and NCP to UDP forward.
2018-11-05 20:48:08 -08:00
Zhanglong Xia f8909593a9 [api] update message API to create message with priority (#3199) 2018-11-05 12:48:39 -08:00
Yakun Xu 9ba3fc1d9b [netif] add notification for up or down (#3248) 2018-11-03 14:44:18 -07:00
Łukasz Duda 4a89cc63b6 [sntp] initial implementation of sntp client (#3237) 2018-11-03 08:11:05 -07:00
Jeff Bumgardner 8a94ede247 [docs] added link for OpenThread China and updated Doxygen TOC (#3261) 2018-11-02 14:48:20 -07:00
Yakun Xu e914c6ab6a [docs] add otUdpSend() usage (#3220) 2018-11-02 11:28:07 -07:00
Zhanglong Xia 2aed617140 [tlv] update channel related TLVs to process channel page (#3240) 2018-11-01 21:35:53 -07:00
Yakun Xu 92bcf61a8e [link-raw] fix radio with multiple transmit buffers (#3239) 2018-11-01 21:34:51 -07:00
Abtin Keshavarzian 3a4a61f7ca [radio] update "radio.h" documentations (#3230)
This commit updates the `radio.h` header file:
- Re-orders the definitions so keep the related functions close.
- Updates the documentation/comments.
- Uses `otPanId` and `otShortAddress` for function parameter types.
2018-10-30 12:24:52 -07:00
Łukasz Duda 014514442d [crypto] add support for ECDSA signing (#3218) 2018-10-30 12:23:10 -07:00
Jonathan Hui 7c5b15c877 [style] apply clang-format-6.0 changes (#3222) 2018-10-29 12:38:06 -07:00
Łukasz Duda 34c6af0789 [coap] add support for Proxy-Uri option (#3211) 2018-10-25 21:10:16 -07:00
Łukasz Duda 52669a925a [coap] add support for CoAP header exceeding 255 bytes (#3210) 2018-10-25 21:08:17 -07:00
Łukasz Duda 597a81fd0a [dns] simplify defines name and clean up (#3209) 2018-10-25 12:58:29 -07:00
Abtin Keshavarzian 309bd09d75 [logging] remove aInstance as input parameter to logging macros (#3184) 2018-10-25 09:14:43 -07:00
Yakun Xu c58d9cc0b1 [border-agent] border agent state event (#3186) 2018-10-22 22:47:59 -07:00
Yakun Xu 72fa647805 [coaps] refine definition of CoapSecure::Connect (#3178) 2018-10-17 23:21:53 +02:00
Shu Chen 71b90a6764 [time-sync] fix build issue with time sync enabled (#3167)
Also enable time sync in a travis check.
2018-10-16 19:58:34 -07:00
Yakun Xu 0b18d8ffad [settings] remove unused APIs (#3160) 2018-10-16 19:57:09 -07:00
Yakun Xu 677d49b42e [posix-app] platform UDP (#3070)
This commit defines a set of platform APIs to integrate UDP layer of
OpenThread with that of the platform.

With this commit, services and applications developed upon OpenThread can
also be accessed through platform's own network interface, e.g. socket() on
POSIX.
2018-10-14 11:08:35 -07:00
Abtin Keshavarzian 3c88ba28fb [docs] specify seconds as the unit for child timeout value (#3145) 2018-10-12 22:16:36 -07:00
Abtin Keshavarzian 7c8a37263b [posix-app] get RCP (NCP in radio mode) version (#3140)
This commit contains the following changes:

- It adds `otPlatRadioGetVersionString()` as an optional radio
  platform API. If the radio platform does not implement this
  function, OpenThread core provides a default weak implementation
  of this function which return the OpenThread version.

- A public OpenThread API `otGetRadioVersionString()` is added which
  provides the radio version string.

- POSIX App is updated to get the version from its RCP and provide
  `otPlatRadioGetVersionString()`

- A new spinel capability `SPINEL_CAP_POSIX_APP` is added which
  corresponds to `ENABLE_POSIX_APP` configuration.

- A new spinel property `SPINEL_PROP_RCP_VERSION` (only available
  in POSIX_APP) is added which gets the RCP version.
2018-10-12 10:40:57 -07:00
Abtin Keshavarzian 94ac42eec9 [docs] fixing typos in comments/docs (#3120) 2018-10-05 00:56:55 -07:00
Jeff Bumgardner 3b3cca230a [docs] minor Doxygen fixes (#3110) 2018-10-01 23:13:41 -07:00
Jonathan Hui 5a489836cd [naming] rename FFD to FTD (#3102) 2018-09-27 09:33:03 -07:00
Christian Stauffer 2ce47a8e9c [coaps] CoAP Secure Client/Server accessible through OT API (#2716) 2018-09-24 11:22:08 -10:00
Biswajit 06bff96310 [mle] API to provide MLE Parent Response information (#3027) 2018-09-21 18:28:41 -10:00
Yakun Xu c4f44ae0ca [udp] remove transport pointer (#3064) 2018-09-11 14:56:59 -10:00
Abtin Keshavarzian 42e44e34f9 [radio] update definition of otRadioCaps and the related constants. (#3044) 2018-09-10 14:41:03 -10:00
Zhanglong Xia c573dafe8e [ncp] fix clearing unsecure ports (#3022) 2018-09-10 14:39:06 -10:00
Abtin Keshavarzian 144a4e3e06 [mle] add MLE counters (#2982)
This commit adds support for a set of MLE counters (e.g., counters to
track number of times device entered different roles, or counters
tracking number of attach attempts, partition ID or parent changes).
2018-09-06 21:01:31 -10:00
Giedrius b5ce567ffd [api] add return code to otCoapHeaderSetPayloadMarker (#3004) 2018-08-29 09:59:02 -07:00
Shu Chen 026badad96 [diags] use temporary buffer for diag output (#2992) 2018-08-28 09:24:23 -07:00