flybywiresim / aircraft

The A32NX & A380X Project are community driven open source projects to create free Airbus aircraft in Microsoft Flight Simulator that are as close to reality as possible.
https://flybywiresim.com
GNU General Public License v3.0
5.05k stars 1.09k forks source link

SimConnect COM1_RADIO_SWAP does not swap standby to active #9209

Closed whakamolenz closed 4 hours ago

whakamolenz commented 5 hours ago

Aircraft Version

Development

Build info

{
    "built": "2024-10-31T15:54:41+00:00",
    "ref": "refs/tags/v0.12.0",
    "sha": "2fe89113291f2478347dde0dc3228b55dc924f74",
    "actor": "FoxtrotSierra6829",
    "event_name": "manual",
    "pretty_release_name": "stable/v0.12.0",
    "version": "a380x-v0.12.0-rel.2fe8911"
}

Describe the bug

When using simconnect events to trigger behaviour in the aircraft the event COM1_RADIO_SWAP does not correctly trigger the standby frequency for com1 being populated to the active frequency.

This prevents auto radio tuning from BeyondATC.

Expected behavior

Triggering the event COM1_RADIO_SWAP should swap the frequency from the standby com1 radio into the active com1 radio. The COM1_STBY_UPDATE event does correctly set the standby value but the COM1_RADIO_SWAP will not move it to active.

This works correctly in all other MSFS2020 aircraft.

Steps to reproduce

  1. Apply power to A380 to start up radios.
  2. SimConnect_TransmitClientEvent(hSimConnect, 1, COM1_STBY_UPDATE, 125.0, 0, SIMCONNECT_EVENT_FLAG_GROUPID_IS_PRIORITY))
  3. SimConnect_TransmitClientEvent(hSimConnect, 1, COM1_STBY_SWAP, 0, 0, SIMCONNECT_EVENT_FLAG_GROUPID_IS_PRIORITY)

References (optional)

https://docs.flightsimulator.com/msfs2024/html/6_Programming_APIs/Key_Events/Aircraft_Radio_Navigation_Events.htm#COM1_RADIO_SWAP even information

Additional info (optional)

No response

Discord Username (optional)

No response

tracernz commented 4 hours ago

Duplicate https://github.com/flybywiresim/aircraft/issues/8951