summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-10-15Rework to remove Alexa voiceagent dependenciesScott Murray10-99/+301
Changes include: - The previous somewhat hard-coded Alexa voiceagent configuration in the app controller definition has been replaced with a scheme that allows instead specifying voiceagent configuration via the configuration file /etc/xdg/AGL/voice-high.json, and individual per-voiceagent configuration via JSON files in the directory /etc/xdg/AGL/voiceagents. See the updated README.md for more details. - The new file reading code for the above change was facilitated by bumping the C++ standard option to 17 (from 11) to allow use of the new standard library filesystem classes. - The configured voiceagents' APIs are now loaded dynamically using the afb_api_require_api call enabled by the recently exposed platform:apis:auto-ws widget permission. The widget configuration has been updated to add the permission, and also remove the previously hard-code dependency on the "alexa-voiceagent" API. - App controller event hooks are created dynamically for the events from the configured voiceagents. This is done by calling back into the app controller API at the appropriate place during initialization, replacing the previous hard-coding of events from "alexa-voiceagent". If future use cases require dynamic removal of voiceagents, then this scheme will need to be revisited, as the app controller API currently has no provision for removing events. - The IAFBApi interdace and AFBApiImpl implementation classes have been extended with additional getApi and requireApi calls to enable the above changes in a straightforward manner. Bug-AGL: SPEC-2898 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iae8b99a6286174510e88d8eeffd51718db64f2f4
2019-10-08Switch to appcontroller libraryScott Murray15-67/+70
Remove old app-controller submodule usage in favor of library from the toolchain. Also update dynamic API calls for V3. Bug-AGL: SPEC-2856 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I0e1ee659432e3d78ed4cdd419a79bebbead13f39
2019-10-07Switch to afb-helpers libraryScott Murray6-11/+9
Remove old afb-helpers submodule usage in favor of library from the toolchain. Note that json.hpp is no longer shipped with the library, and is now assumed to be present in the toolchain, which requires a DEPENDS addition in the recipe to pick it up, and an #include of sstream to work with newer versions of json.hpp. Bug-AGL: SPEC-2854 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I28ddb57cc3f8aedf872bf45944bcf27f8e529958
2019-05-21autobuild: fix build script copy issuehalibut_8.0.2halibut_8.0.1halibut_8.0.0halibut_7.99.3halibut_7.99.2halibut_7.99.1halibut/8.0.2halibut/8.0.1halibut/8.0.0halibut/7.99.3halibut/7.99.2halibut/7.99.18.0.28.0.18.0.07.99.37.99.27.99.1Matt Ranostay2-4/+12
Avoid copying over the same file with the wgt output, and prevent the following error: cp: 'build/vshl-core.wgt' and 'build/vshl-core.wgt' are the same file make: *** [autobuild/agl/autobuild:62: package] Error 1 Bug-AGL: SPEC-2430 Change-Id: I596fa8d6bf4b31ad10ca55b475d91ed89ce783e0 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-02-25Refactored VSHL into vshl-core and vshl-capabilities.Naveen Bobbili90-3479/+856
vshl-core: This API is responsible for request arbitration. Verbs exposed are 1. startListening 2. cancelListening 3. subscribe 4. enumerateVoiceAgents 5. setDefaultVoiceAgent Used by applications to subscribe to dialog, connection and auth states of underlying low level voiceagent bindings. Used by applications to trigger voice recognition routine of the underlying low level voiceagent binding. vshl-capabilities: This API exposes publish and subscribe methods for all the speech framework domains/capabilities. For eg. navigation, phonecontrol etc. This API is used by apps and low level voice agent binding to subscribe and publish these capability messages whenever applicable. The code for this is agl-service-voice-high-capabilities repository. This specific commit is for vshl-core API. Change-Id: I1101db19b57ee918482a178843641b088508ac5d Signed-off-by: Naveen Bobbili <nbobbili@amazon.com>
2019-02-06Initial .gitreviewhalibut_7.90.0halibut/7.90.07.90.0Jan-Simon Möller1-0/+5
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-12-06Code Base Linking based authentication implementationguppy_6.99.4guppy_6.99.3guppy/6.99.4guppy/6.99.36.99.46.99.3ces2019Naveen Bobbili4-2/+367
for Alexa Voice Agent. Using the VSHL Tester HTML5 app 1. Click Enumerate Agents will show Login With Amazon button if the low level Alexa voice agent is not authenticated. 2. Clicking Login with Amazon button will start the login process. A CBL link will be displayed using which the user can authenticate using Amazon account. 3. The app will automatically fetch the access token needed by the low-level Alexa Voice Agent and pass it to it using the setAuthToken exposed by the agent. Change-Id: I327e9b77a2f296a268530df00804cbef60cf0c3c Signed-off-by: Naveen Bobbili <nbobbili@amazon.com>
2018-11-27Added the Alexa VoiceAgent dependency in the VSHL widget config.guppy_6.99.2guppy/6.99.26.99.2Naveen Bobbili1-2/+5
Change-Id: Ib72a62dd59859da56d457c4460e5012c79f81801 Signed-off-by: Naveen Bobbili <nbobbili@amazon.com>
2018-11-20config.cmake: Remove superfluous dependenciesguppy_6.99.1guppy/6.99.16.99.1José Bollo1-3/+1
Removing dummy requirement is good. It avoids brain damage in trying to answer superfluous questions. Change-Id: I3a32f8f7014b83073bbf2d1c08ce0240d03e1489 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-11-20Use latest AGL Framework code for javascriptJosé Bollo2-25/+64
Using latest version helps to track the changes and is beneficial for the community that often copies. Change-Id: I791c529d6cd97bcb45c00b52f7fbd1bd9e487eec Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-11-20Also provide HTML user app for testingJosé Bollo1-0/+15
This installs at the same time that the service a tiny HTML app for testing it. This should probably not be added in production mode. This also need a true webruntime infrastucture (work in progress). Change-Id: I7f0de3312fef1f1328cfda72e5c271d92cf0b42f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-11-13SPEC-1924: AGL Speech Framework's Voice Service High Level 1.0 Release.Naveen Bobbili102-0/+8596
Details: 1) Control plugin implementation for VSHL 1.0 2) Exposed APIs that are documented in the confluence page https://confluence.automotivelinux.org/display/SPE/Speech+EG+Architecture 3) Implemented 39 unit tests based on GTest framework to test all the low level components of VSHL binding. 4) Implemented a HTML5 based VSHL API tester application to test VSHL APIs. API specification: https://confluence.automotivelinux.org/display/SPE/Speech+EG+Architecture#SpeechEGArchitecture-HighLevelVoiceService Test performed: 1) Tested AGL service running Alexa Auto SDK https://github.com/alexa/aac-sdk on Ubuntu 16.04 and Renesas R-Car M3 board. License: Apache 2.0 Developers/Owners: Naveen Bobbili (nbobbili@amazon.com) Prakash Buddhiraja (buddhip@amazon.com) Shotaro Uchida (shotaru@amazon.co.jp) Change-Id: I3370f4ad65aff030f24f4ad571fb02d525bbfbca Signed-off-by: Naveen Bobbili <nbobbili@amazon.com>
2018-11-10Initial empty repositoryJan-Simon Moeller0-0/+0