Skip to content

Commit 0f67ea1

Browse files
move implementations to libraries directory
1 parent dac86ea commit 0f67ea1

File tree

615 files changed

+5
-50
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

615 files changed

+5
-50
lines changed

connectivity/FEATURE_BLE/cordio/TARGET_CORDIO/source/BLEInstanceBaseImpl.cpp renamed to connectivity/FEATURE_BLE/libraries/TARGET_CORDIO/source/BLEInstanceBaseImpl.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
#if (BLE_PAL_API_IMPLEMENTATION == 1)
20-
2119
#include "mbed.h"
2220
#include "us_ticker_api.h"
2321
#include "ble/BLE.h"
@@ -605,5 +603,3 @@ CordioHCIDriver *BLEInstanceBase::_hci_driver = nullptr;
605603
FunctionPointerWithContext<::BLE::InitializationCompleteCallbackContext *> BLEInstanceBase::_init_callback;
606604

607605
} // namespace ble
608-
609-
#endif // (BLE_PAL_API_IMPLEMENTATION == 1)

connectivity/FEATURE_BLE/cordio/TARGET_CORDIO/source/PalAttClientImpl.cpp renamed to connectivity/FEATURE_BLE/libraries/TARGET_CORDIO/source/PalAttClientImpl.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
#if (BLE_PAL_API_IMPLEMENTATION == 1)
20-
2119
#include "ble/internal/PalAttClient.h"
2220
#include "ble/GattServer.h"
2321
#include "ble/internal/PalSimpleAttServerMessage.h"
@@ -424,5 +422,3 @@ void PalAttClient::att_client_handler(const attEvt_t *event) {
424422
}
425423

426424
} // ble
427-
428-
#endif // (BLE_PAL_API_IMPLEMENTATION == 1)

connectivity/FEATURE_BLE/cordio/TARGET_CORDIO/source/PalEventQueueImpl.cpp renamed to connectivity/FEATURE_BLE/libraries/TARGET_CORDIO/source/PalEventQueueImpl.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
#if (BLE_PAL_API_IMPLEMENTATION == 1)
20-
2119
#include "ble/internal/PalEventQueue.h"
2220
#include "ble/internal/BLEInstanceBase.h"
2321

@@ -29,5 +27,3 @@ void PalEventQueue::signal_event()
2927
}
3028

3129
} // namespace ble
32-
33-
#endif // (BLE_PAL_API_IMPLEMENTATION == 1)

connectivity/FEATURE_BLE/cordio/TARGET_CORDIO/source/PalGapImpl.cpp renamed to connectivity/FEATURE_BLE/libraries/TARGET_CORDIO/source/PalGapImpl.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
* See the License for the specific language governing permissions and
1616
* limitations under the License.
1717
*/
18-
19-
#if (BLE_PAL_API_IMPLEMENTATION == 1)
20-
2118
#include "PalGap.h"
2219
#include "hci_api.h"
2320
#include "dm_api.h"
@@ -1519,5 +1516,3 @@ PalGapEventHandler* PalGap::get_event_handler()
15191516
}
15201517

15211518
} // ble
1522-
1523-
#endif // (BLE_PAL_API_IMPLEMENTATION == 1)

connectivity/FEATURE_BLE/cordio/TARGET_CORDIO/source/PalGattClientImpl.cpp renamed to connectivity/FEATURE_BLE/libraries/TARGET_CORDIO/source/PalGattClientImpl.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
#if (BLE_PAL_API_IMPLEMENTATION == 1)
20-
2119
#include "ble/internal/PalGattClient.h"
2220
#include "ble/internal/PalAttClient.h"
2321

@@ -233,5 +231,3 @@ ble_error_t PalGattClient::terminate() {
233231
}
234232

235233
} // ble
236-
237-
#endif // (BLE_PAL_API_IMPLEMENTATION == 1)

connectivity/FEATURE_BLE/cordio/TARGET_CORDIO/source/PalGenericAccessServiceImpl.cpp renamed to connectivity/FEATURE_BLE/libraries/TARGET_CORDIO/source/PalGenericAccessServiceImpl.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
#if (BLE_PAL_API_IMPLEMENTATION == 1)
20-
2119
#include "ble/internal/PalGenericAccessService.h"
2220

2321
namespace ble {
@@ -118,8 +116,6 @@ ble::GattServer& PalGenericAccessService::gatt_server() {
118116
return ble::GattServer::getInstance();
119117
}
120118

121-
}
119+
} // ble
122120

123121
#endif // BLE_FEATURE_GATT_SERVER
124-
125-
#endif // (BLE_PAL_API_IMPLEMENTATION == 1)

connectivity/FEATURE_BLE/cordio/TARGET_CORDIO/source/PalSecurityManagerImpl.cpp renamed to connectivity/FEATURE_BLE/libraries/TARGET_CORDIO/source/PalSecurityManagerImpl.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
#if (BLE_PAL_API_IMPLEMENTATION == 1)
20-
2119
#include "BLERoles.h"
2220

2321
#include <string.h>
@@ -1047,5 +1045,3 @@ PalSecurityManagerEventHandler* PalSecurityManager::get_event_handler() {
10471045
}
10481046

10491047
} // ble
1050-
1051-
#endif // (BLE_PAL_API_IMPLEMENTATION == 1)

connectivity/FEATURE_BLE/cordio/TARGET_CORDIO/source/PalSigningMonitorImpl.cpp renamed to connectivity/FEATURE_BLE/libraries/TARGET_CORDIO/source/PalSigningMonitorImpl.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
#if (BLE_PAL_API_IMPLEMENTATION == 1)
20-
2119
#include "ble/internal/PalSigningMonitor.h"
2220
#include "ble/internal/BLEInstanceBase.h"
2321
#include "ble/GattClient.h"
@@ -34,5 +32,3 @@ void PalSigningMonitor::set_signing_event_handler(SecurityManager *handler) {
3432
}
3533

3634
}
37-
38-
#endif // (BLE_PAL_API_IMPLEMENTATION == 1)

0 commit comments

Comments
 (0)