BLE API as used in the blog entry.
Dependents: BLE_iBeacon_Exercise
Fork of BLE_API_Native by
Diff: hw/Gap.h
- Revision:
- 15:a854d49b3d25
- Parent:
- 0:4c3097c65247
--- a/hw/Gap.h Thu Feb 20 16:31:09 2014 +0000 +++ b/hw/Gap.h Thu Feb 20 17:23:17 2014 +0000 @@ -51,7 +51,7 @@ /* Event callback handlers */ void setEventHandler(GapEvents *pEventHandler) {m_pEventHandler = pEventHandler;} - void handleEvent(GapEvents::gapEvent_e type) { // void handleEvent(GapEvents::gapEvent_e type, event_data* data) { + void handleEvent(GapEvents::gapEvent_e type) { if (NULL == m_pEventHandler) return; switch(type) {