Skip to content

BLE API devirtualization #9727

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 26 commits into from
Mar 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
bc098d0
BLE - add static interface helper.
pan- Feb 25, 2019
7e78433
BLE - replace some usages of Gap::Handle_t by ble::connection_handle_t
pan- Feb 25, 2019
333a315
BLE - devirtualize pal::AttClient
pan- Feb 25, 2019
71b8d8a
BLE - devirtualize pal::AttClientToGattClientAdapter
pan- Feb 25, 2019
6514bbd
BLE - Devirtualize pal::ConnectionEventMonitor
pan- Feb 25, 2019
0749100
BLE - Devirtualize pal::Gap
pan- Feb 25, 2019
e1371f8
BLE - Devirtualize pal::GattClient
pan- Feb 25, 2019
50de4c8
BLE - Devirtualize pal::SecurityManager
pan- Feb 25, 2019
2d007ee
BLE - Devirtualize pal::SigningEventMonitor
pan- Feb 25, 2019
1ad7263
BLE - Devirtualization of ::Gap
pan- Feb 25, 2019
43e87fb
BLE - Devirtualize ::ble::Gap
pan- Feb 25, 2019
e56fd68
BLE - Devirtualize ::GattClient
pan- Feb 25, 2019
6d2592a
BLE - Devirtualize ::GattServer.
pan- Feb 25, 2019
7796e73
BLE - Devirtualize ::SecurityManager
pan- Feb 25, 2019
fb39848
BLE - Cleanup deprecation implementation bits in BLE.cpp
pan- Feb 25, 2019
e70fb27
BLE - cleanup includes.
pan- Feb 25, 2019
39e938b
BLE - Devirtualize ble::generic::GenericGap
pan- Feb 25, 2019
b135074
BLE - Devirtualize ble::generic::GattClient
pan- Feb 25, 2019
04d26f7
BLE - Devirtualize ::ble::generic::GenericSecurityManager
pan- Feb 25, 2019
536443b
BLE - Devirtualization of the Cordio port.
pan- Feb 25, 2019
0323d91
BLE - Devirtualization of the Maxim port .
pan- Feb 25, 2019
b86049d
BLE - Devirtualization of the legacy NRF51822 port.
pan- Feb 25, 2019
ddbb177
BLE - Devirtualization of the NRF51 port.
pan- Feb 25, 2019
9ab2849
BLE - Devirtualization of the NRF52 softdevice port.
pan- Feb 25, 2019
c7169b0
BLE - accept tpp extensions for header files.
pan- Feb 25, 2019
73f29e7
BLE - Fix qualification of abort and terminate.
pan- Feb 26, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions features/FEATURE_BLE/ble/BLE.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

#include "blecommon.h"
#include "ble/Gap.h"
#include "GattServer.h"
#include "GattClient.h"
#include "SecurityManager.h"
#include "ble/GattServer.h"
#include "ble/GattClient.h"
#include "ble/SecurityManager.h"

#include "ble/FunctionPointerWithContext.h"

Expand Down
8 changes: 4 additions & 4 deletions features/FEATURE_BLE/ble/BLEInstanceBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
#ifndef MBED_BLE_DEVICE_INSTANCE_BASE__
#define MBED_BLE_DEVICE_INSTANCE_BASE__

#include "ble/BLE.h"
#include "ble/Gap.h"
#include "ble/SecurityManager.h"
#include "ble/BLE.h"
#include "ble/GattServer.h"
#include "ble/GattClient.h"


/* Forward declarations. */
class GattServer;
class GattClient;

/**
* @addtogroup ble
Expand Down
4 changes: 2 additions & 2 deletions features/FEATURE_BLE/ble/DiscoveredCharacteristic.h
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ class DiscoveredCharacteristic {
* @return Connection handle to the GattServer, which contains this
* characteristic.
*/
Gap::Handle_t getConnectionHandle() const
ble::connection_handle_t getConnectionHandle() const
{
return connHandle;
}
Expand Down Expand Up @@ -625,7 +625,7 @@ class DiscoveredCharacteristic {
/**
* Handle of the connection where the characteristic was discovered.
*/
Gap::Handle_t connHandle;
ble::connection_handle_t connHandle;
};

/**
Expand Down
6 changes: 3 additions & 3 deletions features/FEATURE_BLE/ble/DiscoveredCharacteristicDescriptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class DiscoveredCharacteristicDescriptor {
*/
DiscoveredCharacteristicDescriptor(
GattClient *client,
Gap::Handle_t connectionHandle,
ble::connection_handle_t connectionHandle,
GattAttribute::Handle_t attributeHandle,
const UUID &uuid
) : _client(client),
Expand Down Expand Up @@ -109,7 +109,7 @@ class DiscoveredCharacteristicDescriptor {
* @return the connection handle to the GattServer containing this
* descriptor.
*/
Gap::Handle_t getConnectionHandle() const
ble::connection_handle_t getConnectionHandle() const
{
return _connectionHandle;
}
Expand Down Expand Up @@ -139,7 +139,7 @@ class DiscoveredCharacteristicDescriptor {

private:
GattClient *_client;
Gap::Handle_t _connectionHandle;
ble::connection_handle_t _connectionHandle;
UUID _uuid;
GattAttribute::Handle_t _gattHandle;
};
Expand Down
Loading