diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-07-07 16:23:30 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-07-07 16:23:30 -0500 |
commit | fc455268a511d91113f59c04b50fa08b7c37b554 (patch) | |
tree | d61462c8a4496fa788875918dc4113162382962b /lib/libtqtrla | |
parent | 1b8ef84fb9f47b82d0da6fa6e1b9fe439bc6b05c (diff) | |
download | ulab-fc455268a511d91113f59c04b50fa08b7c37b554.tar.gz ulab-fc455268a511d91113f59c04b50fa08b7c37b554.zip |
Convert to frame based protocol
Finish FPGA programming server/client
Diffstat (limited to 'lib/libtqtrla')
-rw-r--r-- | lib/libtqtrla/src/tqtrla.cpp | 6 | ||||
-rw-r--r-- | lib/libtqtrla/src/tqtrla.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lib/libtqtrla/src/tqtrla.cpp b/lib/libtqtrla/src/tqtrla.cpp index d43c1f2..376a9d9 100644 --- a/lib/libtqtrla/src/tqtrla.cpp +++ b/lib/libtqtrla/src/tqtrla.cpp @@ -80,6 +80,12 @@ namespace KParts emit(statusMessageSet(message)); } + TQ_ULONG RemoteInstrumentPart::maximumSocketDataChunkSize() { + // FIXME + // Dynamically set this! + return 512; + } + TQStringList RemoteInstrumentPart::textForServerError(TQString shortError) { TQStringList ret; diff --git a/lib/libtqtrla/src/tqtrla.h b/lib/libtqtrla/src/tqtrla.h index 1f1ca22..c1c88e2 100644 --- a/lib/libtqtrla/src/tqtrla.h +++ b/lib/libtqtrla/src/tqtrla.h @@ -52,6 +52,7 @@ namespace KParts protected: TQStringList textForServerError(TQString shortError); + TQ_ULONG maximumSocketDataChunkSize(); protected slots: void close(); |