Last active
August 29, 2015 14:20
-
-
Save jasonish/6286c0aea816a7deffb5 to your computer and use it in GitHub Desktop.
DNP3 logging sample.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"dnp3": { | |
// This is actually 16 bits of flags. Should the flags be broken out into a list of symbolic names? | |
// | |
// Examples: | |
// - List flags that are set. | |
// "iin": ["device_restart", "class_3_events"] | |
// - List state of all flags: | |
// "iin": { | |
// "device_restart": true, | |
// "device_trouble": false, | |
// "class_3_events": true, | |
// "class_2_events": false, | |
// "class_1_events": true, | |
// ... | |
// } | |
"iin": 0, | |
"application": { | |
"objects": [ | |
{ | |
"variation": 2, | |
"group": 60 | |
} | |
], | |
"function_code": 129, | |
"sequence": 3, | |
// Another set of bits flags. Same thoughts as iin above. | |
"control": 195 | |
}, | |
"transport": 206, | |
"dst": 1, | |
"src": 10, | |
// Another set of bit flags. Same thoughts as iin above. | |
"control": 68, | |
"type": "response" | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is some precedence from flow logging to list out the true/false state for all flags.