How to format the SD cards on an XT2
829 0 2020-5-28
Uploading and Loding Picture ...(0/1)
o(^-^)o
DJI_Lisa
lvl.4
Hong Kong
Offline

The XT2 has two memory cards for storing visual and thermal sensor photos.

Which means that in order to format one of them, first the corresponding sensor index needs to be called:


DJISDKManager.getInstance().getProduct().getCameraWithComponentIndex(int index)
index = 0 corresponds to the visual sensor
index = 2 corresponds to the thermal sensor


So if you want to format the SD card slotted in slot 1, the specific method is:

DJISDKManager.getInstance().getProduct().getCameraWithComponentIndex(0).formatSDCard(CompletionCallback)
XT2  slot 1 corresponds to the visual sensor
XT2 slot 2 corresponds to the thermal sensor


If there is no SD card in the corresponding card slot during formatting, an error will be reported: undefined Error

XT2 Sensor Type XT2 SD Card Slot XT2 Component Index
Visual Sensor 1 0
Thermal Sensor 2 1

-Lisa, DJI Developer Support

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

Credit Rules