Skip to content

Not returning Transponder codes using reflection... #21

Description

@jonbeckett

Hi, I've been playing with FsConnect, and cannot get it to return transponder codes. I think I'm doing it right - just wanted to check.

When setting up the response I have this:

[SimVar(NameId = FsSimVar.TransponderCode, UnitId = FsUnit.Bco16)]
public uint TransponderCode;

And then use it like this:

uint transponder_code = Bcd.Bcd2Dec(r.TransponderCode);

It always returns 0... Any thoughts ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions