7583 questions

9029 answers

14577 comments

11803 members

0 votes
178 views 3 comments
by

Hi,

I have a TRB142 which I want to connect to a mother board using a RS232 cable. I'm able to send these commands and see their response connecting my PC to the motherboard (using a RS232 cable) and Hercules. Now, I want to know how to do it using a TRB142 instead of a PC.

Thanking you in advance.

1 Answer

0 votes
by
Hi,

In this case, I would suggest using over IP mode of RS232: https://wiki.teltonika-networks.com/view/TRB142_RS232#Over_IP

or you could connect raw straight from the console of the TRB142 device, you should be able to do it analogically to these RUT955 instructions in the comments: https://community.teltonika-networks.com/23643/rut955-serial-port-over-ssh?show=23643#q23643

EB.
by

Thanks for the answer!

My problem now is that I want to use Node.js to send and receive commands using that connection. I have to install serialport module from npm but I'm getting always the same error:

Did someone expirement this error?

Cheers.

by
It looks like screen says there's no python. Maybe try install it and see if that gives any positive output.

EB.
by
Hi, I installed python and I could finally install Serailport but it doesn't work. The problem is that this module takes a lot of resources and Teltonika's development support has told me that it's no possible to use it due to hardware limitations.