Upgrades system firmware.
Go2Status Go2System_Upgrade(Go2System system, const Go2Char* sourcePath, Go2UpgradeCallback onUpdate, Go2Handle context);
Operation status.
This function will block until the upgrade is completed.
This command can be called in a partially connected state. That is, if the SDK attempts to connect to a sensor with older firmware and fails due to a version error, the user can call this command to upgrade the firmware of the sensor.
Calling this function will result in writing operations to flash storage. Should the process be disrupted due to power loss or other factors, the sensor may enter Rescue mode.
Go2System.h