Page 1 of 1

Support to speak message?

Posted: Fri Sep 20, 2019 6:02 pm
by alains
Do you still support the following in the new version? I do not find any information on your documentation.
mySerial.println("{MESSAGE|SPEAK+DATA|End of tests of "+String(maxCycles)+ "Cycles for Temperatures range: \n"+String(StartTemp) + " degree C "+"}");

Re: Support to speak message?

Posted: Sat Sep 21, 2019 12:05 am
by philr
Hi Alain, I tried to reply to your email but it says its getting rejected. Anyway ill copy the reply here.

I tried your first example and it worked fine. I did this:
Which printed the millis timer to the table. Seemed to work. 
x2scrap.png (15.12 KiB) Viewed 1739 times
As for your second question in the email you had only DATA not SPEAK+DATA

I tried this and it worked fine on my computer.
mySerial.println("{MESSAGE|SPEAK+DATA|Parameters:"+ myParams + "}");

In short we haven't changed anything that should have broken that functionality. Confirm in your serial monitor you are getting the messages correctly. Raw messages should look like this ... reference/


Re: Support to speak message?

Posted: Sat Sep 21, 2019 2:57 am
by alains
Thanks Phil, just to make sure: In order to have the {MESSAGE|SPEAK+DATA... working I need a message monitor ,even that there is no printed data on it, just spoken data?

Re: Support to speak message?

Posted: Sun Sep 22, 2019 6:16 pm
by philr
Yes that is correct. That establishes a listener for that type of message. Without it they don't get processed by anything.