ATC on Connect API

I’ve seen that with the connectapi you can send send ATC commands, but I also see 2 commands:

1166,0,api/stream/enable_atc_messages
1048684,String,upstream/atc/message_received

I think that with this 2 I can “see” what the atc has cleared me but I can’t really read anything from my program.

Any tips/tutorials on how it works (If it’s already implemented)

Thank you so much in advance

Andrea_Bidoli

1 Like

Hey! I’ve also noticed the last state appearing in the manifest after it caused some Connect API libraries to break (since it’s expecting the data type to be an integer as opposed to “String”) They’ve not been documented as far as I know.

From trying to use this state, it don’t seem to do anything at the moment. Nothing gets sent back to you when you get from this state.

However, it does beg the interesting question whether we will eventually be able to do more with ATC messages…

2 Likes

And that is the question many of us are curious to know!

1 Like

Because I’ve tried to enable the first one, and calling the second as a string my program return a Timeout error.
Also I’ve read that with connect you can do a program to set the autopilot to command given by atc. You think that’s duable?

I can imagine it’s doable if you can figure out how to get ATC messages, parse them (unless there’s a state that tells you the last assigned heading and altitude that I don’t know about) and set the relevant AP states. The API doesn’t have working states to get the ATC messages (for now anyway), so you’d have to do some janky stuff like taking in a stream of the device’s screen and reading text from the ATC log. It’s not ideal, that’s for sure.

1 Like

To supplement what @Saf has said — with the Connect API right now you can definitely set autopilot targets and states like we do in IF Remote.

The issue as he says is you can’t stream the ATC messages themselves through the API right now to our knowledge.

1 Like

Yeah, I know I can set target’s because I’ve created a vnav for climbing that also change speed on climb with circa 1knt/s of acceleration, it also can do stepclimb.
So for autopilot commands I’m good thanks. I thougth It was somenthing already test the ATC message stream.

2 Likes

Is this an app you are building and will release to other users or just a personal tool?

As now is personal, I’ve never do an app, also Is coded in Python… so, not the best programming languages to use for mobile.
But If someone is interest I can share the code

1 Like

Also Is very messy code…, I’ve never learn to do clean coding

Thanks. I was just curious given I work on IF Remote which also does auto step climb.

My PMs are open if you need help from me :)