Skip to content

Conversation

hsorbo
Copy link
Member

@hsorbo hsorbo commented Sep 3, 2025

When pairing during IOS activation screen the flow is a bit different.

There is no awaitingUserConsent events emitted and this makes the sequence numbers drift breaking our assumptions that they are balanced (response seqno = request seqno).

Secondly pairingData is not a request/response but an event and should be treated as an event. awaitingUserConsent is another event that may or may not appear after host initiated a pairingData event and before device signal a pairingData or pairingRejectedWithError event.

Instead of using the sequence number.
Our request_pairing_data() was previously assuming request/response
semantics, which is incorrect.
@oleavr oleavr marked this pull request as ready for review September 11, 2025 08:19
@oleavr oleavr merged commit bc8c7cd into main Sep 11, 2025
51 of 53 checks passed
@oleavr oleavr deleted the hsorbo/pairing branch September 11, 2025 08:19
@oleavr
Copy link
Member

oleavr commented Sep 11, 2025

Thanks! 🙌

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

Successfully merging this pull request may close these issues.

2 participants