Skip to content

Commit c6d3d83

Browse files
authored
Merge pull request #10005 from TeemuKultala/cellular_remove_device
cellular: remove last CELLULAR_DEVICE references
2 parents 54602f5 + 614b014 commit c6d3d83

File tree

5 files changed

+3
-61
lines changed

5 files changed

+3
-61
lines changed

features/cellular/TESTS/api/cellular_information/main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
#endif
2222

2323
#include "CellularUtil.h" // for CELLULAR_ helper macros
24-
#include "CellularTargets.h"
2524

2625
#ifndef MBED_CONF_APP_CELLULAR_SIM_PIN
2726
#error [NOT_SUPPORTED] SIM pin code is needed. Skipping this build.

features/cellular/TESTS/socket/udp/main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
#endif
2121

2222
#include "CellularUtil.h" // for CELLULAR_ helper macros
23-
#include "CellularTargets.h"
2423

2524
#ifndef MBED_CONF_APP_CELLULAR_SIM_PIN
2625
#error [NOT_SUPPORTED] SIM pin code is needed. Skipping this build.

features/cellular/framework/API/CellularDevice.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#ifndef CELLULAR_DEVICE_H_
1919
#define CELLULAR_DEVICE_H_
2020

21-
#include "CellularTargets.h"
2221
#include "CellularStateMachine.h"
2322
#include "Callback.h"
2423
#include "ATHandler.h"
@@ -63,8 +62,9 @@ class CellularDevice {
6362
SimStateUnknown
6463
};
6564

66-
/** Returns singleton instance of CellularDevice if CELLULAR_DEVICE is defined. If CELLULAR_DEVICE is not
67-
* defined, then it returns NULL. See NetworkInterface::get_default_instance for details.
65+
/** Returns singleton instance of CellularDevice, if Mbed target board has a supported
66+
* onboard modem, or provide-default is defined for a cellular driver in JSON configuration
67+
* files. Otherwise returns NULL. See NetworkInterface::get_default_instance for details.
6868
*
6969
* @remark Application may override this (non-weak) default implementation.
7070
*

features/cellular/framework/common/CellularTargets.h

Lines changed: 0 additions & 55 deletions
This file was deleted.

features/cellular/framework/device/CellularDevice.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#include "CellularContext.h"
2020
#include "CellularUtil.h"
2121
#include "CellularLog.h"
22-
#include "CellularTargets.h"
2322
#include "events/EventQueue.h"
2423

2524
namespace mbed {

0 commit comments

Comments
 (0)