Is there a way to emulate the legion companion app? I found this one GitHub - mrdiablo/LegionCompanion, it seems like he got the packets.
How does the authentication work?
Seems like you'll receive a MobileClientAuthChallenge packet. Client then sends MobileServerConnect but how are the values calculated?