This mDot firmware will allow USB to directly utilize AT command without the need the use of RS232 DB9 port.

Dependencies:   MTS-Serial libmDot mbed-rtos mbed

Fork of mDot_USB_AT_firmware by Hadi Ho

CommandTerminal/CmdSerialClearOnError.h

Committer:
ahario
Date:
2016-10-19
Revision:
14:eecf7851d6ff
Parent:
9:ff62b20f7000

File content as of revision 14:eecf7851d6ff:

#ifndef __CMDSERIALCLEARONERROR_H__
#define __CMDSERIALCLEARONERROR_H__

#include "Command.h"

class CmdSerialClearOnError : public Command {

public:

    CmdSerialClearOnError(mDot* dot, mts::MTSSerial& serial);
    virtual uint32_t action(std::vector<std::string> args);
    virtual bool verify(std::vector<std::string> args);

private:
    mts::MTSSerial& _serial;
};

#endif // __CMDSERIALCLEARONERROR_H__