You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "guy-m (via GitHub)" <gi...@apache.org> on 2026/03/16 15:20:02 UTC
[PR] host/sm: Persist keys before firing pairing complete callback [mynewt-nimble]
guy-m opened a new pull request, #2187:
URL: https://github.com/apache/mynewt-nimble/pull/2187
Applications might expect security keys (LTK, IRK, etc.) to be available in the store when the ble_gap_pairing_complete_event() and ble_gap_enc_event() are received. Previously, ble_sm_persist_keys() was called after those events causing store reads to fail with BLE_HS_ENOENT on the first pairing.
Move ble_sm_persist_keys() before the pairing complete callback so applications can immediately read the persisted keys.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] host/sm: Persist keys before firing pairing complete callback [mynewt-nimble]
Posted by "sjanc (via GitHub)" <gi...@apache.org>.
sjanc commented on PR #2187:
URL: https://github.com/apache/mynewt-nimble/pull/2187#issuecomment-4073522424
#AutoPTS run mynewt GAP/SEC
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] host/sm: Persist keys before firing pairing complete callback [mynewt-nimble]
Posted by "codecoup-tester (via GitHub)" <gi...@apache.org>.
codecoup-tester commented on PR #2187:
URL: https://github.com/apache/mynewt-nimble/pull/2187#issuecomment-4073531018
Scheduled PR https://github.com/apache/mynewt-nimble/pull/2187#issuecomment-4073522424, board: nrf52, estimated start time: 10:29:42, test case count: 52, estimated duration: 0:53:17<details><summary>Test cases to be run</summary>GAP/SEC/SEM/BV-21-C<br>GAP/SEC/SEM/BV-37-C<br>GAP/SEC/SEM/BV-38-C<br>GAP/SEC/SEM/BV-22-C<br>GAP/SEC/SEM/BV-39-C<br>GAP/SEC/SEM/BV-40-C<br>GAP/SEC/SEM/BV-23-C<br>GAP/SEC/SEM/BV-24-C<br>GAP/SEC/SEM/BV-56-C<br>GAP/SEC/SEM/BV-57-C<br>GAP/SEC/SEM/BV-58-C<br>GAP/SEC/SEM/BV-59-C<br>GAP/SEC/SEM/BV-60-C<br>GAP/SEC/SEM/BV-61-C<br>GAP/SEC/SEM/BV-26-C<br>GAP/SEC/SEM/BV-41-C<br>GAP/SEC/SEM/BV-42-C<br>GAP/SEC/SEM/BV-27-C<br>GAP/SEC/SEM/BV-43-C<br>GAP/SEC/SEM/BV-44-C<br>GAP/SEC/SEM/BV-28-C<br>GAP/SEC/SEM/BV-29-C<br>GAP/SEC/SEM/BV-62-C<br>GAP/SEC/SEM/BV-63-C<br>GAP/SEC/SEM/BV-64-C<br>GAP/SEC/SEM/BV-65-C<br>GAP/SEC/SEM/BV-66-C<br>GAP/SEC/SEM/BV-67-C<br>GAP/SEC/SEM/BI-09-C<br>GAP/SEC/SEM/BI-10-C<br>GAP/SEC/SEM/BI-13-C<br>GAP/SEC/SEM/BV-45-C<br>GAP/SEC/SEM/BI-20-C<br>GAP/SE
C/SEM/BI-21-C<br>GAP/SEC/SEM/BI-22-C<br>GAP/SEC/SEM/BI-23-C<br>GAP/SEC/AUT/BV-11-C<br>GAP/SEC/AUT/BV-12-C<br>GAP/SEC/AUT/BV-13-C<br>GAP/SEC/AUT/BV-14-C<br>GAP/SEC/AUT/BV-17-C<br>GAP/SEC/AUT/BV-18-C<br>GAP/SEC/AUT/BV-19-C<br>GAP/SEC/AUT/BV-20-C<br>GAP/SEC/AUT/BV-21-C<br>GAP/SEC/AUT/BV-22-C<br>GAP/SEC/AUT/BV-23-C<br>GAP/SEC/AUT/BV-24-C<br>GAP/SEC/AUT/BV-25-C<br>GAP/SEC/AUT/BV-26-C<br>GAP/SEC/AUT/BV-27-C<br>GAP/SEC/AUT/BV-28-C</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] host/sm: Persist keys before firing pairing complete callback [mynewt-nimble]
Posted by "codecoup-tester (via GitHub)" <gi...@apache.org>.
codecoup-tester commented on PR #2187:
URL: https://github.com/apache/mynewt-nimble/pull/2187#issuecomment-4072988465
Scheduled PR https://github.com/apache/mynewt-nimble/pull/2187#issuecomment-4072986485, board: nrf52, estimated start time: 08:44:24, test case count: 65, estimated duration: 0:34:21<details><summary>Test cases to be run</summary>SM/CEN/PROT/BV-01-C<br>SM/CEN/JW/BV-01-C<br>SM/CEN/JW/BV-05-C<br>SM/CEN/JW/BI-04-C<br>SM/CEN/JW/BI-01-C<br>SM/CEN/PKE/BV-01-C<br>SM/CEN/PKE/BV-04-C<br>SM/CEN/PKE/BI-01-C<br>SM/CEN/PKE/BI-02-C<br>SM/CEN/OOB/BV-01-C<br>SM/CEN/OOB/BV-03-C<br>SM/CEN/OOB/BV-09-C<br>SM/CEN/OOB/BI-01-C<br>SM/CEN/EKS/BV-01-C<br>SM/CEN/EKS/BI-01-C<br>SM/CEN/KDU/BV-05-C<br>SM/CEN/KDU/BV-06-C<br>SM/CEN/KDU/BV-10-C<br>SM/CEN/KDU/BI-04-C<br>SM/CEN/PIS/BV-02-C<br>SM/CEN/PIS/BV-03-C<br>SM/CEN/SCJW/BV-01-C<br>SM/CEN/SCJW/BV-04-C<br>SM/CEN/SCJW/BI-01-C<br>SM/CEN/SCPK/BV-01-C<br>SM/CEN/SCPK/BV-04-C<br>SM/CEN/SCPK/BI-01-C<br>SM/CEN/SCPK/BI-02-C<br>SM/CEN/SCOB/BV-01-C<br>SM/CEN/SCOB/BV-04-C<br>SM/CEN/SCOB/BI-01-C<br>SM/CEN/SCOB/BI-04-C<br>SM/PER/PROT/BV-02-C<br>SM/PER/JW/BV-02-C<br>SM/PER/JW
/BI-03-C<br>SM/PER/JW/BI-02-C<br>SM/PER/PKE/BV-02-C<br>SM/PER/PKE/BV-05-C<br>SM/PER/PKE/BI-03-C<br>SM/PER/OOB/BV-02-C<br>SM/PER/OOB/BV-04-C<br>SM/PER/OOB/BV-10-C<br>SM/PER/OOB/BI-02-C<br>SM/PER/EKS/BV-02-C<br>SM/PER/EKS/BI-02-C<br>SM/PER/KDU/BV-01-C<br>SM/PER/KDU/BV-02-C<br>SM/PER/KDU/BV-07-C<br>SM/PER/KDU/BV-08-C<br>SM/PER/KDU/BI-02-C<br>SM/PER/KDU/BI-03-C<br>SM/PER/KDU/BI-04-C<br>SM/PER/PIS/BV-01-C<br>SM/PER/PIS/BV-02-C<br>SM/PER/SCJW/BV-02-C<br>SM/PER/SCJW/BV-03-C<br>SM/PER/SCJW/BI-02-C<br>SM/PER/SCPK/BV-02-C<br>SM/PER/SCPK/BV-03-C<br>SM/PER/SCPK/BI-03-C<br>SM/PER/SCPK/BI-04-C<br>SM/PER/SCOB/BV-02-C<br>SM/PER/SCOB/BV-03-C<br>SM/PER/SCOB/BI-02-C<br>SM/PER/SCOB/BI-03-C</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] host/sm: Persist keys before firing pairing complete callback [mynewt-nimble]
Posted by "codecoup-tester (via GitHub)" <gi...@apache.org>.
codecoup-tester commented on PR #2187:
URL: https://github.com/apache/mynewt-nimble/pull/2187#issuecomment-4073995931
AutoPTS Bot results:
No failed test found.
<details><summary>Successful tests (52)</summary>GAP GAP/SEC/AUT/BV-11-C PASS<br>GAP GAP/SEC/AUT/BV-12-C PASS (2)<br>GAP GAP/SEC/AUT/BV-13-C PASS - ERRATA ES-28650<br>GAP GAP/SEC/AUT/BV-14-C PASS - ERRATA ES-28650<br>GAP GAP/SEC/AUT/BV-17-C PASS<br>GAP GAP/SEC/AUT/BV-18-C PASS<br>GAP GAP/SEC/AUT/BV-19-C PASS<br>GAP GAP/SEC/AUT/BV-20-C PASS<br>GAP GAP/SEC/AUT/BV-21-C PASS<br>GAP GAP/SEC/AUT/BV-22-C PASS<br>GAP GAP/SEC/AUT/BV-23-C PASS<br>GAP GAP/SEC/AUT/BV-24-C PASS<br>GAP GAP/SEC/AUT/BV-25-C PASS (2)<br>GAP GAP/SEC/AUT/BV-26-C PASS<br>GAP GAP/SEC/AUT/BV-27-C PASS<br>GAP GAP/SEC/AUT/BV-28-C PASS<br>GAP GAP/SEC/SEM/BI-09-C PASS<br>GAP GAP/SEC/SEM/BI-10-C PASS<br>GAP GAP/SEC/SEM/BI-13-C
PASS<br>GAP GAP/SEC/SEM/BI-20-C PASS<br>GAP GAP/SEC/SEM/BI-21-C PASS (2)<br>GAP GAP/SEC/SEM/BI-22-C PASS<br>GAP GAP/SEC/SEM/BI-23-C PASS<br>GAP GAP/SEC/SEM/BV-21-C PASS<br>GAP GAP/SEC/SEM/BV-22-C PASS<br>GAP GAP/SEC/SEM/BV-23-C PASS<br>GAP GAP/SEC/SEM/BV-24-C PASS<br>GAP GAP/SEC/SEM/BV-26-C PASS - ERRATA Request ID 136305<br>GAP GAP/SEC/SEM/BV-27-C PASS<br>GAP GAP/SEC/SEM/BV-28-C PASS<br>GAP GAP/SEC/SEM/BV-29-C PASS<br>GAP GAP/SEC/SEM/BV-37-C PASS<br>GAP GAP/SEC/SEM/BV-38-C PASS<br>GAP GAP/SEC/SEM/BV-39-C PASS<br>GAP GAP/SEC/SEM/BV-40-C PASS<br>GAP GAP/SEC/SEM/BV-41-C PASS<br>GAP GAP/SEC/SEM/BV-42-C PASS - ERRATA Request ID 136305<br>GAP GAP/SEC/SEM/BV-43-C PASS<br>GAP GAP/SEC/S
EM/BV-44-C PASS<br>GAP GAP/SEC/SEM/BV-45-C PASS<br>GAP GAP/SEC/SEM/BV-56-C PASS<br>GAP GAP/SEC/SEM/BV-57-C PASS<br>GAP GAP/SEC/SEM/BV-58-C PASS<br>GAP GAP/SEC/SEM/BV-59-C PASS<br>GAP GAP/SEC/SEM/BV-60-C PASS (2)<br>GAP GAP/SEC/SEM/BV-61-C PASS<br>GAP GAP/SEC/SEM/BV-62-C PASS<br>GAP GAP/SEC/SEM/BV-63-C PASS<br>GAP GAP/SEC/SEM/BV-64-C PASS<br>GAP GAP/SEC/SEM/BV-65-C PASS<br>GAP GAP/SEC/SEM/BV-66-C PASS<br>GAP GAP/SEC/SEM/BV-67-C PASS</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] host/sm: Persist keys before firing pairing complete callback [mynewt-nimble]
Posted by "codecoup-tester (via GitHub)" <gi...@apache.org>.
codecoup-tester commented on PR #2187:
URL: https://github.com/apache/mynewt-nimble/pull/2187#issuecomment-4073182609
AutoPTS Bot results:
No failed test found.
<details><summary>Successful tests (65)</summary>SM SM/CEN/EKS/BI-01-C PASS<br>SM SM/CEN/EKS/BV-01-C PASS<br>SM SM/CEN/JW/BI-01-C PASS<br>SM SM/CEN/JW/BI-04-C PASS<br>SM SM/CEN/JW/BV-01-C PASS<br>SM SM/CEN/JW/BV-05-C PASS<br>SM SM/CEN/KDU/BI-04-C PASS<br>SM SM/CEN/KDU/BV-05-C PASS<br>SM SM/CEN/KDU/BV-06-C PASS<br>SM SM/CEN/KDU/BV-10-C PASS<br>SM SM/CEN/OOB/BI-01-C PASS<br>SM SM/CEN/OOB/BV-01-C PASS<br>SM SM/CEN/OOB/BV-03-C PASS<br>SM SM/CEN/OOB/BV-09-C PASS<br>SM SM/CEN/PIS/BV-02-C PASS<br>SM SM/CEN/PIS/BV-03-C PASS<br>SM SM/CEN/PKE/BI-01-C PASS<br>SM SM/CEN/PKE/BI-02-C PASS<br>SM SM/CEN/PKE/BV-01-C PASS<br>SM SM/CEN/PKE/BV-04-C
PASS<br>SM SM/CEN/PROT/BV-01-C PASS<br>SM SM/CEN/SCJW/BI-01-C PASS<br>SM SM/CEN/SCJW/BV-01-C PASS<br>SM SM/CEN/SCJW/BV-04-C PASS<br>SM SM/CEN/SCOB/BI-01-C PASS<br>SM SM/CEN/SCOB/BI-04-C PASS<br>SM SM/CEN/SCOB/BV-01-C PASS<br>SM SM/CEN/SCOB/BV-04-C PASS<br>SM SM/CEN/SCPK/BI-01-C PASS<br>SM SM/CEN/SCPK/BI-02-C PASS<br>SM SM/CEN/SCPK/BV-01-C PASS<br>SM SM/CEN/SCPK/BV-04-C PASS<br>SM SM/PER/EKS/BI-02-C PASS<br>SM SM/PER/EKS/BV-02-C PASS<br>SM SM/PER/JW/BI-02-C PASS<br>SM SM/PER/JW/BI-03-C PASS<br>SM SM/PER/JW/BV-02-C PASS<br>SM SM/PER/KDU/BI-02-C PASS<br>SM SM/PER/KDU/BI-03-C PASS<br>SM SM/PER/KDU/BI-04-C PASS<br>SM SM/PER/KDU/BV-0
1-C PASS<br>SM SM/PER/KDU/BV-02-C PASS<br>SM SM/PER/KDU/BV-07-C PASS<br>SM SM/PER/KDU/BV-08-C PASS<br>SM SM/PER/OOB/BI-02-C PASS<br>SM SM/PER/OOB/BV-02-C PASS<br>SM SM/PER/OOB/BV-04-C PASS<br>SM SM/PER/OOB/BV-10-C PASS<br>SM SM/PER/PIS/BV-01-C PASS<br>SM SM/PER/PIS/BV-02-C PASS (2)<br>SM SM/PER/PKE/BI-03-C PASS<br>SM SM/PER/PKE/BV-02-C PASS<br>SM SM/PER/PKE/BV-05-C PASS<br>SM SM/PER/PROT/BV-02-C PASS<br>SM SM/PER/SCJW/BI-02-C PASS<br>SM SM/PER/SCJW/BV-02-C PASS<br>SM SM/PER/SCJW/BV-03-C PASS<br>SM SM/PER/SCOB/BI-02-C PASS<br>SM SM/PER/SCOB/BI-03-C PASS<br>SM SM/PER/SCOB/BV-02-C PASS<br>SM SM/PER/SCOB/BV-03-C PASS<br>SM
SM/PER/SCPK/BI-03-C PASS<br>SM SM/PER/SCPK/BI-04-C PASS<br>SM SM/PER/SCPK/BV-02-C PASS<br>SM SM/PER/SCPK/BV-03-C PASS</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] host/sm: Persist keys before firing pairing complete callback [mynewt-nimble]
Posted by "sjanc (via GitHub)" <gi...@apache.org>.
sjanc commented on PR #2187:
URL: https://github.com/apache/mynewt-nimble/pull/2187#issuecomment-4072986485
#AutoPTS run mynewt SM
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org