renamed BLEDevice to BLE

master
Rohit Grover 2015-06-17 09:25:18 +01:00
parent c796271c91
commit bb88aaad7b
2 changed files with 5 additions and 5 deletions

View File

@ -24,7 +24,7 @@
#include "softdevice_handler.h"
/**
* The singleton which represents the nRF51822 transport for the BLEDevice.
* The singleton which represents the nRF51822 transport for the BLE.
*/
static nRF51822n deviceInstance;
@ -32,8 +32,8 @@ static nRF51822n deviceInstance;
* BLE-API requires an implementation of the following function in order to
* obtain its transport handle.
*/
BLEDeviceInstanceBase *
createBLEDeviceInstance(void)
BLEInstanceBase *
createBLEInstance(void)
{
return (&deviceInstance);
}

View File

@ -19,14 +19,14 @@
#include "mbed.h"
#include "blecommon.h"
#include "BLEDevice.h"
#include "BLE.h"
#include "nRF51Gap.h"
#include "nRF51GattServer.h"
#include "nRF51GattClient.h"
#include "btle.h"
#include "btle_security.h"
class nRF51822n : public BLEDeviceInstanceBase
class nRF51822n : public BLEInstanceBase
{
public:
nRF51822n(void);