commit | 8408937412be9c6d7659e19df67d94f2f7d82015 | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Tue Feb 20 14:02:17 2018 +0000 |
committer | Andrew Scull <ascull@google.com> | Tue Feb 20 14:02:17 2018 +0000 |
tree | ebbad1140e81bd48072284b8a8219f5320ac3fa6 | |
parent | 95ac9bb99a6a9942c35e80d7755c00c926075f65 [diff] |
Add function to reset a device. Hard reset rather than a soft reset as an option for recovering from Nugget OS becoming unresponsive. Change-Id: Ifd144b03a08287ead48acf9afea2a3e68cb7e297
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.