Please select Into the mobile phone version | Continue to access the computer ver.
How to get each cell voltage information from mobile SDK
674 3 2021-4-26
Uploading and Loding Picture ...(0/1)
o(^-^)o
djiuser_lK23fQ5Z7hEe
lvl.2
Flight distance : 748 ft

South Korea
Offline

Currently, I am using Mavic Pro.
I made an app based on the mobile SDK example provided by DJI and got the total voltage, current, and temperature of the drone battery through the app.
* i upload result img ( txt file capture img )
result.png

But the problem is that I want to get each cell voltage information ( not level, not overall voltage ).
so I tried to search code mobile SDK . In battery state class, some battery-related contents were listed. However, there is no information on each cell voltage, so I am curious about how to obtain it.

class-batterystate

class-batterystate



2021-4-26
Use props
Mats Bohlinsson
lvl.4
Flight distance : 1838077 ft
  • >>>
Sweden
Offline

https://developer.dji.com/api-re ... cellvoltages_inline
2021-4-27
Use props
djiuser_lK23fQ5Z7hEe
lvl.2
Flight distance : 748 ft

South Korea
Offline

Mats Bohlinsson Posted at 4-27 05:38
https://developer.dji.com/api-reference/ios-api/Components/Battery/DJIBattery.html#djibattery_getcellvoltages_inline

could you tell me more detail about how to implement that code(function)??
2021-4-27
Use props
djiuser_lK23fQ5Z7hEe
lvl.2
Flight distance : 748 ft

South Korea
Offline

djiuser_lK23fQ5Z7hEe Posted at 4-27 15:45
could you tell me more detail about how to implement that code(function)??

The link you give to me was IOS code.
But I solved it by using getCellVoltage function.

2021-5-13
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules