M3E : DjiWaypointV3_Init() returns error code 227
To anyone who can help!
I have created a route in the DJI app on my DJI controller and exported the route KMZ file into my Ubuntu system. I intend to upload this route KMZ file using waypoint v3 on my DJI M3 Enterprise using DjiWaypointV3_UploadKmzFile.
However, I am getting a non-success error code while initializing waypoint v3 using the below code.
T_DjiReturnCode returnCode = DjiWaypointV3_Init();
return code is 227. In the DJI error codes, this value corresponds to DJI_ERROR_SYSTEM_MODULE_RAW_CODE_INVALID_PARAMETER.
I have restarted my drone many times, but still encounter the same error.
Proceeding with calling DjiWaypointV3_UploadKmzFile() will just cause visual studio code to return an exception "segmentation error"
Please help.