View Source Tello.CyberTello.Gateway (Tello v0.1.0)

Network Gateway for Tello.CyberTello.

Opens up the UDP server to receive commands from Tello.Client and reply message too.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Start the network gateway, using UDP port.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

@spec reply(
  String.t(),
  {:inet.ip_address(), :inet.port_number()}
) :: :ok | {:error, any()}

Reply message to Tello.Client

Start the network gateway, using UDP port.

The port default to 0, which the underlying OS assigns a free UDP port.