Messages

SDK has the following message types in order to carry out remote communication with Haruzira.

Message ID Type Sender Description
Communication Start Request 0x00 S Client The message is a request to start communication to the access point.
Communication End Notice 0x01 A Client The message is a notice to end communication to the access point.
Send Speech Data 0x03 S Client The message is a message to send a speech data to the access point.
Response of Send Speech Recognition Command 0x05 Ack Client The message is a response of “Send Speech Recognition Command”.
Response of Communication Start Request 0x10 Ack Server The message is a response of “Communication Start Request”.
Communication Stop Notice 0x11 A Server The message is a notice for stopping communication at the time of to occurred a maintenance or  any trouble.
Response of Send Speech Data 0x12 Ack Server The message is a response of “Send Speech Data”.
Speech Completion Notice 0x13 A Server The message is a notice to had completed the reproducing.
Send Speech Recognition Command 0x15 S Server The message is a message to send a speech recognition command to the remote device.

※Type: A: Asynchronous message, S: Synchronous message, Ack: Acknowledge message

 

 

Basic sequence pattern

A following figure is a basic sequence pattern at the time of regular communication.

Speech Completion Notification (0x13) is received by the Listener thread for the asynchronous message.