Menu
Forums
New posts
Search forums
Wiki
Pages
Latest activity
What's new
New posts
New media
New media comments
New profile posts
Latest activity
Media
New media
New comments
Search media
Members
Current visitors
New profile posts
Search profile posts
Log in
Register
Search
Search titles only
By:
Search titles only
By:
New posts
Search forums
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Hello Tello Pilot!
Join our DJI Tello community & remove this banner.
Sign up
Forums
DJI Tello Forum
Tello Development
Binary Command for "streamon"
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="UziLullaby" data-source="post: 34548" data-attributes="member: 13566"><p>Greetings.</p><p></p><p>I recently started developing a Tello app for Android and I wanted to use binary commands to control the drone.</p><p>Following the very helpful documentation from the Wiki and threads found in this forum, I managed to get the takeoff, land and virtual joystick commands to work using binary commands.</p><p>I tried sending the binary command for "streamon", but it didn't work.</p><p></p><p>As specified in the wiki:</p><p>[URL unfurl="true"]https://tellopilots.com/wiki/protocol/[/URL]</p><p>The start video command should be:</p><p></p><table style='width: 100%'><tr><th>ID (Hex) </th><th> Tello Function </th><th> Dir </th><th> Comments </th></tr></table> <table style='width: 100%'><tr><td>0x0025 </td><td> Request Video Start</td><td> → </td><td> </td></tr></table><p></p><p>Which in binary, should be something like:</p><p></p><p>[CODE=java]byte[] streamOnPacket = new byte[] { (byte)0xcc , (byte)0x58 , (byte)0x00 , (byte)0x7c , (byte)0x60 , (byte)0x25 , (byte)0x00 , (byte)0x00 , (byte)0x00 , (byte)0x6c , (byte)0x95 };</p><p>sendTello(streamOnPacket);[/CODE]</p><p></p><p>I got it working sending regular string commands to Tello and the video feed shows on the app, but with binary commands, it never starts streaming anything.</p><p></p><p>Anyone have any idea what could be happening or what I am missing?</p></blockquote><p></p>
[QUOTE="UziLullaby, post: 34548, member: 13566"] Greetings. I recently started developing a Tello app for Android and I wanted to use binary commands to control the drone. Following the very helpful documentation from the Wiki and threads found in this forum, I managed to get the takeoff, land and virtual joystick commands to work using binary commands. I tried sending the binary command for "streamon", but it didn't work. As specified in the wiki: [URL unfurl="true"]https://tellopilots.com/wiki/protocol/[/URL] The start video command should be: [TABLE] [TR] [TH]ID (Hex) [/TH] [TH] Tello Function [/TH] [TH] Dir [/TH] [TH] Comments [/TH] [/TR] [/TABLE] [TABLE] [TR] [TD]0x0025 [/TD] [TD] Request Video Start[/TD] [TD] → [/TD] [TD] [/TD] [/TR] [/TABLE] Which in binary, should be something like: [CODE=java]byte[] streamOnPacket = new byte[] { (byte)0xcc , (byte)0x58 , (byte)0x00 , (byte)0x7c , (byte)0x60 , (byte)0x25 , (byte)0x00 , (byte)0x00 , (byte)0x00 , (byte)0x6c , (byte)0x95 }; sendTello(streamOnPacket);[/CODE] I got it working sending regular string commands to Tello and the video feed shows on the app, but with binary commands, it never starts streaming anything. Anyone have any idea what could be happening or what I am missing? [/QUOTE]
Verification
Post reply
Forums
DJI Tello Forum
Tello Development
Binary Command for "streamon"