Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

transponder code

Featured Replies

HiDoes anybody know how to read the transponder code? The SDK says to use the units Bco16. I don't even know what that means. Here's what I have:SimConnect_AddToDataDefinition(hSimConnect, DEF_TRANSPONDER, "TRANSPONDER CODE:1", "Bco16");double transponder;double nav;double com;Then I make a request for the transponder, along with comms and navs. Comms and Navs work fine, but I can't figure out how to interpret the transponder. Using "Bco16" for units returns 0 everytime.Has anybody else read the transponder yet? What the heck is Bco16?Thanks

  • Commercial Member

>Has anybody else read the transponder yet? What the heck is>Bco16?I'm not sure whether SimConnect is case-sensitive or not, but I use "BCO16". It means "Binary Coded Octal in 16 bits". Are you checking to see if you get an exception? If you are not processing exceptions, check the SimConnect Log.The transponder code is 4 octal digits (i.e. each is 0-7, not 0-9 as in decimal or 0-F as in hexadecimal). If you read it as a 16 or 32 bit value you will get, for example:1200 transpoder = 0x1200 in BCO16, shown in decimal3456 = 0x3456.and so on.RegardsPete

Win10: 22H2 19045.2728
CPU: 9900KS at 5.5GHz
Memory: 32Gb at 3800 MHz.
GPU:  RTX 24Gb Titan
2 x 2160p projectors at 25Hz onto 200 FOV curved screen

hmmm. I'm not getting any exceptions. Any reason why BCO16 might return 0 for me? Should I be using another type to store the returned value other than "double transponder;"?Thanks again

Nevermind, I got it.Thanks again.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.