diff options
author | MTHGIT <mario@thielert.net> | 2017-01-26 15:10:32 +0100 |
---|---|---|
committer | MTHGIT <mario@thielert.net> | 2017-01-26 15:10:32 +0100 |
commit | e1d948f451dcc3de35d69cb3e8790e68a39fa53c (patch) | |
tree | 44a8e47b4e5f3145ab4926c017614f8b7e8fc38c | |
parent | 73f74aadc03a1aeffb0937220dca803e8d7149b8 (diff) | |
download | poi-service-e1d948f451dcc3de35d69cb3e8790e68a39fa53c.tar.gz |
add error management into Franca files, change code and scripts, test OK
-rw-r--r-- | api/franca/hmi/speechservice/SpeechOutput.fidl | 33 |
1 files changed, 19 insertions, 14 deletions
diff --git a/api/franca/hmi/speechservice/SpeechOutput.fidl b/api/franca/hmi/speechservice/SpeechOutput.fidl index b41f27f..be9cb40 100644 --- a/api/franca/hmi/speechservice/SpeechOutput.fidl +++ b/api/franca/hmi/speechservice/SpeechOutput.fidl @@ -16,7 +16,7 @@ import org.genivi.CommonTypes.* from "../../CommonTypes.fidl" **> interface SpeechOutput { version { - major 4 + major 1 minor 0 } @@ -39,7 +39,13 @@ interface SpeechOutput { <** @description : String containing the name of the last reached marker. **> typedef Marker is String - + + <** @description : Max length of a single prompt part. **> + enumeration Limits + { + MAX_CHUNK_LENGTH = 1024 + } + <** @description : Connection status, will be notified. **> enumeration ConnectionStatus { @@ -128,11 +134,12 @@ interface SpeechOutput { } <** @description : A prompt must be playing to perform an abort action. If no prompting operation in progress there will be no reaction of the system. **> - method abortPrompter { } + method abortPrompter fireAndForget { + } <** @description : The prompter is closed after the last text chunk submitted has finished playing. **> - method closePrompter { } - + method closePrompter fireAndForget { + } // *** notification methods @@ -141,8 +148,7 @@ interface SpeechOutput { */ <** @description : Notifies the connection status **> -// broadcast notifyConnectionStatus selective { - broadcast notifyConnectionStatus { + broadcast notifyConnectionStatus selective { out { <** @description : Client connection status. **> ConnectionStatus connectionStatus @@ -150,8 +156,7 @@ interface SpeechOutput { } <** @description : Notifies the last reached marker. **> -// broadcast notifyMarkerReached selective { - broadcast notifyMarkerReached { + broadcast notifyMarkerReached selective { out { <** @description : ID of the processed chunk. **> ChunkID chunkID @@ -161,17 +166,17 @@ interface SpeechOutput { } <** @description : Notifies the queue status. **> -// broadcast notifyQueueStatus selective { - broadcast notifyQueueStatus { + broadcast notifyQueueStatus selective { out { <** @description : Fill status of the text buffer. **> QueueStatus queueStatus } } - <** @description : Notifies the TTS engine status. **> -// broadcast notifyTTSStatus selective { - broadcast notifyTTSStatus { + <** @description : Notifies the TTS engine status. + \return : TtsStatus TTS status information **> + + broadcast notifyTTSStatus selective { out { <** @description : Current status of the TTS. **> TtsStatus ttsStatus |