acarsd © 2004-2007 by KjM. Parts © by RH
visitors since 07/2003 - Sitemap
INLINE Internet Online Dienste GmbH  WebSpace by INLINE
 
Sitewide Search

acarsd API overview

The flow is the defined between application A and application B.
The following references are used:
S - means server, C - means client, G - means GUI

Flagname Val Flow Function add. Info
AS_WELCOME 1 SC Send as the first flag after an login Hostname and Port, TAB separated
AS_BYE 2 CS Send when client logged out nothing
AS_CBYE 3 SC Send when server closes connected nothing
AS_CONTACT 4 SC Send the contact statistic TAB sep. string: good uplinks dupes parity block crc allflights dailyflights
AS_VOLUME 5 SC Send the actual volume string, no special format
AS_PUBPOST 6 CS Send public serverentry from the client to the server Stringformat: SRVNAME<tab>SRVALIAS<tab>LOCATION<tab>INFO<tab>PORT
AS_PARITY 7 SC Message with parity errors follow tab separated strings
AS_FETCH 9 SC Info for the client. Please fetch the icon from the imageserver TYPE<tab> REG<tab> FLIGHTNUM<tab> FLIGHT(if not found than FLIGHTNUM)
AS_PUBGET 10 CS Please send your public serverlist unused string
AS_DBINFO 11 SC Send the database infos FLIGHTNUMBERS<tab> AIRLINES<tab> TYPES<tab> AIRPORTS
AS_SNDWINF 12 CS Please send us your welcome image and text if available unused string
AS_BROKEN 13 SC Not correct decoded ACARS transmission string contains the trash
AS_REG 14 CS Search for a registration on the server string (Registration)
AS_RECH 15 SC Send result of a search in the database TIMESTAMP (UNIX TIME)<tab> flightnum<tab> flight (If searchtype was Registrationsearch than the output is TIMESTAMP<tab> REGISTRATION<tab> AIRCRAFT TYPE
AS_RECHCNT 16 SC Searchhits of the last search HITS<tab> SEARCHSTRING
AS_FLIGHT 17 CS Search for a flightnumber on the server string (Flightnumber)
AS_HIT2 18 SC Normal ACARS messages follow tab separated strings
AS_TXTREP 19 CS Download request of a textreport (logfile) string, filename of the reportfile
AS_HSTATS 20 SC Sends the counter of good decoded messages per hour for the last 12 hours string = 12 values, space separated
AS_REPDIS 21 SC No reports support on server unused string
AS_REPSIZE 22 SC Size of the following report filesize
AS_REPNAME 23 SC Name of the following report filename
AS_RECHCNTC 24 SC Result of a search (compressed data) COMPRESSED SIZE<tab> ORIGINAL SIZE<tab> SEARCHSTRING
AS_CRCON 25 SC Server checks the CRC/FCB of transmissions unused string
AS_CRCOFF 26 SC Server don't check the CRC/FCB of transmissions unused string
AS_LASTCON 27 SC Information about the last contacts numvalue=how many transmissions will follow
AS_AFLIGHT 30 CS Client will add the following flightdata to the server database FLIGHTNUMBER<tab> FROM IATA or ICAO<->TO IATA or ICAO<->VIA IATA or ICAO
AS_AAIRLINE 31 CS Client will add the following airline to the server database IATA or ICAO INDEX<tab> NAME OF AIRLINE
AS_ATYPE 32 CS Client will add the following type to the server database REGISTRATION<tab> TYPE
AS_AAIRPORT 33 CS Client will add the following airport to the server database IATA or ICAO CODE<tab> Airport Name
AS_AMODE 34 CS Client will add the following mode to the server database MODE<tab> DESCRIPTION
AS_ADDED 35 SC Last update request was successful added to the database unused string
AS_NOTADDED 36 SC Last update request was NOT added to the database string, description of error reason
AS_TUPDATE 37 GS Reload the translation table string not used
AS_AFTYPE 38 CS Client will add the following type to the server database String = Style of the new full aircraft database
AS_XML 40 SC ACARS transmission in XML format XML string
AS_WELXML 41 SC Server data in XML format XML string
AS_OVRPASS 42 CS Send overwrite password to enable db overwrites password
AS_WELSTR 43 SC Welcome textfile 'acarsd.txt' for clients informations (Max filesize = size of BINBUFFER)
AS_MAILRET 44 GS Gui to Server. Send mail to recipient name<tab> addr<tab> subj<tab> text
AS_ACCMAIL 45 SC Server accepts mails from clients unused string
AS_STOPMAIL 46 SC Server no longer accepts mails unused string
AS_MAILIN 47 CS Mail from client to the serveradmin name<tab> addr<tab> subj<tab> text
AS_MAILOK 48 SC Incoming mail accepted unused string
AS_MAILREJ 49 SC Incoming mail rejected unused string
AS_CCLIENT 50 CS Send a message to chat string (message)
AS_CMESS 51 SC Chatmessage from server -> client TIMESTAMP ASCIDATA<tab> MESSAGE
AS_CON 52 CS Client has started the chat NICKNAME
AS_COFF 53 CS Client has closed the chat window NICKNAME
AS_CINFO 54 SC Inform other clients about login and/or logout NICKNAME<tab> STRING (is now in chatmode, for example)
AS_CNOOP 55 CS Client still in chat unused string
AS_CUSER 56 SC Users in chat Username, first paket has numvalue = 1 to clean the username cache within the client
AS_CNCHNG 57 CS User has changed his nickname new nickname
AS_SREJ 58 SC Search rejected - reason=no compress support unused string
AS_SUBSTATE 59 CS Get subscription state string = EMAIL
AS_SUBSCR 60 CS Subscribe request for daily mailings EMAIL
AS_UNSUBSCR 61 CS Unsubscribe request, remove from daily mailings EMAIL and the INTERNAL CODE comes in the numvalue field of the structure!
AS_ACTIVATE 62 CS Activate or re-activate the daily mailings EMAIL and the INTERNAL CODE comes in the numvalue field of the structure
AS_PAUSED 63 CS Pause the daily mailings EMAIL and the INTERNAL CODE comes in the numvalue field of the structure
AS_REPINFO 64 SC Informations about the last mailing request string, no special format
AS_NOSUBSC 65 SC No support for daily mailings on this system unused string
AS_SETTYPE 66 CS Set the type of the daily logfile NUMVALUE = 1 -> ANAD Style, NUMVALUE = 0 -> acarsd Style
AS_GETTT 67 CS Request translation table from server unused string
AS_NOTT 68 SC No translation table defined for server unused string
AS_TTCNTC 69 SC Result of the translation table request compressed data
AS_ANADREP 70 CS Download a textreport in ANAD style TIMESTAMP<tab> SortbyFlightnum<tab> Extend airports
AS_AREPST 71 SC Report creation started unused string
AS_AREPBUSY 72 SC Report creation process is busy, try later unused string
AS_AREPFAIL 73 SC Unable to compress ANAD style report unused string
AS_AREPCNTC 74 SC Result of the ANAD style report request unused string
AS_NOPAGER 75 SC No pager available unused string
AS_PAGEBLOCK 76 SC Pager is blocked, try later unused string
AS_PAGERADD 77 CS Add the following data to the pager string = email<tab> reg<tab> flight<tab> dest
AS_PAGEROK 78 SC Pager data successfuly added unused string
AS_PAGERERR 79 SC Unable to add pagerdata unused string
AS_NEEDPWD 80 SC Client need a password for full message access unused string
AS_ENABLE 81 CS Password for full message access PASSWORD (the password is send as MD5 checksum over the plain password
AS_ENOK 82 SC Password match, client has full access unused string
AS_ENERR 83 SC Password not match, no message content will be visible for this client unused string
AS_IDENTIFY 85 SC Request identification of remote software unused string
AS_IDENTOK 86 SC Identification known name of identified client software
AS_IDENTUK 87 SC Identification unknown. set client software to anonymous unused string
AS_PAGERDEL 88 CS Delete entry from the pagerlist string = email<tab> reg<tab> flight<tab> dest
AS_ADMINMSG 90 SC Message from admin to all connected clients free string
AS_FREQ 91 SC Frequency on which the server is listen to free string
AS_IMGFLW 92 SC Binary Image will follow free string
AS_PAGEREMP 93 SC Pagerlist is currently empty for this email unused string
AS_UPLINKS 95 CS Send uplink messages or not 1 = enable uplinks, 0 = disable uplinks
AS_CONTENT 98 SC Message content for not enabled clients (to make map entries) REGISTRATION<tab> FLIGHTNUM<tab> OPERATOR<tab> FLIGHT<tab> MESSAGE<tab> TYPE
AS_ROUTE 99 SC Route information about the last contacted flight FROM IATA-TO IATA<tab> FLIGHTNUM<tab> OPERATOR<tab> TYPE<tab> FLIGHT
AS_BUSY 100 SC Server is busy. All connections slots are used string, no special format
AS_CLIENT 101 CS Client sends his own version informations MAJOR MINOR BUILD (separated with Space)
AS_SHUTDWN 102 SC Server is in shutdown mode. Client should close the connection string, no special format
AS_ACARSD 103 SC Full enabled acarsd style server string = name, API version
AS_RECHERR 104 SC Error from the last search string, no special format
AS_NOREP 105 SC Error opening or reading report from disc string, no special format
AS_NOUPD 106 SC The server allows no updates to the databases unused string
AS_BADMSG 107 CS The client switches the display of bad messages 1 = enable bad messages, 0 = disable bad messages
AS_ABERR 108 SC Error on one of the daily mailing functions string, no special format
AS_IMPADD 110 CS Please add the following reg to the important contacts reg<tab> mail
AS_IMPDEL 111 CS Please delete the following reg from my important contacts reg<tab> mail
AS_IMPADDR 112 SC Resultcode for the add request 1=ok, 0=not ok
AS_IMPDELR 113 SC Resultcode for the add request 1=ok, 0=not ok
AS_MAILUNK 114 SC Emailaddress not known on this server free text
AS_NOIMP 115 SC No support for important contacts on this server free text
AS_GETLIST 116 CS Please send me my important list as mail mail
AS_LISTSND 117 SC List was send unused string
AS_LICENSE 118 SC Informations about license
AS_GETDAILY 130 CS Get list of daily new contacts unused string
AS_NODAILY 131 SC No daily new contacts list on this server unused string
AS_DAILY 132 SC List of new daily contacts numvalue=1 = first paket
AS_FLEETLST 135 CS Request for the collected fleetlist of operator IATA or ICAO string for the requested operator. * = all airlines
AS_FLEETNO 136 SC There are no entries for the requested operator IATA or ICAO code of the requested operator
AS_FLEETDMP 137 SC List of collected aircrafts. First paket has NUMVALUE=1 Values TAB separated REG <TAB> OP <TAB> FN <TAB> Timestamp of last contact (UNIX Timestamp)
AS_HEART 148 CS Client send a heartbeat request to the server unused string
AS_HEARTOK 149 SC Answer from a heartbeat request unused string
AS_USECOMP 151 CS Client can handle compressed search results if a client send XML as string than the XML transmissions are AS_CXML and they are compressed!
AS_ALIVE2 153 SC Informations about the server uptime, the current time and clients UPTIME (UNIX TIMESTAMP)<tab> x clients connected<tab> UNIX TIMESTAMP
AS_PROXYWT 160 SC Server wait for proxy ok - connection to client is closed unused string
AS_USEPROXY 162 SC Please connect to proxy string = name of proxy (FQHN)<TAB> proxyid
AS_TIMESW 169 SG Time switched
AS_GCUSER 170 SG Users in chat Username, first paket has numvalue = 1 to clean the username cache within the client
AS_GCMESS 171 GS Chatmessage from server -> client TIMESTAMP ASCIDATA<tab> MESSAGE
AS_GCON 172 GS Client has started the chat NICKNAME
AS_GCOFF 173 GS Client has closed the chat window NICKNAME
AS_BINARY 200 SC Binary data follow STRING (binary data, max 4096 bytes), LENGTH = length of binary buffer
AS_COMPR 201 SC Compressed binary data follow STRING (binary data, max 4096 bytes), LENGTH = length of binary buffer
AS_TRANST 202 SC Compressed translation table STRING (binary data, max 4096 bytes), LENGTH = length of binary buffer
AS_SIMAGE 203 SC Welcome Picture of the server gif image (binary)
AS_CXML 204 SC ACARS transmission in XML format !COMPRESSED! binary data. The length field of the server_data structure contains the compressed and the uncompressed size of the data. To get the uncompressed size, use s = HIWORD(length) To get the compressed size, use s = LOWORD(length)
AS_AREPSND 205 SC Compressed ANAD style report binary data


 
 

Received donations