Skip to content

Commit 7ea4088

Browse files
committed
Add SSTRING todo and track temp log
1 parent 3950456 commit 7ea4088

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

minicps/protocols.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,10 @@ def _tuple_to_cpppo_tag(cls, what, value=None, serializer=':'):
219219
tag_string += EnipProtocol._SERIALIZER
220220
tag_string += str(field)
221221
if value is not None:
222+
if type(value) is str:
223+
# TODO: add support for SSTRING tags
224+
# ''' enip_client -a 192.168.1.20 'README:2[0]=(SSTRING)"string"' '''
225+
pass
222226
tag_string += '='
223227
tag_string += str(value)
224228
# print 'DEBUG _tuple_to_cpppo_tag tag_string: ', tag_string

temp/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Track the temp dir, please don't remove it.

temp/devices_tests.sqlite

Whitespace-only changes.

0 commit comments

Comments
 (0)