Problem issuing certain commands to Serial Port modem #2854
Unanswered
jfbertrand79
asked this question in
Q&A
Replies: 1 comment
-
Additional piece of information, I am running on Windows 11 and using the 12.0.0 version of serialport. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Hoping someone will be able to shed some light on the issue I am experiencing. I use the serialport module to connect to a remote modem using a virtual serial port. I can connect to the port, issue ATD commands to dial out and it connects successfully. Once connected I need to issue ESC-ESC-ENTER command to trigger the password prompt.
I tried multiple options including:
None of which worked, but the same escape sequence (\x1b\x1b\r) works in Python with pyserial. Doing it manually using Putty also works fine. All of the tries were done using BaudRate: 9600, dataBits: 8, stopBits: 1, parity: "none". I would rather keep everything in NodeJS and not use Python for this, but I am stuck at this step.
Any ideas would be appreciated.
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions