FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

4167 questions

4739 answers

3460 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
171 views
in Vehicle tracking by anonymous

I followed this tutorial and managed to create a TCP Server using hercules and send GRPS Commands successfully to the teltoniaka Device

https://wiki.teltonika-mobility.com/view/Sending_Codec12_commands_using_Hercules

I then tried to replicate the same thing using UDP but when i send GPRS commands via UDP to the teltonika device i dont get any responses.

Are the GPRS commands TCP specific or do they also work on UDP too?

1 Answer

0 votes
by anonymous

GPRS commands are generally specific to the TCP protocol. GPRS is a mobile data service that operates over the GSM network, and it uses the TCP/IP protocol stack for communication. UDP is a connectionless protocol that does not guarantee reliable delivery or ordering of packets. It is often used for applications that prioritize speed and low latency over reliability, such as real-time streaming or gaming. Since GPRS commands rely on reliable delivery and ordered transmission, they are typically implemented using the TCP protocol. Sending GPRS commands via UDP may not work as expected because UDP does not provide the necessary mechanisms for ensuring reliable and ordered delivery of data.

Best answer