Autor Thema: Serial Module similar to HTTPMOD (USBMOD)?  (Gelesen 1303 mal)

Offline mgmino

  • New Member
  • *
  • Beiträge: 19
Serial Module similar to HTTPMOD (USBMOD)?
« am: 30 Mai 2020, 07:35:00 »
Is there a module similar to HTTPMOD that allows sending a formatted string and parsing the response?

Offline rudolfkoenig

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 24241
Antw:Serial Module similar to HTTPMOD (USBMOD)?
« Antwort #1 am: 30 Mai 2020, 10:25:52 »
Take a look at ECMD.

Offline mgmino

  • New Member
  • *
  • Beiträge: 19
Antw:Serial Module similar to HTTPMOD (USBMOD)?
« Antwort #2 am: 30 Mai 2020, 17:02:32 »
Thank you for your quick response. This protocol is very interesting.

Offline mgmino

  • New Member
  • *
  • Beiträge: 19
Antw:Serial Module similar to HTTPMOD (USBMOD)?
« Antwort #3 am: 31 Mai 2020, 16:05:16 »
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?

Offline rudolfkoenig

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 24241
Antw:Serial Module similar to HTTPMOD (USBMOD)?
« Antwort #4 am: 31 Mai 2020, 18:40:58 »
Zitat
One 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)

Offline mgmino

  • New Member
  • *
  • Beiträge: 19
Antw:Serial Module similar to HTTPMOD (USBMOD)?
« Antwort #5 am: 31 Mai 2020, 19:22:31 »
Thank you. I will follow up in that forum.