commit | d2c3a23024148e5eacf121bdc2dce247466e36e8 | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Thu Mar 29 20:24:11 2018 +0100 |
committer | Nagendra Modadugu <ngm@google.com> | Fri Mar 30 05:08:50 2018 +0000 |
tree | f14cabbbaba389dd60f119edcc452654e988dd55 | |
parent | 0c0ee17f76519f2ec95b59eebf20bcc9e1b41adf [diff] |
Accessor for device ID. A command to the nugget app returns the device ID. An option is added to citadel_updater to fetch the ID. Test: citadel_updater --id Change-Id: I9fec7f029de14b79039956efe2d73e9245148717
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.