aboutsummaryrefslogtreecommitdiff
path: root/src/dbus
AgeCommit message (Collapse)Author
2022-07-21[dbus] add coex metrics property (#1468)jinran-google
2022-07-20[dbus] fix "parser error : StartTag: invalid element name" (#1466)Jonathan Hui
2022-07-20[dbus] add RCP metrics properties (#1454)jinran-google
2022-07-06[dbus] add signal for initialization (#1448)jinran-google
This commit makes OTBR emit a DBus signal after initialization.
2022-06-27[dbus] add D-BUS API `GetMdnsInfo` (#1400)whd
2022-06-24[dbus] add notifications for active dataset changes (#1437)jinran-google
2022-06-21[dbus] return delay timer from `AttachAllNodesTo` (#1430)jinran-google
This commit: 1. Makes the DBus API `AttachAllNodesTo` return the delay between the method returns and the dataset takes effect. 2. Ensures that when `AttachAllNodesTo` returns, the node is attached.
2022-06-21[dbus] add Thread Eui64 property (#1434)jinran-google
This commit adds the Eui64 property of Thread interface. The property is a unsigned 64bit number whose big-endian encoding is the same as the EUI-64 value assigned by factory.
2022-06-14[dbus] add DBus API to get multiple properties (#1423)jinran-google
This commit adds a DBus API `GetProperties`, which can get multiple properties in one call. Also adds properties `OtHostVersion`, `OtRcpVersion`, and `ThreadVersion`.
2022-06-08[dbus] fix `dbus/common/types.hpp` (#1417)whd
By convention, we should not use any openthread headers in this `dbus/common/types.hpp`. Introducing the openthread headers may sometimes break downstream builds.
2022-05-26[dbus] implement D-BUS API `GetDnssdCounters` (#1391)whd
2022-05-19[dbus] implement D-BUS API `GetSrpServerInfo` (#1367)whd
2022-05-09[dbus] implement detach client API (#1352)gabekassel
Implement detach d-bus client API Return appropriate value from ThreadApiDBus::DBusMessageFilter()
2022-04-07[dbus] implement D-Bus API `GetOnMeshPrefixes` (#1330)whd
2022-04-06[mac] remove beacons payload (#1314)Eduardo Montoya
Thread Specification v1.2.1 removes support for Thread Beacons payload.
2022-01-25[dbus] refine DBus `GetProperty` error logs (#1214)Simon Lin
This commit refines DBus GetProperty error logs: - Use INFO log level if the property is valid but handler returns error (used to be WARN)
2022-01-18[dbus] fix dbus reconnection (#1198)Simon Lin
Found that `dbus_bus_request_name` may fail on Raspberry Pi. This commit fixes the issue by re-connecting DBus in such case.
2022-01-11[dbus] retry on failures when connecting to DBus (#1175)jinran-google
2022-01-03[utils] add `NonCopyable` (#1177)Simon Lin
This commit uses `NonCopyable` to make sure certain objects are never copied.
2021-11-17[dbus] add energy scan dbus api (#1093)Li Cao
This commit adds the 'energy scan' dbus API. This API is for the application level to choose a better channel.
2021-11-09[d-bus] implement D-Bus API UpdateVendorMeshCopTxtEntries (#1081)whd
This commit implements a D-Bus API for updating the entries in TXT record of MeshCoP service. The API caller provides a list of (key, value) pairs, which contains all the entries it wants to update. Then otbr-agent will re-publish the MeshCoP service with the updated TXT record. If the list is empty, it will reset the TXT record, discarding changes made by previous API calls.
2021-11-04[docs] unify spaces in documentations (#1074)kangping
This commit unifies the spaces: - Use 1 space after tags (e.g. @param @returns). - Use 2 spaces between the parameter/retval and comment. - Capitalizing the first char of the param and return value comment.
2021-11-01[docs] remove redundant documentation (#1072)kangping
There are no benefits of documenting the same interface again in derived classes but only introduce the burden of keeping them consistent once the base class documentations are updated.
2021-10-20[common] add mainloop manager (#1044)Zhanglong Xia
This commit adds a mainloop manager to manage all mainloop processors. This commit also adds a class `br::vendor::VendorServer` to allow other users to implement their server in otbr-agent.
2021-10-18[dbus] fix issues in `AttachAllNodesTo` (#27) (#1051)Zhanglong Xia
2021-10-14[dbus] add AttachAllNodesTo API (#23) (#1046)Zhanglong Xia
2021-10-12[build] refactor ot-br-agent (#1025)Jiaming Wang
Added library otbr-border-agent and otbr-sdp-proxy. Functionality of ot-br-posix remains unchanged.
2021-09-20[dbus] fix failure to get 'All' OpenThread properties (#1018)Anupam ROY
dbus client's call to 'GetAll' properties fails with following error, if OPENTHREAD_CONFIG_CHANNEL_MONITOR_ENABLE is not enabled. Error log:- [INFO]-DBUS----: Handling method org.freedesktop.DBus.Properties.GetAll [ERR ]-UTILS---: Replied to org.freedesktop.DBus.Properties.GetAll with result io.openthread.Error.NotImplemented This patch fixes above issue, by applying conditional registeration of following properties: - OTBR_DBUS_PROPERTY_CHANNEL_MONITOR_SAMPLE_COUNT - OTBR_DBUS_PROPERTY_CHANNEL_MONITOR_ALL_CHANNEL_QUALITIES Signed-off-by: Anupam Roy <anupamroy4u@gmail.com>
2021-09-08[crypto] update otThreadGetNetworkKey and otThreadGetPskc usage (#992)hemanth-silabs
To align with ARM PSA changes.
2021-06-16[network-key] change name from `master` to `network` (#889)Jonathan Hui
2021-05-12[dbus] use pseudo reset in DBus APIs (#845)jinran-google
2021-04-29[logging] add the log tag to the logging APIs (#746)Zhanglong Xia
2021-04-05[dbus] add "Detach" API (#767)jinran-google
2021-03-05[utils] unify mainloop interface (#719)kangping
This commit unifies that mainloop interface to always use the MainloopContext structure rather than fd sets. We also define a MainloopProcessor interface to ensure that each module defines exactly the same mainloop processing methods.
2021-03-01[agent] full reset using execvp (#649)Simon Lin
Premature reset has causing a number of bugs. This commit fixes the bugs and avoids potential future bugs by resetting otbr-agent using execvp, which will bootstrap the whole process completely.
2021-03-01[dbus] remove inclusion of code_utils.hpp in dbus api header (#713)kangping
common/code_utils.hpp includes macros like VerifyOrDie which are not protected by C++ namespace, so it will easily get conflicted with other definitions. We should not include common/code_utils.hpp in public headers.
2021-02-23[dbus] add missing header inclusion (#708)Moandor
This file uses OTBR_UNUSED_VARIABLE which is in common/code_utils.hpp.
2021-02-18[style] replace (void) with OTBR_UNUSED_VARIABLE (#695)kangping
2021-02-01[dbus] fix accidental line removal (#692)Jiacheng Guo
The removed line 356 in PR#688 is an accidental remove.
2021-01-29[dbus] fix wrong error code when error happens (#688)Jiacheng Guo
The reply dbus message will not contain error code when error happens. Currently all the error codes will be OTBR_ERROR_DBUS. This commit checks separate DBusError to correctly handle the error codes and adds corresponding tests.
2021-01-27[build] eliminate generated files from the source directory (#687)Jiacheng Guo
This makes the build more deterministic and prevents incremental build issues.
2021-01-20[doc] add generated dbus doc to the doc site (#676)Jiacheng Guo
2021-01-20[dbus] add watch enable check and remove toggle (#679)Jiacheng Guo
Some disabled watch will not be toggled causing writable file discriptor to be triggered infinitely. The toggle feature is optional in d-bus. This patch fixes this bug.
2021-01-19[dbus] use recommended dbus dispatch style (#677)Jiacheng Guo
2021-01-15[dbus] add detailed docs for dbus introspect xml (#672)Jiacheng Guo
2021-01-13[doc] generate documentation (#670)Yakun Xu
This commit automatically publishes the generated documentation to gh-pages branch.
2021-01-04[dbus] add dbus api to get/set radio region (#668)Jiacheng Guo
2020-12-28[dbus] add active dataset api (#662)Jiacheng Guo
This change allows users to get and set the active dataset via the dbus api. It also adds an `Attach` interface to allow users to start the Thread network without specifying network parameters.
2020-12-22[agent] remove region support (#657)Jiacheng Guo
The region support has been moved to OpenThread core.
2020-12-21[radio] pass full power map in command line args (#656)Jiacheng Guo
This allows the powermap to be dynamically reloaded when user sets the region. Also fixes the reset behavior of the region code.