how to send command to gps tracker (meitrack)

sherome9 years ago

Real-Time Location Query (GPRS) – A10

I have command
Example

GPRS Sending @@Q25,353358017784062,A10*6A\r\n

GPRS Reply $$Q128,353358017784062,AAA,34,22.543176,114.078448,100313093738,A,5,22,2,205
,5,-14,0,60,0|0|10133|4110,0000,149|153|173|2707|914,*91\r\n

If you have any recommendations, please guide me.

Anton Tananaev9 years ago

Traccar doesn't support commands for Meitrack protocol yet.

If you want to implement it, I would recommend to look at GPS103 encoder.

There is also an option in API to send raw text commands to any device.

mtrntx9 years ago

You can prove this issue #1364

sherome9 years ago

Event 39 in protocol T1

Is this Picture name or file picture ?

Log file me

Data recived:

$$F172,013227004383703,AAA,39,18.742908,99.006346,151020164448,A,9,19,14,182,0.9,318,26082,58650,520|1|5BD0|5048,0400,0006|0005|0000|0A7B|0428,151020094443_C1E19.jpg,,1,0010*64
Anton Tananaev9 years ago

Looks like a file name.

wendergyn9 years ago

There is a list of commands for API in version 3.1?

Anton Tananaev9 years ago
Vee.K7279 years ago

Hey Anton, are you planning to add more commands to that list in the future?

Anton Tananaev9 years ago

Yes, I definitely plan to add more commands to the list.

smhhadima8 years ago

Which file can I edit to modify/add commands? i.e. where can I find your code that sends commands?

Anton Tananaev8 years ago

You should looks at protocol and protocol encoder classes.

smhhadima8 years ago

I am looking under opt/traccar/lib folder but I cannot see it

Anton Tananaev8 years ago

Why are you looking in the lib folder? You should look at the source code:

https://github.com/tananaev/traccar