How to write programme use javascirpt with continuous command

Hello

I am using TCP Request to send an receive the message to/ from anybus bolt.
whatevey use telnet ,At command of anybus and putty,I can write multiline command then send them to the anybus bolt and receive correct data.

I want to know ,which string("\r\n","\n" is not ok) should i add between multiline command like picture.

Is the delay time used in the "TCP request" ?
in order to get the string of 71 length,it need more than 200ms ,it is too long .
→ send message :"ATBGCRC=0,19,0\r\n"
→receive message:
AT
BGCRC=0,19,0
*BGCRC:00D50E8400018B69000400000000000037000000
OK

circle time of timestamp is 200ms

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.