8297 questions

9761 answers

15547 comments

13864 members

0 votes
59 views 1 comments
by
Dear Teltonika team,
We have found good match for our application. We want to capture the data from a serial device to  RS232 port and send the data to cloud via MQTT. The connected device has 9 bit serial communication, while your technical sheet mentioned that it support 7 bit and 8 bit serial communication. so we have following queries as
1) this or any other Teltonika hardware support 9 bit serial communication? NRZ setting. Pl confirm.
2) we are new to use teltonika hardware so far...so what is the possibility that we build our serial package in python and run on TRB142 to read serial data , make send received command , parse the data and send to cloud ? is this possible?
3) what is standard packet structure where we can add dt/time, sr no , payload, checksum before sending to cloud.
4) is it possible to send serial data in transparent mode and send command from server  to serial port to control serial communication or give command to connected device via serial port.
these are critical question to latch on teltonika this hardware or any other suggested hardware for our coming project.

please respond. thanks best regards

1 Answer

0 votes
by

Hello, 
 

1) This or any other Teltonika hardware support 9 bit serial communication? NRZ setting. Pl confirm.
-> As default and mentioned in the datasheet it can support 7bit to 8bit communication but for the 9bit serial communication they maybe some additional research and development that will be done so it is best to communicate with your sales account manager. 

2) we are new to use teltonika hardware so far...so what is the possibility that we build our serial package in python and run on TRB142 to read serial data , make send received command , parse the data and send to cloud ? is this possible?
-> TRB142 is running RUTOS software where it is based in Linux so running python programs will be you can install python package to the device via the commands: 

"opkg update" 
"opkg list | grep python" 
"opkg install  package name" 
 

3) what is standard packet structure where we can add dt/time, sr no , payload, checksum before sending to cloud.
-> This customization could be down via SDK you can refer to this link: Software Development Kit - Teltonika Networks Wiki (teltonika-networks.com)

4) is it possible to send serial data in transparent mode and send command from server  to serial port to control serial communication or give command to connected device via serial port.

-> Some of our clients are able to implement this kind of scenario where they are doing it by scripts rather than the default functionalities with the device but regarding how we don't have this kind of information. Also if you are doing it on a transparent mode if the connected device is listening on a TCP/IP port you can use the RS232 functionality called Over IP. 

This document may help: https://mega.nz/file/up0gxCLC#q6p0jkwXYNiomha1qIFypDotLG9YQBfWyWGAbsUYTLk

I hope it helps

Regards,
Mellow

by
Thanks. Can you please share as what is port if of RS232 of TRB142. We down load the pyserial but not sure which port I'd to read.

Also can you please let us know if comman line support Golang programming languages?

Thanks