Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The "Start Command" is sent twice to OTA Control on OTA start. #8

Open
mundodisco8 opened this issue Apr 7, 2022 · 2 comments
Open

Comments

@mundodisco8
Copy link

I'm using the latest version of the app (v2.4.3) on iOS 15.4 on an iPhone XS.

We are trying to implement OTA Updates and have put together some PoC FW. All works perfectly, but we have noticed that the iOS app sends two 0x00 commands to the OTA Control characteristic. Our proof of concept is based on the uploading multiple images to multiple slots example. The target is a xGM220P (BRD4311A) dev kit. If we use the "speed" mode, as we have some actions that take actual time (they need to access the flash to do some checks) this is enough to trigger a timeout. This doesn't happen if we use reliable mode, as the timeout is probably more generous. While I understand that I could just use the reliable mode, the source of the issue is this command being sent twice. This doesn't happen on Android and there's nothing in the documentation that says that the command needs to be sent twice.

Steps to reproduce:

  1. Connect to the target
  2. Select the storage slot
  3. Click on the 3 dot menu, OTA DFU
  4. Select Partial Method. Both Reliability and Speed modes have the issue. Choose a file, click on OTA UPDATE to start the update.

A write op is sent from the phone, to the OTA Control Characteristic, with data 0x00.

E16FFB8B-D8FD-4356-BB65-C58DAF079D4C

@hdrsl
Copy link
Contributor

hdrsl commented Jun 17, 2022

Hi, So it should be fixed in release 2.5.0.

@Shanti-SR
Copy link

Shanti-SR commented Mar 1, 2023

I have the same problem as described by @mundodisco8 . I have tried the latest version: 2.6.1. I have tried with iOS 15 and iOS 16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants