APRS clients to TRACCAR server

Huuhtanen7 years ago

Hi

I have private APRS server and i like to forward APRS clients to TRACCAR server. Is there somekind script for that or whats the easy way to do it?

Adilson Perinei7 years ago

simple example of PHP script to send data to Traccar server on port 5055 using OSMAND protocol but you can adapt and use a different programming language

<?php
    $id = $_GET["d"];
    $lat = $_GET["f_a"];
    $lon = $_GET["f_o"];
    $speed = $_GET["f_s"];
    $hdg = $_GET["f_h"];
    $t = $_GET["t"];
    $b = $_GET["b"]; 

$output = shell_exec('curl --data "id='.$id.'&lat='.$lat.'&lon='.$lon.'&heading='.$hdg.'&speed='.$speed.'" http://x.x.x.x:5055');
?>
Anton Tananaev7 years ago

If above answer doesn't help you should provide more details on what APRS client is and what exactly you need help with.

Huuhtanen7 years ago

Thank you Anton and Adilson for help =)

imarinkovic7 years ago

Huuhtanen: If needed, I have the exact "reverse" program, sending Traccar data to APRS.fi

Huuhtanen7 years ago

Hi imarinkovic

Dang. Any way to "reverse" your "reverse" program :D

David Gilman5 years ago

Does anyone have an easy way to get the APRS data and Traccar data together. I am not very programming savvy

Cleber Magno4 years ago

Hello, friend imarinkovic, could you send me the form or program for sending data from traccar to aprs.fi, very grateful my email [removed]