How is formatted batterylevel response?


#1

Hi,

I know how a video packet is built but I can’t get it about how the battery level byte array is built !

Any help pls !

PS : I use protocol but I don’t use the SDK as I’m working on a JAVA2SE application !

Joseph Gremaud


#2

You can detect the packet by checking whether
byte 7 = 0
byte 8 = 5
byte 9 = 1

If that is the case the battery load percentage can be retrieved from byte 11

You can find an implementation for that here

cheers
Stefan