pyModeS.decoder.bds.bds20 module

pyModeS.decoder.bds.bds20.cs20(msg)[source]

Aircraft callsign

Parameters

msg (str) – 28 hexdigits string

Returns

callsign, max. 8 chars

Return type

string

pyModeS.decoder.bds.bds20.is20(msg)[source]

Check if a message is likely to be BDS code 2,0

Parameters

msg (str) – 28 hexdigits string

Returns

True or False

Return type

bool