A Command Interpreter with support for used defined commands, subsystems, macros, help and parameter parsing.
Diff: cmdb.h
- Revision:
- 27:17ff3b07a392
- Parent:
- 26:34c65d3f6da0
--- a/cmdb.h Wed Feb 15 09:50:53 2012 +0000 +++ b/cmdb.h Tue Nov 15 09:50:44 2016 +0000 @@ -1,5 +1,5 @@ /* mbed Command Interpreter Library - * Copyright (c) 2011 wvd_vegt + * Copyright (c) 2016 wvd_vegt * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -417,7 +417,7 @@ * @param serial a Serial port used for communication. * @param cmds a vector with the command table. */ - Cmdb(const Serial& _serial, std::vector<cmd>& _cmds, void (*_callback)(Cmdb&,int) ); + Cmdb(const RawSerial& _serial, std::vector<cmd>& _cmds, void (*_callback)(Cmdb&,int) ); /** The version of the Command Interpreter. * @@ -813,7 +813,7 @@ /** Internal Serial Port Storage. */ - Serial serial; + RawSerial serial; /** Internal Command Table Vector Storage. *