Other Parts Discussed in Thread: CC3200, CC3200SDK, UNIFLASH
Hi
I am using the CC3200 Audio BoosterPack for streaming audio.
I want to stream the data from the MIC ( by means of HTTP Posts) to Google.
The Microphone will recognize the voice, which is encoded in Base64. CC3200 will later send HTTP Post that contains Base64-encoded data to Google
So i have some questions.
1/ I can encode base64 from base64.c in CC3200SDK (C:\ti\CC3200SDK_1.1.0\cc3200-sdk\netapps\http\server\base64.c) right ?
2/ In the HTTP client demo example. I can't connect with https . This is my post
3/ I have tested with python so i have to send
+ RequestHeaders("{\"Content-Type\": \"audio/l16; rate=16000;\"}")
+RequestParameters("{\"output\": \"json\", \"lang\": \"vi-VN\", \"key\": \"My_token\"}")
+ EncodedData : Base64 encoded data
But in the HTTP client demo example, in HTTPPostMethod. i can't find the way to send RequestHeaders , RequestParameters , Type for posting binary data.( base64 encoded data).
4/ When google return the value (Ex: Vietnamese command voice line ) . How to code in CCS if it's not english
Example : If ( return_data == "Mở đèn đỏ")
Turn_on_red_led();
Thank you
Regards,
Khoa

