What min fields to send with updateFlightData

Hi,

I am programming my own ACARS Client and a new ACARS module on PHP too.

The FilePIREP works fine to me, but I am having trouble to find out what are the minimum fields to send when calling ACARSData::UpdateFlightData($pilotid, $fields);

When I begin logging the flight, still on the appron, for example, I am passing the following fields to an array:

$macars = array (

‘flightnum’=>$datac[2],

‘code’=>$datac[1],

‘aircraft’=>$schd->registration,

‘lat’=>$datac[3],

‘lng’=>$datac[4],

‘heading’=>$datac[5],

‘alt’=>$datac[6],

‘gs’=>$datac[7],

‘depicao’=>$schd->depicao,

‘depapt’=>$schd->depname,

‘arricao’=>$schd->arricao,

‘arrapt’=>$schd->arrname,

‘route’=>‘’,

‘distremain’=>$dist_remain,

‘lastupdate’=>$datac[10],

‘phasedetail’=>‘No Solo: Embarque’,

‘online’=>‘’,

‘client’=>‘RogeroxAcars’

);

And after that I call the ACARSData::updateFlightData($datac[0], $macars);

The problem is that when I try to pass some other data again, it´s not updating on LIVE MAP.

Can you please help me with it? Thank you!

Regards,

Roger

Solved. Just using the same fields used by kAcars and it´s now working fine.

1 Like