I have an Apple TV 4K. I want to wake the Apple TV via network. It is connected to Ethernet cable.
I want to send a command via an iOS app connected to the same network able to see the Apple TV.
I have searched quite a bit and I have come across the _server.proxy.udp concept. I’ve read about the wake on lan magic packets approach and I have seen tools that can send those magic packets to wake the Apple TV.
However I am not sure how to send those signals natively using swift. I am not sure what the exact signal should be.
Does anyone know the exact signal to send over the network to wake the Apple TV?