You can refer to the following code implementation, which can solve the problem of two versions being the same:
If you want to implement OTA upgrade, please create the firmware key for the corresponding channel on the platform and upload the corresponding firmware, then push the upgrade. On the SDK side, determine the corresponding channel in the upgrade callback interface and receive the firmware.