adafruit / adafruit/Adafruit_nRF52_Arduino

Error 6: Operation failed when doing OTA in iOS

Open
#581 5 comments 1 reaction 0 assignees View on GitHub
Bug
Dominant language
C
Stars
699
Forks
570
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When operating OTA update in iOS using nrfConnect (the official APP), we found an issue like this:
xx means the ID

peripheral.writeValue(0x0201, for: xx, type: .withResponse)
Data written to xx
Notification received from xx value (0x): 100206
Response (Op Code = 2, Status = 6) received
Error 6: Operation failed
Writing to characteristic xx...
peripheral.writeValue(0x06, for: xx, type: .withResponse)
Notification received from xx, value (0x): 100206
Response (Op Code = 2, Status = 6) received

**Set up (mandatory)**
- **APP** : nrfConnect, official APP
- **Board** : Feather nRF52832
- **sketch**: blincky_ota example, see: https://github.com/adafruit/Adafruit_nRF52_Arduino/tree/master/libraries/Bluefruit52Lib/examples/Peripheral/blinky_ota
- **reprodce the issues**: after flushing the blinky_ota.zip, connect it in nrfConnect, and then carry on OTA UPLoad, it will fail.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Peripheral/blinky_ota example and reproduce the OTA upload on a Feather nRF52832 using the nrfConnect iOS app. Inspect the reported Op Code 2, Status 6 response sequence and determine what prevents the upload from completing; done means the documented setup completes OTA successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino, c, ios
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.