commit | ed50ef80016ec5ec27fe9517109b1686c20b3172 | [log] [tgz] |
---|---|---|
author | Bill Richardson <wfrichar@google.com> | Thu Apr 30 18:57:54 2020 -0700 |
committer | Bill Richardson <wfrichar@google.com> | Thu Apr 30 20:06:01 2020 -0700 |
tree | bb48f081bfa03d27de47852122b0c0c50a21e91b | |
parent | 8f8d70c0f88b254a88228559b1d24e338246af55 [diff] |
Add NuggetClient constructor with const char* arg This makes it easier to build for the Linux host, where we use environment variables to distinguish among multiple test boards. Bug: None Test: Manual Change-Id: I6576f27e864f51ebf99bf6c3ce6188e90a9e4b6d Signed-off-by: Bill Richardson <wfrichar@google.com>
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:
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.