Instead of the “waitms” in your code you should use a “wait for prompt” routine or at least increase the wait time period. The timing information in the data sheet is typical values and we recommend to wait for prompt “>” to ensure that you are in configuration mode before the ‘Z’ command is sent to the module.
Last Update: November 9, 2017
November 9, 2017 1779 RC232 Q&A