File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
features/FEATURE_BLE/source/generic Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1235,11 +1235,12 @@ void GenericGap::on_connection_complete(const pal::GapConnectionCompleteEvent& e
1235
1235
// Now starts pairing or authentication procedures if required
1236
1236
if (needs_pairing) {
1237
1237
SecurityManager &sm = createBLEInstance ()->getSecurityManager ();
1238
- sm.requestPairing (e.connection_handle );
1238
+ // Request authentication to start pairing procedure
1239
+ sm.requestAuthentication (e.connection_handle );
1239
1240
}
1240
1241
else if (needs_authentication) {
1241
- SecurityManager &sm = createBLEInstance ()-> getSecurityManager ();
1242
- sm. requestAuthentication (e. connection_handle );
1242
+ // TODO: GAP Authentication != Security Manager authentication
1243
+ // Needs to be implemented
1243
1244
}
1244
1245
} else {
1245
1246
// for now notify user that the connection failled by issuing a timeout
You can’t perform that action at this time.
0 commit comments