-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Secure Pairing must run on a reliable messaging protocol #2243
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
Sounds great! It seems like we should be able to use (mostly) the same machinery for sending this messages reliably that we use when sending operational messages. (ACKs, retransmissions, etc) |
SW BRB: @pan-apple @RyanTheOptimist what is the current POR here? Is this still needed post CRMP? |
This is not an issue for the following use-cases
This can be an issue for PASE pairing over SoftAP and ethernet. As it stands today, |
Assigning to @pan-apple |
Problem
The pairing protocol is currently using unreliable messaging (e.g. BLE). The packets could be lost during transmission. Need a mechanism to detect and retransmit dropped packets.
Proposed Solution
The reliable messaging will need acknowledgement (from peer) of transmitted packets, timeouts, and retransmissions (of dropped packets).
This could be handled inside the secure pairing protocol, as it already performs a handshake between the peers. The handshake involves crypto operations on the low powered devices, that adds delays in the handshake.
The acknowledgement of the received packets can be faster than the pairing handshake (i.e. ack as soon as the message is received). This will help with shorter timeouts, and faster retries for the dropped packets.
So, it'll be better if a separate layer could guarantee the reliable messaging.
The text was updated successfully, but these errors were encountered: