<p>This certainly seems doable. The <a href="https://terra-1-g.djicdn.com/2d4dce68897a46b19fc717f3576b7c6a/Tello%20%E7%BC%96%E7%A8%8B%E7%9B%B8%E5%85%B3/For%20Tello/Tello%20SDK%20Documentation%20EN_1.3_1122.pdf" rel="nofollow noreferrer">SDK documentation</a> is not very clear but basically it's a simple string command over UDP. So it looks like the drone creates a WiFi access point which you connect to with your phone and you have a dedicated IP address/port number to send commands to the drone.</p>

<p>There is a simple python application linked in their SDK document that shows the basics. And there is a <a href="https://github.com/dji-sdk/Tello-Python" rel="nofollow noreferrer">github repository</a> that also has a python program that shows how to get the video feed from the drone over the command API described in the SDK.</p>

<p>Given the SDK and the example projects in the github repository I think it would be a feasible project by someone with some Android development skills.</p>

CC BY-SA 4.0
2020-05-08T20:39:44.440Z
Having looked at the SDK documentation a bit more, I think this is probably a good first step for me into the world of drones (and controlling them through my own programs).
Jeff 2.0
CC BY-SA 4.0
2020-05-08T00:59:52.033Z
2020-05-08T00:59:52.033Z
Paul Kendall
<p>Programming an app for the DJI Tello seems possible with the given API. Actually, the Tello is meant for such kind of projects.</p>

<p>I don't want to repeat Paul's answer here however - I understand your question so that your end goal is to completely program a whole system, from start to finish, to control your drone, get a video feed and telemetry and so on. And without depending on DJI.</p>

<p>And while it is definitely possible, the effort you'll have to put in is quite large. Especially creating a video transmission system can be a hassle. Bear in mind, it has to be reliable, fast and - most importantly - robust: it has to recover from errors, it has to deal with bad and slow connections; you get the point. Having one side already sorted out (as in the case of the DJI Tello) is a huge plus for programming your own app because you have something to build upon.</p>

<p>But don't let me frighten you. If you feel confident in your cross-platform programming skills, you can definitely do it. Standards like <a href="https://gabrieltanner.org/blog/webrtc-video-broadcast" rel="nofollow noreferrer">WebRTC</a> might help you.</p>

CC BY-SA 4.0
2020-05-08T20:07:04.457Z
I have some experience with stuff like WebRTC. For the Tello Ryze, is it possible to load/run my own program directly on the drone? I take it that's what you mean by programming the whole system including parts like the video streaming.
Jeff 2.0
CC BY-SA 4.0
2020-05-08T23:29:21.427Z
Oh, maybe I misunderstood your question a little (that's why I mentioned WebRTC because I thought you would also want to build your own drone). 

The DJI tello doesn't use WebRTC however.But as far as I understand the SDK, your program only runs on the phone and you control it via UDP messages to 192.168.10.1:8889 and the tello will return UDP messages with whatever data you requested to your phones port 8890. The video stream is sent to your phone on port 11111. Maybe these two threads help you decode the video stream: [1](https://bit.ly/2YLGzB5) [2](https://bit.ly/2WhkoRA).
Bastian Springer
CC BY-SA 4.0
2020-05-08T08:49:38.943Z
2020-05-08T08:49:38.943Z
Bastian Springer
<p>I want to buy my first drone, I have no prior experience. I'm interesting in getting a cheap drone with a camera that can be controlled from a smartphone app. Something like the Tello Ryze would be at the higher end of my price range. I have experience programming (including smartphone apps). I noticed the Tello Ryze specifically has an SDK. Would it be possible to use this SDK from an Android app I wrote? And is it usually possible to program drones that are controllable from a smartphone yourself (I am finding it difficult to Google good information about this)?</p>

<p>To clarify, what I would like to access in my program:</p>

<ul>
<li>Video stream from the drone to my smartphone app</li>
<li>Send commands from my smartphone app to the drone to control it</li>
</ul>

<smartphone-app>
Would I be able to program a smartphone app to control a smartphone-controlled drone?
Jeff 2.0
# Would I be able to program a smartphone app to control a smartphone-controlled drone?

(Asked by: username_0 on 2020-05-07)

I want to buy my first drone, I have no prior experience. I'm interesting in getting a cheap drone with a camera that can be controlled from a smartphone app. Something like the Tello Ryze would be at the higher end of my price range. I have experience programming (including smartphone apps). I noticed the Tello Ryze specifically has an SDK. Would it be possible to use this SDK from an Android app I wrote? And is it usually possible to program drones that are controllable from a smartphone yourself (I am finding it difficult to Google good information about this)?

To clarify, what I would like to access in my program:

* Video stream from the drone to my smartphone app
* Send commands from my smartphone app to the drone to control it

**Tags:** smartphone-app

---

## 2 answers

### Answer by username_1 on 2020-05-08. Score: 3 | Accepted answer

This certainly seems doable. The [SDK documentation](https://terra-1-g.djicdn.com/2d4dce68897a46b19fc717f3576b7c6a/Tello%20%E7%BC%96%E7%A8%8B%E7%9B%B8%E5%85%B3/For%20Tello/Tello%20SDK%20Documentation%20EN_1.3_1122.pdf) is not very clear but basically it's a simple string command over UDP. So it looks like the drone creates a WiFi access point which you connect to with your phone and you have a dedicated IP address/port number to send commands to the drone.

There is a simple python application linked in their SDK document that shows the basics. And there is a [github repository](https://github.com/dji-sdk/Tello-Python) that also has a python program that shows how to get the video feed from the drone over the command API described in the SDK.

Given the SDK and the example projects in the github repository I think it would be a feasible project by someone with some Android development skills.

> **Comments:**
> **username_0**: Having looked at the SDK documentation a bit more, I think this is probably a good first step for me into the world of drones (and controlling them through my own programs).  

---

### Answer by username_2 on 2020-05-08. Score: 3

Programming an app for the DJI Tello seems possible with the given API. Actually, the Tello is meant for such kind of projects.

I don't want to repeat Paul's answer here however - I understand your question so that your end goal is to completely program a whole system, from start to finish, to control your drone, get a video feed and telemetry and so on. And without depending on DJI.

And while it is definitely possible, the effort you'll have to put in is quite large. Especially creating a video transmission system can be a hassle. Bear in mind, it has to be reliable, fast and - most importantly - robust: it has to recover from errors, it has to deal with bad and slow connections; you get the point. Having one side already sorted out (as in the case of the DJI Tello) is a huge plus for programming your own app because you have something to build upon.

But don't let me frighten you. If you feel confident in your cross-platform programming skills, you can definitely do it. Standards like [WebRTC](https://gabrieltanner.org/blog/webrtc-video-broadcast) might help you.

> **Comments:**
> **username_0**: I have some experience with stuff like WebRTC. For the Tello Ryze, is it possible to load/run my own program directly on the drone? I take it that's what you mean by programming the whole system including parts like the video streaming.  
> **username_2**: Oh, maybe I misunderstood your question a little (that's why I mentioned WebRTC because I thought you would also want to build your own drone).   The DJI tello doesn't use WebRTC however.But as far as I understand the SDK, your program only runs on the phone and you control it via UDP messages to 192.168.10.1:8889 and the tello will return UDP messages with whatever data you requested to your phones port 8890. The video stream is sent to your phone on port 11111. Maybe these two threads help you decode the video stream: [1](https://bit.ly/2YLGzB5) [2](https://bit.ly/2WhkoRA).  

---

