Hello Tello Pilot!
Join our DJI Tello community & remove this banner.
Sign up

Binary Command for "streamon"

UziLullaby

New member
Joined
May 26, 2020
Messages
1
Reaction score
0
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:
The start video command should be:

ID (Hex) Tello Function Dir Comments
0x0025 Request Video Start

Which in binary, should be something like:

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);

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?
 

New Threads

Members online

Forum statistics

Threads
4,771
Messages
34,799
Members
12,380
Latest member
amslon