microsoft / IoT-For-Beginners

12 Weeks, 24 Lessons, IoT for All!

Home Page:https://microsoft.github.io/IoT-For-Beginners/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to convert text to speech - error -1

lesliebinbin opened this issue · comments

Regarding speech-to-text, I am using WIO Terminal, the builtin microphone, things I have done:

  1. comment out two lines:
        // _token_client.setCACert(TOKEN_CERTIFICATE);
        // _speech_client.setCACert(SPEECH_CERTIFICATE);

because setting the CACert I can not even get back the token

  1. the error code return is -1, any idea why? Is it due the the rpcWifi library itself?

@lesliebinbin Thanks. Commenting this out fixed the issue.