89 #ifndef _IARM_BUS_VREXMGR_H
90 #define _IARM_BUS_VREXMGR_H
99 #define IARM_BUS_VREXMGR_NAME "VREXMgr"
101 #define IARM_BUS_VREXMGR_SPEECH_FRAGMENTLENGTH 1024
102 #define IARM_BUS_VREXMGR_SPEECH_MIME_LENGTH 64
103 #define IARM_BUS_VREXMGR_SPEECH_SUBTYPE_LENGTH 64
104 #define IARM_BUS_VREXMGR_SPEECH_LANG_LENGTH 3
106 #define IARM_BUS_VREXMGR_ERROR_MESSAGE_LENGTH 256
110 IARM_BUS_VREXMGR_EVENT_MOTION = 0,
111 IARM_BUS_VREXMGR_EVENT_SPEECH,
112 IARM_BUS_VREXMGR_EVENT_ERROR,
113 IARM_BUS_VREXMGR_EVENT_SUCCESS,
114 IARM_BUS_VREXMGR_EVENT_SETTINGS,
118 typedef enum _VREXMgr_SpeechType {
119 IARM_BUS_VREXMGR_SPEECH_BEGIN = 0,
120 IARM_BUS_VREXMGR_SPEECH_FRAGMENT,
121 IARM_BUS_VREXMGR_SPEECH_END
122 } IARM_Bus_VREXMgr_SpeechType_t;
125 typedef enum _VREXMgr_SpeechEndReason {
126 IARM_BUS_VREXMGR_SPEECH_DONE = 0,
127 IARM_BUS_VREXMGR_SPEECH_ABORT,
128 IARM_BUS_VREXMGR_SPEECH_ERROR
129 } IARM_Bus_VREXMgr_SpeechEndReason_t;
139 typedef enum _VREXMgr_VoiceCallType {
143 }IARM_Bus_VREXMgr_VoiceCallType_t;
147 unsigned char jsonData[IARM_BUS_VREXMGR_ERROR_MESSAGE_LENGTH];
153 struct _SPEECH_BEGIN_EVENT {
156 unsigned char mimeType[IARM_BUS_VREXMGR_SPEECH_MIME_LENGTH];
158 unsigned char subType[IARM_BUS_VREXMGR_SPEECH_SUBTYPE_LENGTH];
160 unsigned char language[IARM_BUS_VREXMGR_SPEECH_LANG_LENGTH];
163 struct _SPEECH_FRAGMENT_EVENT {
165 unsigned long length;
168 unsigned char fragment[IARM_BUS_VREXMGR_SPEECH_FRAGMENTLENGTH];
171 struct _SPEECH_END_EVENT {
173 unsigned char reason;
193 IARM_BUS_VREXMGR_CARD_FWDNLD_START,
194 IARM_BUS_VREXMGR_CARD_FWDNLD_COMPLETE,
203 #define IARM_BUS_VREXMGR_API_AnnounceFirmware "AnnounceFirmware"