print in the console tram position

Yow 9 years ago

hi, which file in the traccar project, i could make break points to print in the console the tram recieved from device???

Anton Tananaev 9 years ago

What do you mean by "tram"?

Yow 9 years ago

i meant the data sent by the device before it has been decoded.

Anton Tananaev 9 years ago

You can do it in frame decoder class.

Yow 9 years ago

Hi i have one more question:
suppose we have this devise reply:

4d4347500042c31f000018c14e216400eb002000e3840000f066f727b6090000000000000000c04b00000006a34f65ffeaa2b803280a0000390000006f142711110902e1074d

i managed to find certain Message Ingredients in CellocatorProtocolDecoder class,but where i can find the others??

thank u

Anton Tananaev 9 years ago

What do you mean by "Message Ingredients"? What "others" are you talking about?

Yow 9 years ago

i mean these KPIs:

    public static final String KEY_ORIGINAL = "raw";
    ...
    public static final String ALARM_OIL_LEAK = "oilLeak";

How i can get them by using CellocatorProtocolDecoder???

Anton Tananaev 9 years ago

At the moment Cellocator decoder supports only very basic data. Everything else has to be implemented. If you need help with it, send me an email.

Yow 9 years ago

Thank u ser i managed to get certain data, but of cours if i get stuck i will let u know..now the issue which i have is, in your code you treat just the type 0, what about type 8 and type 9 (CellocatorProtocolDecoder)??

Anton Tananaev 9 years ago

Those types are not supported at the moment.

Yow 9 years ago

could u help to get them??

Anton Tananaev 9 years ago

I can. Please send me an email.

Yow 9 years ago

could i have your email please??

Anton Tananaev 9 years ago

You can use email address at the bottom of this page.

Yow 9 years ago

its done!!!I have just sent u an email