# Third-party notices

Bluebonnet (the firmware, `tools/`, `gui/` and `web/`) is free software under the GNU General Public
License, version 3 ([LICENSE](LICENSE)). Some files of the hardware layer are derived from
iradio_uv98_open_firmware, which is licensed GPL-3.0 only, so **the firmware image as a whole is
GPL-3.0-only**. Files that are entirely this project's own say GPL-3.0-or-later in their header.

**Additional permission under GNU GPL version 3 section 7.** If you modify this program, or any covered
work, by linking or combining it with the Artery AT32F423 firmware library, or with bitmap glyphs
generated from the Roboto Condensed font (`core/gen/fonts.c`), containing parts covered by the terms of
their own licences, the licensors of this program grant you additional permission to convey the
resulting work. (This repeats the permission iradio_uv98_open_firmware gives for its code.)

**Source.** Every binary release links the source archive of the same version, which includes the parts
of the Artery library that are built in, and the build instructions.

## Code this project is derived from

- **iradio_uv98_open_firmware** - https://github.com/macguyversmusic/iradio_uv98_open_firmware -
  GPL-3.0. Hardware bring-up, BK4819 register values and the calibration layout, the linker script,
  the bootloader packet format and the stock read-out: `port/rt880/board.c`, `board.h`, `bk4819.c`,
  `bk_features.h`, `app.ld`, `tools/bluebonnet.py`.
- **mbelib** 1.3.0 - https://github.com/szechyjs/mbelib - Copyright (C) 2010 mbelib Author - ISC
  licence (below; `core/imbe/COPYRIGHT`, `tools/imbe/mbelib/COPYRIGHT`). `tools/imbe/mbelib` is
  unmodified; `core/imbe` is a rewrite of its IMBE and AMBE+2 decoders, with tables generated from its
  headers. See the patent notice below.
- **OP25** - https://github.com/boatbod/op25 - Copyright Max H. Parke KA1RBI, Graham J. Norbury and
  contributors - GPL-3.0-or-later. Hamming(10,6,3) tables (`core/p25vc.c`, `tools/p25_tables.py`).
- **DSD** - https://github.com/szechyjs/dsd - and **DSD-FME** - https://github.com/lwvmobile/dsd-fme -
  Copyright (C) 2010 DSD Author - ISC licence. The P25 Phase 1 IMBE interleave schedule
  (`tools/p25_imbe.py`, `core/p25vc.c`) and a dibit interleave table (`tools/p25_tables.py`).

## Built into the firmware image

- **Artery AT32F423 firmware library** v2.1.0 - https://github.com/ArteryTek/AT32F423_Firmware_Library -
  Copyright (c) 2023-2025 Artery-MCU - The Clear BSD License ([LICENSES/BSD-3-Clause-Clear.txt](LICENSES/BSD-3-Clause-Clear.txt)).
- **Arm CMSIS** core headers - Copyright (c) 2009-2020 Arm Limited - Apache-2.0 ([LICENSES/Apache-2.0.txt](LICENSES/Apache-2.0.txt)).
- **newlib** C library (newlib-nano 4.5.0, from the xPack GNU Arm toolchain) - its licences are in
  [LICENSES/COPYING.NEWLIB](LICENSES/COPYING.NEWLIB). libgcc is GPL-3.0 with the GCC Runtime Library Exception.
- **Roboto Condensed** - Copyright 2011 The Roboto Project Authors - SIL Open Font License 1.1
  ([LICENSES/OFL-1.1.txt](LICENSES/OFL-1.1.txt)). Glyph bitmaps in `core/gen/fonts.c`.

## The web tool (`web/`)

- **smol-toml** 1.9.1 - https://github.com/squirrelchat/smol-toml - Copyright (c) Squirrel Chat et al. -
  BSD-3-Clause (`web/vendor/smol-toml/LICENSE`).

## Python packages the tools use (installed by you, not included)

pyserial (BSD-3-Clause), numpy (BSD-3-Clause and others), Pillow (MIT-CMU).

## Information used; no code copied

- Quansheng UV-K5 firmwares (DualTachyon, OneOfEleven, egzumer; Apache-2.0): BK4819 register notes,
  MDC1200 conventions.
- YaziAranea/RT880-UV98-Rust-Firmware (MIT): an MDC1200 test vector.
- fagci/rt880-fw: pin facts for the SI4732 and the GPS. No code was taken (that project has no licence).
- nicsure and rampa069: facts about the RT-880 bootloader protocol.
- CHIRP (GPL-2.0-or-later, Jim Unroe's radtel_rt880g driver): the stock memory layout, for comparison.
- Silicon Labs AN332, and the Radtel stock firmware: register values and addresses read from it. None of
  the stock firmware is included.

## ISC licence (mbelib; DSD and DSD-FME use the same text with "DSD Author")

> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee
> is hereby granted, provided that the above copyright notice and this permission notice appear in all
> copies.
>
> THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE
> INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR
> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
> OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
> OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

## Patent notice: voice decoding

Bluebonnet decodes P25 Phase 1 (IMBE) and Phase 2 (AMBE+2 half-rate) voice with a decoder rewritten
from mbelib. These vocoders were developed by Digital Voice Systems, Inc. (DVSI), which holds patents on
them. To our understanding the original IMBE patents have expired; some patents covering AMBE+2 may still
be in force in some countries. We have not obtained a patent licence from DVSI and this release does not
grant one. **Phase 2 voice is therefore off unless you switch it on** (the web tool's Flash page, or the
console command `trunk p2 on`). Check whether a licence is required where you live before using or
redistributing it. IMBE and AMBE+2 are trademarks of DVSI. Bluebonnet does not decrypt anything.

## Trademarks

Bluebonnet is an independent, unofficial firmware for the Radtel RT-880G handheld. It is not made,
endorsed or supported by Radtel, Motorola Solutions, APCO International, DVSI or any radio manufacturer.
Radtel and RT-880G are trademarks of their owner; Motorola, APX and ASTRO are trademarks of Motorola
Trademark Holdings, LLC; APCO is a trademark of APCO International; IMBE and AMBE+2 are trademarks of
Digital Voice Systems, Inc. These names are used only to say what the software works with. "P25" refers
to the APCO Project 25 / TIA-102 standards; Bluebonnet does not claim compliance with them.
