pyModeS.decoder.bds.bds40 module

pyModeS.decoder.bds.bds40.alt40fms(msg)[source]
pyModeS.decoder.bds.bds40.alt40mcp(msg)[source]
pyModeS.decoder.bds.bds40.is40(msg)[source]

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

Parameters

msg (str) – 28 hexdigits string

Returns

True or False

Return type

bool

pyModeS.decoder.bds.bds40.p40baro(msg)[source]

Barometric pressure setting

Parameters

msg (str) – 28 hexdigits string

Returns

pressure in millibar

Return type

float

pyModeS.decoder.bds.bds40.selalt40fms(msg)[source]

Selected altitude, FMS

Parameters

msg (str) – 28 hexdigits string

Returns

altitude in feet

Return type

int

pyModeS.decoder.bds.bds40.selalt40mcp(msg)[source]

Selected altitude, MCP/FCU

Parameters

msg (str) – 28 hexdigits string

Returns

altitude in feet

Return type

int