Jump to content
Sign in to follow this  
Rocky

MSFS - COM radio frequencies

Recommended Posts

I am building an external app that reads the COM1/2 standby and active frequencies using SimConnect. It works fine, I get the value in BCD and I know how to decode it. The problem I have is with the new 8.33 kHz variation introduced in MSFS, which causes the last digit to be unknown. The BCD result is coded on 16 bits, for 4 decimal digits, and 5 are needed.

Example:
When a value of 10128 is returned, that is un binary: 0010 0111 1001 0000, it codes the following decimal digits: 2 - 7 - 9 - 0, so you can easily reconstruct the frequency: 127.90 (the trailing 1 is always there). The problem is that if you increment it, it changes to 127.905 and the result returned by SimConnect is still 10128.

The same BCD result for 2 different frequencies makes it impossible to use...
Any comment/help is greatly welcome.

Eric

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...