No changes

Fork of nRF51822 by Nordic Semiconductor

Revision:
271:208d78ccc9b7
Parent:
247:df37e7bb3f71
Child:
340:775dab2ff027
diff -r 3edb22234707 -r 208d78ccc9b7 btle/btle.cpp
--- a/btle/btle.cpp	Fri Jun 19 15:55:25 2015 +0100
+++ b/btle/btle.cpp	Fri Jun 19 15:55:25 2015 +0100
@@ -116,6 +116,7 @@
             const ble_gap_addr_t *peer = &p_ble_evt->evt.gap_evt.params.connected.peer_addr;
             const ble_gap_addr_t *own  = &p_ble_evt->evt.gap_evt.params.connected.own_addr;
             nRF51Gap::getInstance().processConnectionEvent(handle,
+                                                           static_cast<Gap::Role_t>(p_ble_evt->evt.gap_evt.params.connected.role),
                                                            static_cast<Gap::AddressType_t>(peer->addr_type), peer->addr,
                                                            static_cast<Gap::AddressType_t>(own->addr_type),  own->addr,
                                                            params);