Skip to content
This repository has been archived by the owner on Aug 22, 2018. It is now read-only.

Commit

Permalink
Merge ce8d8f3 into db121ff
Browse files Browse the repository at this point in the history
  • Loading branch information
MiquelIR committed Aug 17, 2018
2 parents db121ff + ce8d8f3 commit 5c07167
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion reeprotocol/app_asdu.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class C_AC_NA_2(BaseAppAsdu):
used to send the password of the thing
"""
type = 183
data_length = 0x04
data_length = 0x06

def __init__(self, clave=0):
self.clave = clave
Expand All @@ -156,6 +156,10 @@ def from_hex(self, data, cualificador_ev):
def to_bytes(self):
return struct.pack("I", self.clave)

@property
def length(self):
return 0x0d


class C_FS_NA_2(BaseAppAsdu):
"""
Expand Down

0 comments on commit 5c07167

Please sign in to comment.