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
853 views 2 comments
by
Hello,

We would like to put our application program onto this device. We want this application program to handle LAN and 4G communication on TBM140.

- Collecting some data via LAN port (Protocol is Modbus or General TCP)

- Converting collected data in TBM140

- Uploading converted data via 4G (Protocol is our original special protocol)

Question:

1) Is it possible to do that?

2) If it's yes, how do we create such kind of program? Should we prepare Linux PC?

Thank you for your help in advance!

Best regards

1 Answer

0 votes
by anonymous
Hi,

Have you tried latest release of TRB?: https://wiki.teltonika.lt/view/TRB140_Firmware_(EU)

New release has something like this: https://wiki.teltonika.lt/view/RUT950_Modbus

To add your scripts to TRB you can use user scripts: https://wiki.teltonika.lt/view/User_Scripts_examples

Or you can use SDK and built your firmware with additional functionality: https://wiki.teltonika.lt/view/Software_Development_Kit

Instructions: https://wiki.teltonika.lt/view/Software_Development_Kit_instructions
by
I want to write my own application in C and able to run on RUT240.

Can you please tell me how is this possible?

I can compile my application using SDK provided (https://wiki.teltonika-networks.com/view/Software_Development_Kit). I did make it and get toolchain. Using this toolchain, I compiled C code. However, when I copy these across to RUT240; It couldn't run this for some reason.

Please advise, how can I run this C code.
by
Hi, i got a very similar issue concerning TRB 140.

Up to present, we have been using a specific custom made protocol that transmits digital input changes from gprs modem to a data gateway, which in turn converts the data to  certain IEC protocol for SCADA. We have made the software in C and it runs natively in the modem device. Now, the current modem family has reached its EOL and we need a replacement for it. TRB140 would suit really well into this picture, but i really need to have a decent interface description upon how to handle modem functionalities and read/write the GPIO from from C-code. Also, i will need to have some kind of configuration interface for our own SW, but i think .ini file would be a decent solution for that. I checked the SDK instructions link from the previous response, but there was just an empty page?

Actually, we do also have some other plans in the future, so in case we succeed with this case, there might be also other projects following with other TRB versions ( i.e. serial port use).