mirror of https://github.com/ARMmbed/mbed-os.git
BLE: Fix references to ConnectionEventMonitor::EventHandler
parent
eb8ec9c22d
commit
c3fd90430a
|
@ -25,6 +25,7 @@
|
||||||
#include "common/common.h"
|
#include "common/common.h"
|
||||||
#include "ble_advdata.h"
|
#include "ble_advdata.h"
|
||||||
#include "headers/nrf_ble_hci.h"
|
#include "headers/nrf_ble_hci.h"
|
||||||
|
#include "ble/pal/ConnectionEventMonitor.h"
|
||||||
|
|
||||||
|
|
||||||
void radioNotificationStaticCallback(bool param) {
|
void radioNotificationStaticCallback(bool param) {
|
||||||
|
@ -1045,8 +1046,9 @@ ble_error_t nRF5xGap::updateWhiteAndIdentityListInStack()
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void nRF5xGap::set_connection_event_handler(ble::pal::ConnectionEventHandler *connection_event_handler)
|
void nRF5xGap::set_connection_event_handler(
|
||||||
{
|
ConnectionEventMonitor::EventHandler* connection_event_handler
|
||||||
|
) {
|
||||||
_connection_event_handler = connection_event_handler;
|
_connection_event_handler = connection_event_handler;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -55,8 +55,6 @@ extern "C" {
|
||||||
|
|
||||||
void radioNotificationStaticCallback(bool param);
|
void radioNotificationStaticCallback(bool param);
|
||||||
|
|
||||||
namespace ble { namespace pal { class ConnectionEventHandler; }}
|
|
||||||
|
|
||||||
/**************************************************************************/
|
/**************************************************************************/
|
||||||
/*!
|
/*!
|
||||||
\brief
|
\brief
|
||||||
|
@ -260,7 +258,9 @@ public:
|
||||||
/** @note Implements ConnectionEventMonitor.
|
/** @note Implements ConnectionEventMonitor.
|
||||||
* @copydoc ConnectionEventMonitor::set_connection_event_handler
|
* @copydoc ConnectionEventMonitor::set_connection_event_handler
|
||||||
*/
|
*/
|
||||||
void set_connection_event_handler(ble::pal::ConnectionEventHandler *_connection_event_handler);
|
void set_connection_event_handler(
|
||||||
|
ConnectionEventMonitor::EventHandler* connection_event_handler
|
||||||
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @copydoc ::Gap::processConnectionEvent
|
* @copydoc ::Gap::processConnectionEvent
|
||||||
|
@ -285,7 +285,7 @@ public:
|
||||||
|
|
||||||
uint16_t m_connectionHandle;
|
uint16_t m_connectionHandle;
|
||||||
|
|
||||||
ble::pal::ConnectionEventHandler* _connection_event_handler;
|
ConnectionEventMonitor::EventHandler* _connection_event_handler;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Allow instantiation from nRF5xn when required.
|
* Allow instantiation from nRF5xn when required.
|
||||||
|
|
Loading…
Reference in New Issue