repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b83551
)
support colon separated data for the 'tx' command in cec-client
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Wed, 14 Nov 2012 15:52:32 +0000
(16:52 +0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Wed, 14 Nov 2012 15:52:32 +0000
(16:52 +0100)
src/testclient/main.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/testclient/main.cpp
b/src/testclient/main.cpp
index 945935afc86d9946feb9ff36f1ebc039fc3efbf3..bb6e133b8417c22eefa331f62a92d1e5ccb42a1b 100644
(file)
--- a/
src/testclient/main.cpp
+++ b/
src/testclient/main.cpp
@@
-381,6
+381,10
@@
bool ProcessCommandTX(ICECAdapter *parser, const string &command, string &argume
cec_command bytes;
bytes.Clear();
+ CStdString strArguments(arguments);
+ strArguments.Replace(':', ' ');
+ arguments = strArguments;
+
while (GetWord(arguments, strvalue) && HexStrToInt(strvalue, ivalue))
bytes.PushBack(ivalue);