mirror of https://github.com/ARMmbed/mbed-os.git
Cellular: Updated coding guidelines
parent
63f62165d8
commit
f059fb36bd
|
@ -37,8 +37,7 @@
|
|||
|
||||
#define RETRY_COUNT_DEFAULT 3
|
||||
|
||||
namespace mbed
|
||||
{
|
||||
namespace mbed {
|
||||
|
||||
CellularConnectionFSM::CellularConnectionFSM() :
|
||||
_serial(0), _state(STATE_INIT), _next_state(_state), _status_callback(0), _event_status_cb(0), _network(0), _power(0), _sim(0),
|
||||
|
|
|
@ -43,8 +43,7 @@ const int MAX_RETRY_ARRAY_SIZE = 10;
|
|||
*
|
||||
* Finite State Machine for connecting to cellular network
|
||||
*/
|
||||
class CellularConnectionFSM
|
||||
{
|
||||
class CellularConnectionFSM {
|
||||
public:
|
||||
CellularConnectionFSM();
|
||||
virtual ~CellularConnectionFSM();
|
||||
|
|
|
@ -27,8 +27,7 @@
|
|||
#include "CellularInformation.h"
|
||||
#include "NetworkStack.h"
|
||||
|
||||
namespace mbed
|
||||
{
|
||||
namespace mbed {
|
||||
|
||||
/**
|
||||
* Class CellularDevice
|
||||
|
@ -36,8 +35,7 @@ namespace mbed
|
|||
* An abstract interface that defines opening and closing of cellular interfaces.
|
||||
* Deleting/Closing of opened interfaces can be done only via this class.
|
||||
*/
|
||||
class CellularDevice
|
||||
{
|
||||
class CellularDevice {
|
||||
public:
|
||||
/** virtual Destructor
|
||||
*/
|
||||
|
|
|
@ -28,8 +28,7 @@
|
|||
|
||||
#include "ATHandler.h"
|
||||
|
||||
namespace mbed
|
||||
{
|
||||
namespace mbed {
|
||||
|
||||
/**
|
||||
* Class AT_CellularDevice
|
||||
|
@ -37,8 +36,7 @@ namespace mbed
|
|||
* A class defines opening and closing of cellular interfaces.
|
||||
* Deleting/Closing of opened interfaces can be done only through this class.
|
||||
*/
|
||||
class AT_CellularDevice : public CellularDevice
|
||||
{
|
||||
class AT_CellularDevice : public CellularDevice {
|
||||
public:
|
||||
AT_CellularDevice(events::EventQueue &queue);
|
||||
virtual ~AT_CellularDevice();
|
||||
|
|
Loading…
Reference in New Issue