protocols server

Adrien2 years ago

hi,
how to configure traccar 5.0 to be only a protocol server without database? or should we wait for future versions of traccar to be able to do this?
thanks

Anton Tananaev2 years ago

It's not a configuration. You have to implement an interface in the code.

Adrien2 years ago

hi,
can you show us the implementation procedure of this interface?
thanks

Anton Tananaev2 years ago

Here's the interface you need to implement:

https://github.com/traccar/traccar/blob/master/src/main/java/org/traccar/storage/Storage.java

You can find SQL database implementation in the code and use it as an example.

Adrien2 years ago

hi,
For the moment we are satisfied with transferring the data of the boxes with "WebDataHandler". We would like to do without the database and just transfer the data of the GPS boxes.we will look at this interface ("Storage.java").
thanks

Anton Tananaev2 years ago

You can also check MemoryStorage class.