Add a callback to signal nanoApp abort.
Adding a callback to indicate that a nanoApp has aborted. Test: ran update-makefiles. Change-Id: I4fdaf312c40e0e44f9e6326f37104c02da356999
This commit is contained in:
parent
0d0b6833f6
commit
8b26825308
1 changed files with 14 additions and 0 deletions
|
@ -49,6 +49,20 @@ interface IContexthubCallback {
|
|||
*/
|
||||
handleHubEvent(AsyncEventType evt);
|
||||
|
||||
/*
|
||||
* This callback is passed by the Contexthub service to the HAL
|
||||
* implementation to allow the HAL to send a notification to the service
|
||||
* that a nanp-app has aborted.
|
||||
* This method must be called when a nanoapp invokes chreAbort(...)).
|
||||
*
|
||||
* @params appId : app identifier
|
||||
* : abortCode code passed by the nanoApp.
|
||||
*
|
||||
* Also see chreAbort(...)
|
||||
*
|
||||
*/
|
||||
handleAppAbort(uint64_t appId, uint32_t abortCode);
|
||||
|
||||
/*
|
||||
* This callback is passed by the Contexthub service to the HAL
|
||||
* implementation to allow the HAL to send information about the
|
||||
|
|
Loading…
Reference in a new issue