Rogerox Posted September 11, 2010 Report Share Posted September 11, 2010 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 Quote Link to comment Share on other sites More sharing options...
Rogerox Posted September 12, 2010 Author Report Share Posted September 12, 2010 Solved. Just using the same fields used by kAcars and it´s now working fine. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.