Skip to content

Releases

NBT App SDK 0.7.0

NBT App SDK 0.7.0 Pre-release
Pre-release

Choose a tag to compare

@fpoussin fpoussin released this 03 Dec 10:32
v0.7.0
6c052ed

New

  • Cancellable diagnostics requests (nbt/app/diag.hpp): Diag::cancel() wakes and aborts an in-flight Diag::request() from another thread and makes further calls return Diag::kCancelled immediately, so applications can join their diagnostic worker cleanly on exit.

Improved

  • Lifecycle::request_stop() writes one fresh heartbeat when the application is already ready, giving self-initiated exits the full 3 s shutdown deadline instead of losing up to 1 s to tick() rate limiting (native applications, modules, and guests).

Compatibility

  • Bridge through 1.16 and host ABI 1.1.
  • Pins NBT toolchain 1.3.0. Applications use the SDK commit in release/sdk.ref.

NBT App SDK 0.6.0

NBT App SDK 0.6.0 Pre-release
Pre-release

Choose a tag to compare

@fpoussin fpoussin released this 03 Dec 09:19
v0.6.0
1ced487

New

  • nbt-asound.so: libasound's playback API over the SDK's audio output, for programs that play through ALSA. Their sound goes through NBT Manager's mixer like any application's.
  • Video decoder (nbt/app/video_decoder.hpp, docs/video.md): H.264 to the screen through the head unit's accelerator, with the picture's shape kept (fit or cover) and resync(). Native applications only: modules and guests have none.
  • Microphone (bridge 1.16, capability mic): Lifecycle::mic_fd() and nbt::mic::Input read the car's microphone while the application is on screen. Native applications only for now.
  • Voice prompts: the mixer plays an application's spoken prompts on the car's navigation voice, other sound lowered underneath.
  • Lifecycle::assets_dir() (package assets, NBT Manager 0.20.1 and later) and Lifecycle::language() (the screen language, 0.21.0 and later).
  • nbt/most_wire.h: the record format of NBT Manager's MOST socket.
  • Docs for applications that hold iDrive: touch (bridge 1.14) and the iDrive controller (bridge 1.15).

Fixed

  • The sound source iDrive played before an application (Bluetooth audio, radio) comes back when the application's sound ends.
  • An application that starts playing late keeps the mixer, and a stopped audio input is taken back at once.

Compatibility

  • Bridge through 1.16 and host ABI 1.1.
  • Pins NBT toolchain 1.3.0. Applications use the SDK commit in release/sdk.ref.

NBT App SDK 0.5.0

NBT App SDK 0.5.0 Pre-release
Pre-release

Choose a tag to compare

@fpoussin fpoussin released this 01 Dec 20:04
v0.5.0
a7dced4

New

  • Build module and guest tests with NBT_MOD_ALIGN_CHECK=1 to catch misaligned C and C++ accesses. The QNX VM suite also exercises a misaligned ARM assembly load.
  • Companion::search() opens a web search from a phone page on supported phone apps.
  • Diagnostic clients can read the reply's transport with last_via().

Fixed

  • Audio can reconnect after standby, and emulator saves are written in the background so slow disk writes leave the app responsive.
  • Emulator logs omit game filenames and paths.

Compatibility

  • Bridge through 1.11 and host ABI 1.1.
  • Pins NBT toolchain 1.3.0. Applications use the SDK commit in release/sdk.ref.

NBT App SDK 0.4.0

NBT App SDK 0.4.0 Pre-release
Pre-release

Choose a tag to compare

@fpoussin fpoussin released this 28 Nov 22:14
89c062b

Phone pages in every form, long lists, and the emulator's page. Source only; an application pins this commit in its release/sdk.ref.

Serves

  • Bridge up to 1.11: companion for modules and guests (through nbt-runner), plus everything of 0.3.0.
  • Host ABI 1.1 for modules and guests: two optional members appended (companion_publish, companion_events). A payload built with this SDK still runs on an older runner, without a page.
  • NBT toolchain 1.2.0, unchanged.

New

  • nbt::app::Companion works in modules and guests: nbt-runner (NBT Manager 0.8.0) holds the page and passes it on.
  • Companion::list(): a list of any length the phone app pages through, 50 rows at a time; Companion::window() tells when the phone asks for other rows.
  • libnbt-retro: an emulator whose package declares companion gets a page in the phone app with no code of its own: the game list, Pause or Resume, Save and Load state with the slot, Reset and Close game.

What applications must change

Nothing for existing applications. A module or guest with a phone page declares --bridge 1.11 and companion (optional); a native program keeps --bridge 1.9.

NBT App SDK 0.3.0

NBT App SDK 0.3.0 Pre-release
Pre-release

Choose a tag to compare

@fpoussin fpoussin released this 28 Nov 18:26
ffe1870

Touch screen input for applications, and car data for modules and guests. Source only; an application pins this commit in its release/sdk.ref.

Serves

  • Bridge up to 1.10: touch (scaled touch pointer input via nbt::touch::Pointer), plus everything of 0.2.0.
  • Host ABI 1.1 for modules and guests, unchanged.
  • NBT toolchain 1.2.0, unchanged.

New

  • nbt::touch::Pointer and Lifecycle::touch_fd() expose touch frames and panel-to-window scaled pointer events (Down, Move, Up, Cancel) to native programs, modules and guests.
  • CarData works in modules and guests (NBT_CDS_DIR read-only through nbt-runner), matching native programs.
  • Audio mixer: NBT_AUDIO_ROUTE_NOTE keeps native media audio connections separate from iDrive, NBTMIXE ends an idle mixer on connection change, and the mixer state file tracks gaps and grown queues for the self test.

Fixed

  • Companion::init() fails in modules and guests where the phone page descriptor is absent, instead of failing later on publish().

What applications must change

Nothing for existing controller/gamepad applications. Applications adding touch declare --bridge 1.10 with touch (typically optional, alongside show) and poll nbt::touch::Pointer.

NBT App SDK 0.2.0

NBT App SDK 0.2.0 Pre-release
Pre-release

Choose a tag to compare

@fpoussin fpoussin released this 27 Nov 10:50
6634602

Shorter audio delay, NBT Manager's audio mixer, and the bridge 1.8 and 1.9 capabilities. Source only; an application pins this commit in its release/sdk.ref.

Serves

  • Bridge up to 1.9: service (background services), companion (a page in the phone app), diagnostics control and drive; diag (1.8); everything of 0.1.0.
  • Host ABI 1.1 for modules and guests, unchanged.
  • NBT toolchain 1.2.0, unchanged.

Audio

  • AudioPcm plays through NBT Manager's mixer when the host names it (NBT_AUDIO_MIXER): every application and service at once, at 44100 Hz. Its render is called with 256 frames (5.8 ms) at most.
  • From a guest's render to the head unit's audio input: about 41 ms with NBT Manager 0.5.1, where it was about 105 ms. Each queue starts short and grows by itself when it ran empty: the mixer's output (four levels), its queue per client, and a guest's ring, whose depth the runner now sets.
  • frontend::AudioQueue (the libretro host's): 32 ms instead of 64, more when frames come late, 64 ms at most.
  • Audio threads run at priority 15 for 4 ms of each 20 ms on the head unit, their own priority beyond.

New

  • nbt::app::Diag (UDS requests through NBT Manager), Lifecycle::is_service and the :service launch, nbt::app::Companion.
  • Releases build without the QNX image by default; NBT_SDK_VM_RUN for an application's VM tests.

What applications must change: nothing. Rebuilding on this release gives a guest the shorter ring and an emulator the shorter queue; a package built on 0.1.0 keeps working and keeps its former queues.

NBT App SDK 0.1.0

NBT App SDK 0.1.0 Pre-release
Pre-release

Choose a tag to compare

@fpoussin fpoussin released this 22 Nov 12:55
dc913e8

The first tagged release of the NBT App SDK: what applications for NBT Manager on BMW NBT Evo head units build on. Source only; an application builds it in its own build folder and pins this commit in its release/sdk.ref.

Serves

  • Bridge up to 1.7: runner (modules and guests run by NBT Manager's nbt-runner), hold and car-data (1.6), files, gamepad with the pad family (1.5).
  • Host ABI 1.1 for modules and guests.
  • NBT toolchain 1.2.0 (Clang/LLD, picolibc, libc++, the QNX 6.5 target), checked against its SHA256SUMS by make toolchain. No application build needs the QNX SDP; only nbt-runner, which NBT Manager ships, does.

Contents

  • libnbt-sdk: lifecycle and bridge, settings, logs and crash lines, video, audio (AudioPcm, AudioRoute, the A2I output), the controller and gamepad readers.
  • libnbt-audio-mixer, libnbt-gles2 (GL1 on GLES2), libnbt-frontend (scaling, overlay, menus, controls per pad family), libnbt-retro (a libretro host).
  • The module and guest runtime and links, with the payload and licence checks (check_module.py: ARM state only, GPL/LGPL only in a guest), the GL command stream, build stamps.
  • The QNX 6.5 VM test (tools/qnx65-vm), the porting guide (docs/porting.md) and its port-* skills.

Built on it: nf-doom, nf-snes9x, nf-fbneo, nf-pcsx-rearmed, nf-android-auto. Their packages need NBT Manager 0.3.1 or later.

Pre-1.0: a minor release may change the API; each release's notes say what applications must change.