FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
480 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 anonymous
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 anonymous
It looks like screen says there's no python. Maybe try install it and see if that gives any positive output.

EB.
by anonymous
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.