Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
This commit makes OTBR emit a DBus signal after initialization.
|
|
|
|
|
|
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.
|
|
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.
|
|
This commit adds a DBus API `GetProperties`, which can get multiple
properties in one call. Also adds properties `OtHostVersion`,
`OtRcpVersion`, and `ThreadVersion`.
|
|
By convention, we should not use any openthread headers in this
`dbus/common/types.hpp`. Introducing the openthread headers may
sometimes break downstream builds.
|
|
|
|
|
|
Implement detach d-bus client API
Return appropriate value from ThreadApiDBus::DBusMessageFilter()
|
|
|
|
Thread Specification v1.2.1 removes support for Thread Beacons payload.
|
|
This commit refines DBus GetProperty error logs:
- Use INFO log level if the property is valid but handler returns
error (used to be WARN)
|
|
Found that `dbus_bus_request_name` may fail on Raspberry Pi.
This commit fixes the issue by re-connecting DBus in such case.
|
|
|
|
This commit uses `NonCopyable` to make sure certain objects are never
copied.
|
|
This commit adds the 'energy scan' dbus API. This API is for the
application level to choose a better channel.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
|
|
|
|
Added library otbr-border-agent and otbr-sdp-proxy. Functionality of
ot-br-posix remains unchanged.
|
|
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>
|
|
To align with ARM PSA changes.
|
|
|
|
|
|
|
|
|
|
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.
|
|
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.
|
|
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.
|
|
This file uses OTBR_UNUSED_VARIABLE which is in common/code_utils.hpp.
|
|
|
|
The removed line 356 in PR#688 is an accidental remove.
|
|
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.
|
|
This makes the build more deterministic and prevents incremental build
issues.
|
|
|
|
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.
|
|
|
|
|
|
This commit automatically publishes the generated documentation to
gh-pages branch.
|
|
|
|
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.
|
|
The region support has been moved to OpenThread core.
|
|
This allows the powermap to be dynamically reloaded when user sets the
region. Also fixes the reset behavior of the region code.
|