Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: x-nucleo-idb0xa1/BlueNRGDevice.h
- Revision:
- 132:51056160fa4a
- Parent:
- 131:e09947216ccb
- Child:
- 144:bdf5e8432131
--- a/x-nucleo-idb0xa1/BlueNRGDevice.h Tue Oct 06 15:19:19 2015 +0200
+++ b/x-nucleo-idb0xa1/BlueNRGDevice.h Wed Oct 07 08:39:04 2015 +0200
@@ -45,6 +45,7 @@
#include "ble/BLE.h"
#include "BlueNRGGap.h"
#include "BlueNRGGattServer.h"
+#include "BlueNRGGattClient.h"
class BlueNRGDevice : public BLEInstanceBase
@@ -64,7 +65,7 @@
virtual void waitForEvent(void);
virtual GattClient& getGattClient() {
- return *gattClient;
+ return BlueNRGGattClient::getInstance();
}
virtual SecurityManager& getSecurityManager() {
@@ -93,7 +94,6 @@
//FIXME: TBI (by now just placeholders to let build
/*** betzw: placeholders ***/
- GattClient *gattClient;
SecurityManager *sm;
};