Home/Support/Support Forum/How can I send CLI commands to a Transport WR21 using the serial port?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How can I send CLI commands to a Transport WR21 using the serial port?

0 votes
I need to use a Transport WR21 to receive CLI commands through the serial port from a PLC so that it sends an SMS to the number and with text I define in the command. How can I achieve this?

Thanks in advance
asked Aug 16, 2018 in Digi TransPort Cellular by Jo√£oMRocha New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
if you have the correct cable connected between the router and PLC you should be able to just send the string as

sendsms phonenumber "message"

the phone number might have to be the intenational number with out the leading "0"'s

to test from the web interface you can use the same command in the "execute command" section

to check what is being passed over the serial interface you can use the analyser if you enable it it should be already configured for asy0 and you should be able to see an the trace section what is being passed to the router

regards

James
answered Aug 17, 2018 by James.Wilson Veteran of the Digi Community (1,225 points)
...