Catch in Event the result of a command

leninweblb6 years ago

Hi, help me with something please, I have sent some commands through Traccar, it works like a charm!
But, I wanna some feedback of the command, I wanna know, how can I see the result of the command, I have tested this with the next types:

  • Text message received
  • Command result

None of them catch the result.

The device answer the command with an SMS, how can I catch this?

The log of the device is as follow:

2018-06-16 16:44:15 DEBUG: [4FA4FB92: 5007 > 181.188.201.61] HEX: 2a3030303030302c3031382c36302c39393923

HEX DECODED: *000000,018,60,999#

2018-06-16 16:44:18 DEBUG: [4FA4FB92: 5007 < 181.188.201.61] HEX: 526563656976653a27303138274f4b0a2a3030303030302c3031382c36302c39393923

HEX DECODED: Receive:'018'OK *000000,018,60,999#

Best Regards
Lenin

leninweblb6 years ago

In addition, I was reading the documentation:
Traccar supports answers on commands for some protocols. Such answers are stored in result attribute. Server generates this type of event if position contains result attribute.
For example, which devices have a attribute called result?

Best Regards
Lenin

Anton Tananaev6 years ago