pjkundert / cpppo

Communications Protocol Python Parser and Originator -- EtherNet/IP CIP
https://hardconsulting.com/products/6-cpppo-enip-api
Other
332 stars 109 forks source link

Issue with example cpppo.cfg #22

Closed Rhouli closed 7 years ago

Rhouli commented 8 years ago

When trying to use the example cpppo.cfg in the user manual the software crashes. This is due to the trailing , after "example.com". Removing the , allows this configuration to work properly.

[Identity]
# Generally, strings are not quoted
Product Name        = 1756-L61/B LOGIX5561

[TCPIP]
# However, some complex structures require JSON configuration:
Interface Configuration = {
    "ip_address":             "192.168.0.201",
    "network_mask":           "255.255.255.0",
    "dns_primary":            "8.8.8.8",
    "dns_secondary":          "8.8.4.4",
    "domain_name":            "example.com",
    }
Host Name           = controller
pjkundert commented 8 years ago

Great catch! Thanks. I'll fix that in the next version.