Bug: 111264136

Clone this repo:
  1. 36af9f2 Merge Android 12 QPR1 by Xin Li · 6 weeks ago master
  2. c1726ec Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918 by Xin Li · 3 months ago temp-sc-sam
  3. 85a86e9 [automerger skipped] Merge Android 12 am: 73d54361a1 -s ours am: cbd222f2ac -s ours am: df69f88fef -s ours by Xin Li · 4 months ago
  4. df69f88 [automerger skipped] Merge Android 12 am: 73d54361a1 -s ours am: cbd222f2ac -s ours by Xin Li · 4 months ago
  5. cbd222f [automerger skipped] Merge Android 12 am: 73d54361a1 -s ours by Xin Li · 4 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.

nugget

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

  • shared headers
  • service protos

libnos

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

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

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.