Skip to content

Commit 6df7846

Browse files
committed
BLE: Remove cordio namespace
1 parent d914cb1 commit 6df7846

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

connectivity/FEATURE_BLE/source/cordio/include/ble/internal/PalAttClientImpl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include "source/pal/PalAttClient.h"
2525

2626
namespace ble {
27-
namespace cordio {
27+
namespace impl {
2828

2929
class PalAttClient final : public ble::PalAttClient {
3030

@@ -474,7 +474,7 @@ class PalAttClient final : public ble::PalAttClient {
474474
mbed::Callback<void(connection_handle_t)> _transaction_timeout_cb;
475475
};
476476

477-
} // namespace cordio
477+
} // namespace impl
478478
} // namespace ble
479479

480480
#endif /* IMPL_PAL_ATT_CLIENT_ */

connectivity/FEATURE_BLE/source/cordio/source/BLEInstanceBaseImpl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ ble::GattClient &BLEInstanceBase::getGattClient()
257257

258258
PalGattClient &BLEInstanceBase::getPalGattClient()
259259
{
260-
static PalAttClientToGattClient pal_gatt_client(cordio::PalAttClient::get_client());
260+
static PalAttClientToGattClient pal_gatt_client(impl::PalAttClient::get_client());
261261
return pal_gatt_client;
262262
}
263263

@@ -598,7 +598,7 @@ void BLEInstanceBase::stack_setup()
598598

599599
#if BLE_FEATURE_ATT
600600
#if BLE_FEATURE_GATT_CLIENT
601-
AttRegister((attCback_t) cordio::PalAttClient::att_client_handler);
601+
AttRegister((attCback_t) impl::PalAttClient::att_client_handler);
602602
#else
603603
AttRegister((attCback_t) ble::GattServer::att_cb);
604604
#endif // BLE_FEATURE_GATT_CLIENT

connectivity/FEATURE_BLE/source/cordio/source/PalAttClientImpl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#include "att_defs.h"
2828

2929
namespace ble {
30-
namespace cordio {
30+
namespace impl {
3131

3232
PalAttClient::PalAttClient() : _local_sign_counter(0)
3333
{
@@ -451,5 +451,5 @@ void PalAttClient::att_client_handler(const attEvt_t *event)
451451
#endif // BLE_FEATURE_GATT_SERVER
452452
}
453453

454-
} // namespace cordio
454+
} // namespace impl
455455
} // ble

connectivity/FEATURE_BLE/source/cordio/source/PalSecurityManagerImpl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ ble_error_t PalSecurityManager::set_csrk(
364364
_csrk = csrk;
365365
DmSecSetLocalCsrk(_csrk.data());
366366
// extra set the sign counter used by the client
367-
cordio::PalAttClient::get_client().set_sign_counter(sign_counter);
367+
impl::PalAttClient::get_client().set_sign_counter(sign_counter);
368368

369369
return BLE_ERROR_NONE;
370370
}

0 commit comments

Comments
 (0)