Problem sending GPS device command coban 303

Felipea year ago

I have linked my gps through port 5001, everything is correct, it appears online in my demo2, but when I send a command through the api it gives me the following error

Command deviceIdentification is not supported in protocol gps103 - RuntimeException (BaseProtocol: 114 < DeviceSession: 66 < CommandsManager: 85 < ...)

post to endpoint https://demo2.traccar.org/api/commands/send :

{
  "id": 0,
  "deviceId": 1931,
  "description": "test client id",
  "type": "deviceIdentification",
  "attributes": {}
}
Anton Tananaeva year ago

Do you have some specific question? The error message seems pretty clear to me.

Felipea year ago

So I can't use that command? How do I do it to be supported? I don't understand that

Anton Tananaeva year ago

Not supported. To support you need to implement it in the code.

Felipea year ago

Is there any guide on how to do it?

Anton Tananaeva year ago

No, but plenty of examples in the code. Just search.

Felipea year ago

ok, what is not clear to me is which code should I download?

Anton Tananaeva year ago

Then you probably shouldn't attempt it yourself.

Felipea year ago

I only ask you if it should be the traccar server or traccar web, how heavy are you

Anton Tananaeva year ago

OK, but it's going to be my last answer in this thread. Obviously it has to be done on the backend - traccar repository.