diff options
author | Cristian Maglie <c.maglie@bug.st> | 2013-06-12 12:42:38 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@bug.st> | 2013-06-12 12:42:38 +0200 |
commit | 965d2cbf7302c504fef01ab8951407bc1a40b430 (patch) | |
tree | b24a1fdbf0e2b518625a63f6ed6b7aed99a33891 /libraries/Bridge/Bridge.h | |
parent | 9e59262f643f1726738888b2945d3d63c1939d58 (diff) |
Factored Process class
Diffstat (limited to 'libraries/Bridge/Bridge.h')
-rw-r--r-- | libraries/Bridge/Bridge.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/libraries/Bridge/Bridge.h b/libraries/Bridge/Bridge.h index 0c86175..f748bbf 100644 --- a/libraries/Bridge/Bridge.h +++ b/libraries/Bridge/Bridge.h @@ -27,21 +27,6 @@ public: BridgeClass(Stream &_stream); void begin(); - // Methods to handle processes on the linux side - uint8_t runCommand(String &command, uint8_t &err); - bool commandIsRunning(uint8_t handle); - unsigned int commandExitValue(uint8_t handle); - void cleanCommand(uint8_t handle); - - unsigned int commandOutputAvailable(uint8_t handle); - unsigned int readCommandOutput(uint8_t handle, uint8_t *buff, unsigned int size); - unsigned int readCommandOutput(uint8_t handle, char *buff, unsigned int size) - { return readCommandOutput(handle, reinterpret_cast<uint8_t *>(buff), size); } - - void writeCommandInput(uint8_t handle, const uint8_t *buff, unsigned int size); - void writeCommandInput(uint8_t handle, const char *buff, unsigned int size) - { writeCommandInput(handle, reinterpret_cast<const uint8_t *>(buff), size); } - // Methods to handle mailbox messages unsigned int readMessage(uint8_t *buffer, unsigned int size); void writeMessage(const uint8_t *buffer, unsigned int size); |