New version
Based on the main repo's master version, with edits to the API.
This commit is contained in:
parent
f026284cb3
commit
648f9fc5b0
|
@ -18,8 +18,10 @@
|
|||
#define __BLE_DEVICE_INSTANCE_BASE__
|
||||
|
||||
#include "Gap.h"
|
||||
#include "ble/SecurityManager.h"
|
||||
#include "ble/BLE.h"
|
||||
|
||||
/* forward declarations */
|
||||
/* Forward declarations. */
|
||||
class GattServer;
|
||||
class GattClient;
|
||||
|
||||
|
@ -30,7 +32,9 @@ class GattClient;
|
|||
class BLEInstanceBase
|
||||
{
|
||||
public:
|
||||
virtual ble_error_t init(void) = 0;
|
||||
virtual ble_error_t init(BLE::InstanceID_t instanceID,
|
||||
FunctionPointerWithContext<BLE::InitializationCompleteCallbackContext *> initCallback) = 0;
|
||||
virtual bool hasInitialized(void) const = 0;
|
||||
virtual ble_error_t shutdown(void) = 0;
|
||||
virtual const char * getVersion(void) = 0;
|
||||
virtual Gap& getGap() = 0;
|
||||
|
|
Loading…
Reference in New Issue