MKRGSM - voice.ready()

Description

Reports if the previous voice command has executed successfully

Syntax


voice.ready()


Parameters

none

Returns

int In asynchronous mode, ready() returns 0 if the last command is still executing, 1 if there is success, and >1 in case of an error. In synchronous mode, it returns 1 if it executed successfully, 0 if not.