|
PebbleOS
|
Pebble Protocol voice control endpoint (11000). More...
Data Structures | |
| struct | AudioTransferInfoSpeex |
| Speex stream parameters, sent before the encoded audio. More... | |
| union | VEFlags |
| Message flags. More... | |
| struct | SessionSetupMsg |
| Session setup request, from the watch. More... | |
| struct | SessionSetupResultMsg |
| Session setup result, from the phone. More... | |
| struct | VoiceSessionResultMsg |
| Dictation or NLP result, from the phone. More... | |
| struct | VEFlags.__unnamed100__ |
Functions | |
| void | voice_endpoint_setup_session (VoiceEndpointSessionType session_type, AudioEndpointSessionId session_id, AudioTransferInfoSpeex *info, Uuid *app_uuid) |
| Ask the phone to start a voice session. | |
Pebble Protocol voice control endpoint (11000).
Sets up dictation and NLP sessions with the phone, whose audio is streamed through the audio endpoint, and passes the results back to the voice service.
| struct AudioTransferInfoSpeex |
| union VEFlags |
Message flags.
| Data Fields | ||
|---|---|---|
| struct VEFlags.__unnamed100__ | __unnamed__ | |
| uint32_t | all | All flags. |
| struct SessionSetupMsg |
Session setup request, from the watch.
| Data Fields | ||
|---|---|---|
| struct pbl_generic_attr_list | attr_list | Attributes: speex info and, for apps, the app UUID. |
| VEFlags | flags | Flags. |
| MsgId | msg_id: 8 | MsgIdSessionSetup. |
| AudioEndpointSessionId | session_id | Audio endpoint session. |
| VoiceEndpointSessionType | session_type: 8 | Kind of session. |
| struct SessionSetupResultMsg |
Session setup result, from the phone.
| Data Fields | ||
|---|---|---|
| VEFlags | flags | Flags. |
| MsgId | msg_id: 8 | MsgIdSessionSetup. |
| VoiceEndpointResult | result: 8 | Setup result. |
| VoiceEndpointSessionType | session_type: 8 | Kind of session. |
| struct VoiceSessionResultMsg |
Dictation or NLP result, from the phone.
| Data Fields | ||
|---|---|---|
| struct pbl_generic_attr_list | attr_list | Result attributes. |
| VEFlags | flags | Flags. |
| MsgId | msg_id: 8 | MsgIdDictationResult or MsgIdNLPResult. |
| VoiceEndpointResult | result: 8 | Session result. |
| AudioEndpointSessionId | session_id | Audio endpoint session. |
| struct VEFlags.__unnamed100__ |
| enum MsgId |
| enum VEAttributeId |
Attribute identifier in voice endpoint messages.
| enum VoiceEndpointResult |
Result of a voice session, reported by the phone.
| void voice_endpoint_setup_session | ( | VoiceEndpointSessionType | session_type, |
| AudioEndpointSessionId | session_id, | ||
| AudioTransferInfoSpeex * | info, | ||
| Uuid * | app_uuid | ||
| ) |
Ask the phone to start a voice session.
Also switches the connection to its lowest latency for the duration of a voice session.
| session_type | Kind of session. |
| session_id | Audio endpoint session carrying the audio. |
| info | Speex stream parameters. |
| app_uuid | UUID of the requesting app, or NULL for a system session. |