xref: /aosp_15_r20/external/ot-br-posix/README.md (revision 4a64e381480ef79f0532b2421e44e6ee336b8e0d)
1*4a64e381SAndroid Build Coastguard Worker[![Build Status][ot-gh-action-build-svg]][ot-gh-action-build] [![Docker Status][ot-gh-action-docker-svg]][ot-gh-action-docker] [![Build Status][otbr-travis-svg]][otbr-travis] [![Coverage Status][otbr-codecov-svg]][otbr-codecov]
2*4a64e381SAndroid Build Coastguard Worker
3*4a64e381SAndroid Build Coastguard Worker---
4*4a64e381SAndroid Build Coastguard Worker
5*4a64e381SAndroid Build Coastguard Worker# OpenThread Border Router
6*4a64e381SAndroid Build Coastguard Worker
7*4a64e381SAndroid Build Coastguard WorkerPer the [Thread Specification](http://threadgroup.org/ThreadSpec), a Thread Border Router connects a Thread network to other IP-based networks, such as Wi-Fi or Ethernet. A Thread network requires a Border Router to connect to other networks.
8*4a64e381SAndroid Build Coastguard Worker
9*4a64e381SAndroid Build Coastguard WorkerA Thread Border Router minimally supports the following functions:
10*4a64e381SAndroid Build Coastguard Worker
11*4a64e381SAndroid Build Coastguard Worker- End-to-end IP connectivity via routing between Thread devices and other external IP networks
12*4a64e381SAndroid Build Coastguard Worker- External Thread Commissioning (for example, a mobile phone) to authenticate and join a Thread device to a Thread network
13*4a64e381SAndroid Build Coastguard Worker
14*4a64e381SAndroid Build Coastguard Worker<a href="https://www.threadgroup.org/What-is-Thread#certifiedproducts">
15*4a64e381SAndroid Build Coastguard Worker<img src="/doc/images/certified.svg" alt="Thread Certified Component" width="150px" align="right">
16*4a64e381SAndroid Build Coastguard Worker</a>
17*4a64e381SAndroid Build Coastguard Worker
18*4a64e381SAndroid Build Coastguard WorkerOpenThread's implementation of a Border Router is called OpenThread Border Router (OTBR). **OTBR is a Thread Certified Component** on the Raspberry Pi 3B with a Nordic nRF52840 NCP.
19*4a64e381SAndroid Build Coastguard Worker
20*4a64e381SAndroid Build Coastguard WorkerOTBR includes a number of features, including:
21*4a64e381SAndroid Build Coastguard Worker
22*4a64e381SAndroid Build Coastguard Worker- Web UI for configuration and management
23*4a64e381SAndroid Build Coastguard Worker- Thread Border Agent to support an External Commissioner
24*4a64e381SAndroid Build Coastguard Worker- DHCPv6 Prefix Delegation to obtain IPv6 prefixes for a Thread network
25*4a64e381SAndroid Build Coastguard Worker- NAT64 for connecting to IPv4 networks
26*4a64e381SAndroid Build Coastguard Worker- DNS64 to allow Thread devices to initiate communications by name to an IPv4-only server
27*4a64e381SAndroid Build Coastguard Worker- Docker support
28*4a64e381SAndroid Build Coastguard Worker
29*4a64e381SAndroid Build Coastguard WorkerMore information about Thread can be found at [threadgroup.org](http://threadgroup.org/). Thread is a registered trademark of the Thread Group, Inc.
30*4a64e381SAndroid Build Coastguard Worker
31*4a64e381SAndroid Build Coastguard Worker[ot-gh-action-build]: https://github.com/openthread/ot-br-posix/actions?query=workflow%3ABuild+branch%3Amain+event%3Apush
32*4a64e381SAndroid Build Coastguard Worker[ot-gh-action-build-svg]: https://github.com/openthread/ot-br-posix/workflows/Build/badge.svg?branch=main&event=push
33*4a64e381SAndroid Build Coastguard Worker[ot-gh-action-docker]: https://github.com/openthread/ot-br-posix/actions?query=workflow%3ADocker+branch%3Amain+event%3Apush
34*4a64e381SAndroid Build Coastguard Worker[ot-gh-action-docker-svg]: https://github.com/openthread/ot-br-posix/workflows/Docker/badge.svg?branch=main&event=push
35*4a64e381SAndroid Build Coastguard Worker[otbr-travis]: https://travis-ci.org/openthread/ot-br-posix
36*4a64e381SAndroid Build Coastguard Worker[otbr-travis-svg]: https://travis-ci.org/openthread/ot-br-posix.svg?branch=main
37*4a64e381SAndroid Build Coastguard Worker[otbr-codecov]: https://codecov.io/gh/openthread/ot-br-posix
38*4a64e381SAndroid Build Coastguard Worker[otbr-codecov-svg]: https://codecov.io/gh/openthread/ot-br-posix/branch/main/graph/badge.svg
39*4a64e381SAndroid Build Coastguard Worker
40*4a64e381SAndroid Build Coastguard Worker## Getting started
41*4a64e381SAndroid Build Coastguard Worker
42*4a64e381SAndroid Build Coastguard WorkerThe quickest way to set up a Thread 1.3 compliant Border Router is to follow this codelab: [Thread Border Router - Bidirectional IPv6 Connectivity and DNS-Based Service Discovery](https://openthread.io/codelabs/openthread-border-router).
43*4a64e381SAndroid Build Coastguard Worker
44*4a64e381SAndroid Build Coastguard WorkerTo run OTBR in a Docker container on any Linux-based system or a Raspberry Pi with either a physical or emulated NCP, please see the [Docker Support guide on openthread.io](https://openthread.io/guides/border-router/docker) for more info.
45*4a64e381SAndroid Build Coastguard Worker
46*4a64e381SAndroid Build Coastguard WorkerOTBR also runs directly on supported platforms like the Raspberry Pi. If you're interested in building and configuring OTBR directly, or to learn more about the OTBR architecture, then see the rest of our end-user documentation at [openthread.io](https://openthread.io/guides/border-router).
47*4a64e381SAndroid Build Coastguard Worker
48*4a64e381SAndroid Build Coastguard Worker> Note: For users in China, end-user documentation is available at [openthread.google.cn](https://openthread.google.cn/guides/border-router).
49*4a64e381SAndroid Build Coastguard Worker
50*4a64e381SAndroid Build Coastguard WorkerIf you're interested in contributing to OpenThread Border Router, read on.
51*4a64e381SAndroid Build Coastguard Worker
52*4a64e381SAndroid Build Coastguard Worker# Contributing
53*4a64e381SAndroid Build Coastguard Worker
54*4a64e381SAndroid Build Coastguard WorkerWe would love for you to contribute to OpenThread Border Router and help make it even better than it is today! See our [Contributing Guidelines](https://github.com/openthread/ot-br-posix/blob/main/CONTRIBUTING.md) for more information.
55*4a64e381SAndroid Build Coastguard Worker
56*4a64e381SAndroid Build Coastguard WorkerContributors are required to abide by our [Code of Conduct](https://github.com/openthread/ot-br-posix/blob/main/CODE_OF_CONDUCT.md) and [Coding Conventions and Style Guide](https://github.com/openthread/ot-br-posix/blob/main/STYLE_GUIDE.md).
57*4a64e381SAndroid Build Coastguard Worker
58*4a64e381SAndroid Build Coastguard WorkerWe follow the philosophy of [Scripts to Rule Them All](https://github.com/github/scripts-to-rule-them-all).
59*4a64e381SAndroid Build Coastguard Worker
60*4a64e381SAndroid Build Coastguard Worker# License
61*4a64e381SAndroid Build Coastguard Worker
62*4a64e381SAndroid Build Coastguard WorkerOpenThread Border Router is released under the [BSD 3-Clause license](https://github.com/openthread/ot-br-posix/blob/main/LICENSE). See the [`LICENSE`](https://github.com/openthread/ot-br-posix/blob/main/LICENSE) file for more information.
63*4a64e381SAndroid Build Coastguard Worker
64*4a64e381SAndroid Build Coastguard WorkerPlease only use the OpenThread name and marks when accurately referencing this software distribution. Do not use the marks in a way that suggests you are endorsed by or otherwise affiliated with Nest, Google, or The Thread Group.
65*4a64e381SAndroid Build Coastguard Worker
66*4a64e381SAndroid Build Coastguard Worker# Need help?
67*4a64e381SAndroid Build Coastguard Worker
68*4a64e381SAndroid Build Coastguard WorkerOpenThread support is available on GitHub:
69*4a64e381SAndroid Build Coastguard Worker
70*4a64e381SAndroid Build Coastguard Worker- Bugs and feature requests pertaining to the OpenThread Border Router — [submit to the openthread/ot-br-posix Issue Tracker](https://github.com/openthread/ot-br-posix/issues)
71*4a64e381SAndroid Build Coastguard Worker- OpenThread bugs and feature requests — [submit to the OpenThread Issue Tracker](https://github.com/openthread/openthread/issues)
72*4a64e381SAndroid Build Coastguard Worker- Community Discussion - [ask questions, share ideas, and engage with other community members](https://github.com/openthread/openthread/discussions)
73*4a64e381SAndroid Build Coastguard Worker
74*4a64e381SAndroid Build Coastguard Worker## OpenThread
75*4a64e381SAndroid Build Coastguard Worker
76*4a64e381SAndroid Build Coastguard WorkerTo learn more about OpenThread, see the [OpenThread repository](https://github.com/openthread/openthread).
77