Age | Commit message (Collapse) | Author |
|
|
|
|
|
Updates OTBR log level when OT log level changes (e.g. by `log level`
command).
|
|
This commit enhances `OTBR_NO_AUTO_ATTACH` option to disable auto
Thread attaching for Reference Device:
- Use `-DOTBR_NO_AUTO_ATTACH=1` to disable auto Thread attaching
|
|
Background:
- OpenThread Instance was the last member to destruct in Application,
and otSysDeinit will be called when destructing OpenThread
Instance. However, otSysDeinit may call methods of other Application
members, which have been destructed at the moment.
This commit introduces the Deinit() method to ControllerOpenThread and
other classes to make sure OpenThread are properly de-initialized
before destructing Application. The advantages are:
- ControllerOpenThread initializes OT instance in Init, so adding
Deinit makes it symmetrical with Init.
- Provide a predictable runtime environment (Application object fully
constructed) for OT instance from otSysInit to otSysDeinit, making
sure OT can safely access Application members during its lifetime.
|
|
This commit refactors radio version printing:
- Use a dedicated function for printing radio version.
- Make `ControllerOpenThread` a member of `Application` so that
`Application` is always properly constructed before initializing
OpenThread instances.
|
|
This commit adds the `Application` class for better managing different
program components.
|
|
`otbr-agent` will exit directly if `--radio-version` is passed in
parameters. This PR sets the DryRun option in PosixConfig when
`radio-version` is set. In this way, the posix instance will only
initialize very few things to avoid permission issues.
|
|
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.
|