this is using the mbed os version 5-13-1
Diff: source/BleManager.h
- Revision:
- 77:0b505d1e15f4
- Parent:
- 76:6afda865fbf8
- Child:
- 78:07bb86e3ce14
--- a/source/BleManager.h Fri Mar 15 14:26:44 2019 +0000
+++ b/source/BleManager.h Fri Mar 15 23:25:30 2019 +0000
@@ -81,6 +81,8 @@
ble::connection_handle_t connectionHandle,
ble::link_encryption_t result
);
+
+ void shutDown();
private:
/** Override to start chosen activity when initialisation completes */
@@ -107,6 +109,8 @@
void blink(void);
/** Echo received data back */
void EchoBleUartReceived();
+
+ void reportGapState();
/**
* This callback allows the LEDService to receive updates to the ledState Characteristic.
@@ -138,6 +142,8 @@
/** 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);
+ void stopAdvertising();
+ void startAdvertising();
};