Arianna autonomous DAQ firmware
Dependencies: mbed SDFileSystemFilinfo AriSnProtocol NetServicesMin AriSnComm MODSERIAL PowerControlClkPatch DS1820OW
Diff: SnCommWin.h
- Revision:
- 23:ccf39298f205
- Parent:
- 21:ce51bb0ba4a5
- Child:
- 25:57b2627fe756
--- a/SnCommWin.h Tue Oct 16 04:47:44 2012 +0000 +++ b/SnCommWin.h Tue Oct 23 20:07:57 2012 +0000 @@ -28,6 +28,8 @@ kOkWithMsg, // successfully received message kOkWthMsgNoConf // successfully received message and it says to stick with the same config }; + + static const size_t kMaxStrLen = 512; // max bytes for a string send. prevent something crazy private: SnCommWin::ECommWinResult GetFilename(const uint32_t timeout, @@ -114,6 +116,9 @@ char* const genBuf, const uint32_t timeout_clock); + SnCommWin::ECommWinResult SendString(const char* str, + const uint32_t timeout); + ECommWinResult SendFilename(const char* fn, char* const genBuf, const uint32_t timeout_clock);