Bug: 111264136

Clone this repo:
  1. 17d9847 Merge Android 13 QPR1 by Xin Li · 8 weeks ago main-16k-with-phones master
  2. 029c64d Merge tm-qpr-dev-plus-aosp-without-vendor@9129937 by Xin Li · 4 months ago
  3. 6c09f68 Merge remote-tracking branch 'goog/upstream-master' into D2-TM-013 am: 212b983d0a by Joseph Jang · 5 months ago
  4. 212b983 Merge remote-tracking branch 'goog/upstream-master' into D2-TM-013 by Joseph Jang · 5 months ago
  5. ec638c4 DO NOT MERGE - Merge Android 13 am: a96756d4c2 am: 03675bcee8 am: 1e57a1ef0d by Xin Li · 6 months ago

Generic host components for Nugget

Nugget will be used in different contexts and with different hosts. This repo contains the components that can be shared between those hosts.


The nugget directory contains items that are shared between the host and the firmware. Those include:

  • shared headers
  • service protos


libnos is a C++ library for communication with a Nugget device. It offers an interface to manage a connection and exchange data and a generator for RPC stubs based on service protos.


libnos_datagram is a C library for exchanging datagrams with a Nugget device. This directory only contains the API of the library as the different platforms will need to implement it differently.


libnos_transport is a C library for communicating with a Nugget device via the transport API. This is built on top of the libnos_datagram library for exchanging datagrams.