Possible port issue for CalAmp device?

my905589 years ago

Hello. Thanks a lot for this great program you've created!

I've added my CalAmp LMU-2720 unit to your demo server but it doesn't seem to connect.

I configured it to report to 104.43.219.242:5082 but it doesn't show anything?

When I use https://www.traccar.org/port-check/ to check port 5082 on 104.43.219.242 it says the port is closed? Could this be the issue?

Regards

Anton Tananaev9 years ago

The port was indeed closed, but the port check tool that you used is useless for UDP-based protocols like CalAmp.

Please try again now.

my905589 years ago

That fixed the problem. Thanks a lot. Works great!

henriquebts7 years ago

Did you change any others configs beyond the IP and PORT in order to connect to traccar @my90558 ?

sagar k patel7 years ago

Hello Anton Tananaev i have implemented calamp protocol but currently facing one issue with it.

Why i am continuously receiving same packet ?

i am receiving this packet and for that packet i am sending acknowledgement as below.

Received packet: 830546342006760101010a00015997c95913d5988bfb7aa0c6000000c0800e0106000030ec00000000400000010001000e00000

acknowledgment packet: 8305463420067601010201010A000000000000

Anton Tananaev7 years ago

Probably because you are not sending acknowledgement back to the device.

sagar k patel7 years ago

Received packet:

830546342006760101010a00015997c95913d5988bfb7aa0c6000000c0800e0106000030ec00000000400000010001000e00000

acknowledgment packet:

8305463420067601010201010A000000000000
Anton Tananaev7 years ago

I would recommend to compare it with what Traccar sends.

sagar k patel7 years ago

i have tried to understand that code but have some problem in understanding acknowledgement.

So can you please suggest on acknowledgement packet.

According to protocol i am sending acknowledgement properly.

Anton Tananaev7 years ago

You should compare it with what Traccar sends.

sagar k patel7 years ago

OK thanks for helping me out if will have any query then i will ask for it.

sagar k patel7 years ago

Hello Anton Tananaev
in calamp protocol i have one issue related to Hard Braking and Hard Acceleration in decoding from where i can get those events?

Anton Tananaev7 years ago

You would probably need to use calculated attributes to convert "event" value into hard breaking and acceleration alarms.

tije6 years ago

Hi sagar k patel have you resolve your probleme
i have same probleme
please how to fixe it