Top Level Namespace

Defined Under Namespace

Modules: EncryptionType, HaruziraSdk, HzSdkLangType, HzSpCompletionNoticeNecessity, HzSpeechGender, HzSpeechLevel, HzSpeechTextMode, HzVoiceCommandMode Classes: ClientTcpCommunication, Encryption, HzTrace, MsgAckCancelSpeech, MsgAckSendSpeechData, MsgAckSendSpeechRecognitionCommand, MsgAckStartComm, MsgNotifyCompleteSpeech, MsgNotifyEndComm, MsgNotifyStopComm, MsgReqCancelSpeech, MsgReqStartComm, MsgSendSpeechData, MsgSendSpeechRecognitionCommand, SpeechRecognitionCommandInfo

Constant Summary collapse

HZ_XOR_VALUE =

endregion

0xb7
MSG_REQ_START_COMM =

region メッセージID

0x00
MSG_ACK_START_COMM =
0x10
MSG_NOTIFY_END_COMM =
0x01
MSG_NOTIFY_CONTROL_COMMAND =
0x02
MSG_SEND_SPEECH_DATA =
0x03
MSG_NOTIFY_STOP_COMM =
0x11
MSG_ACK_SEND_SPEECH_DATA =
0x12
MSG_NOTIFY_COMPLETE_SPEECH =
0x13
MSG_REQ_CANCEL_SPEECH =
0x04
MSG_ACK_CANCEL_SPEECH =
0x14
MSG_SEND_SPEECH_RECOGNITION_COMMAND =
0x15
MSG_ACK_SEND_SPEECH_RECOGNITION_COMMAND =
0x05
MSG_CLIENT_OFFLINE =
0x99
MSG_CLIENT_NONE_MESSAGE =
0xaa
MSG_SEND_SPEECH_DATA_AUTO =

Debug用

0x50
RECEIVE_POLLING_TIME_OUT =

region 変数・定数定義

2
RECEIVE_TIME_OUT =

2sec

40
RECEIVE_MAX_TIME_OUT =

40sec

60
RECEIVE_MIN_TIME_OUT =

60sec

10
WRITE_TIME_OUT =

10sec

10
SEND_TIME_OUT =

10sec

10
THREAD_JOIN_TIME_OUT =

10sec

5
SEND_READ_DATA_MAX_SIZE =

5sec

1024
RECEIVE_RETRY_MAX_COUNT =
3
HRSEULT_SOCKET_CLOSED =
-2147483629
HZ_ERROR_RECEIVE_TIMEOUT =

共通エラーメッセージ

0x01
HZ_ERROR_OTHER_REASON =

応答受信タイムアウト

0x99