print in the console tram position

Yow7 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 Tananaev7 years ago

What do you mean by "tram"?

Yow7 years ago

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

Anton Tananaev7 years ago

You can do it in frame decoder class.

Yow7 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 Tananaev7 years ago

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

Yow7 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 Tananaev7 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.

Yow7 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 Tananaev7 years ago

Those types are not supported at the moment.

Yow7 years ago

could u help to get them??

Anton Tananaev7 years ago

I can. Please send me an email.

Yow7 years ago

could i have your email please??

Anton Tananaev7 years ago

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

Yow7 years ago

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