Skip to content

Commit cc286fe

Browse files
committed
BLE: Cordio pal: Handle enhanced connection events.
1 parent cbba6dd commit cc286fe

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

features/FEATURE_BLE/targets/TARGET_CORDIO/CordioPalGap.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,11 +393,13 @@ class Gap : public ::ble::pal::Gap {
393393
// note the usage of the stack handle, not the HCI handle
394394
conn_evt->hdr.param,
395395
(connection_role_t::type) conn_evt->role,
396-
(advertising_peer_address_type_t::type) conn_evt->addrType,
396+
(peer_address_type_t::type) conn_evt->addrType,
397397
conn_evt->peerAddr,
398398
conn_evt->connInterval,
399399
conn_evt->connLatency,
400-
conn_evt->supTimeout
400+
conn_evt->supTimeout,
401+
conn_evt->localRpa,
402+
conn_evt->peerRpa
401403
);
402404
}
403405
};

0 commit comments

Comments
 (0)