Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagepy
{
    "data_object":{
        "do_type":"TC",
        "do_station":12,
        "do_addr":71,
        "do_value":1,
        "do_valid":0
     }
 }

Example for a TVC (after receiving ACK):

Code Block
languagepy
{
    "data_object":{
        "do_type":"TVC",
        "do_station":12,
        "do_addr":31,
        "do_value":42,
        "do_valid":0
     }
 }

NB: if an attribute is not required, then it is not put in the output data object, which means that the output object structure always fits the protocol model object type.

...

Code Block
languagepy
{
    "co_type":"TVC",
    "co_addr":31,
    "co_value":142
}

NB: if an attribute is not required, then it is not put in the output data object, which means that the output object structure always fits the protocol model object type.

...