Serial Module similar to HTTPMOD (USBMOD)?

Begonnen von mgmino, 30 Mai 2020, 07:35:00

Vorheriges Thema - Nächstes Thema

mgmino

Is there a module similar to HTTPMOD that allows sending a formatted string and parsing the response?

rudolfkoenig


mgmino

Thank you for your quick response. This protocol is very interesting.

mgmino

ECMD is exactly what I am looking for -- a name like USBMOD would help it be easier to find.

One feature that would be helpful is a terminal mode -- ability to interactively communicate with the device on the serial connection. What is the best way to proceed with this?

  • can an extension be added to the module without affecting the original module for update?
  • request addition from the module creator to be included in the module?
  • make a new module from the existing one?
  • some other process?

rudolfkoenig

ZitatOne feature that would be helpful is a terminal mode -- ability to interactively communicate with the device on the serial connection.
What exactly do you have in mind?

Perhaps it is enough to start "perl contrib/tcptee.pl --bidi 12345", attach to it via "telnet localhost 12345", and define your ECMD with localhost:12345

Your questions can be better answered by the maintainer in the right forum area (see MAINTAINER.txt)

mgmino

Thank you. I will follow up in that forum.