this is using the mbed os version 5-13-1
Diff: source/BleManager.h
- Revision:
- 76:6afda865fbf8
- Parent:
- 75:08eff6258e1b
- Child:
- 77:0b505d1e15f4
--- a/source/BleManager.h Thu Mar 14 21:34:06 2019 +0000
+++ b/source/BleManager.h Fri Mar 15 14:26:44 2019 +0000
@@ -105,6 +105,16 @@
/** Blink LED to show we're running */
void blink(void);
+ /** Echo received data back */
+ void EchoBleUartReceived();
+
+ /**
+ * This callback allows the LEDService to receive updates to the ledState Characteristic.
+ *
+ * @param[in] params
+ * Information about the characterisitc being updated.
+ */
+ void onDataWrittenCallback(const GattWriteCallbackParams *params);
private:
DigitalOut _led1;
@@ -128,6 +138,7 @@
/** This is called by Gap to notify the application we connected,
* in our case it immediately requests a change in link security */
virtual void on_connect(const Gap::ConnectionCallbackParams_t *connection_event);
+
};
/** A central device will scan, connect to a peer and request pairing. */