diff options
Diffstat (limited to 'libnos/include/nos/NuggetClientInterface.h')
-rw-r--r-- | libnos/include/nos/NuggetClientInterface.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libnos/include/nos/NuggetClientInterface.h b/libnos/include/nos/NuggetClientInterface.h index f7db0d1..8d78185 100644 --- a/libnos/include/nos/NuggetClientInterface.h +++ b/libnos/include/nos/NuggetClientInterface.h @@ -47,7 +47,7 @@ public: virtual bool IsOpen() const = 0; /** - * Call into and app running on Nugget. + * Call into an app running on Nugget. * * @param app_id The ID of the app to call. * @param arg Argument to pass to the app. @@ -58,6 +58,10 @@ public: virtual uint32_t CallApp(uint32_t appId, uint16_t arg, const std::vector<uint8_t>& request, std::vector<uint8_t>* response) = 0; + /** + * Reset the device. Use with caution; context may be lost. + */ + virtual uint32_t Reset() const = 0; }; } // namespace nos |