renamed BLEDevice to BLE
parent
c796271c91
commit
bb88aaad7b
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue