Register for a DJI Developer account here.
During the registration process, email information and a credit card or phone number will need to be supplied to verify registration. Any credit card information given will only be used for verification and will not be charged.
This guide assumes Visual Studio 2017 with Windows 10 SDK (Version 1803 or higher).
Every application needs a unique App Key to initialize the SDK.
To create an App Key for an application:
Go to the DJI developer User Center
The supported DJI products of DJI Windows SDK include Mavic Air and Phantom 4 Pro V2.
For Mavic Air, only WiFi connection is supported. Therefore, the PC or the laptop should have a WiFi adapter.
For Phantom 4 Pro V2, USB connection is supported. Setup the connection with the following steps:
CAUTION: It is necessary to power off the remote controller first and connect it to PC after. The remote controller will determine whether to enable PC mode during booting. If the remote controller disconnects from the PC, it has to be powered off before re-connecting to the PC.
Download or clone the UWP Sample Github Project from: https://github.com/dji-sdk/Windows-SDK/tree/master/Sample Code.
Open DJIWindowsSDKSample.sln. Because the dependencies and the video parser has been configured in this sample, just compile and run it using x86 as the architecture.
To start browsing all the features in the sample, you have to input the APP key. Following the previous section and use "com.wsdk.sample" as the package name to generate an APP key.
After SDK registers successfully, you should see the full list of features.