Module Expr Str Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias alias alias ImportFrom alias alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias Assign NameStore Num Assign NameStore Call NameLoad Call NameLoad Assign NameStore NameLoad Assign NameStore NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Raise Call NameLoad keyword Str keyword Str Assign NameStore BinOpMult Call AttributeLoad NameLoad attr Num If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad NameLoad NameLoad Raise Call NameLoad keyword Str keyword Str decorator_list decorator_list NameLoad ClassDef bases NameLoad body Assign NameStore ListLoad Call NameLoad Str FunctionDef arguments args NameParam defaults kwarg body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list NameLoad Expr Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad keyword Str keyword Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse If BoolOpAnd Call NameLoad NameLoad NameLoad CompareIsNot NameLoad NameLoad body If CompareEq NameLoad Num body Assign NameStore Call NameLoad NameLoad orelse If Call NameLoad AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise NameLoad BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad Call NameLoad NameLoad attr orelse If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad Call NameLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad NameLoad Assign NameStore Call NameLoad TryExcept body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword Str keyword Str ExceptHandler type NameLoad name NameStore body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore NameLoad Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad If CompareEq NameLoad TupleLoad Str Num body If NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot NameLoad body Assign NameStore Call NameLoad keyword Str keyword Str keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Break Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad If CompareIn NameLoad TupleLoad Str Str Str body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr If CompareEq NameLoad Str body Pass orelse If BoolOpAnd CompareEq NameLoad Str AttributeLoad NameLoad attr body If NameLoad body Expr Call AttributeLoad NameLoad attr Str Continue orelse If BoolOpAnd CompareEq NameLoad Str UnaryOpNot AttributeLoad NameLoad attr body If NameLoad body Expr Call AttributeLoad NameLoad attr Str Continue Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr CompareEq AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str body Continue Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Assign NameStore Call NameLoad keyword NameLoad Assign AttributeStore NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list NameLoad TryFinally body TryExcept body Assign NameStore Call AttributeLoad Call NameLoad keyword NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad keyword TupleLoad Str Num keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad keyword TupleLoad Str Num keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr Str NameLoad finalbody Expr Call AttributeLoad NameLoad attr Str
N/A N/A 
This sample application shows how to extend the basic functionality of a device 
to support the ReadPropertyMultiple service.
 N/A random bacpypes.debugging bacpypes_debugging ModuleLogger bacpypes.consolelogging ConfigArgumentParser bacpypes.core run bacpypes.primitivedata Atomic Real Unsigned bacpypes.constructeddata Array Any bacpypes.basetypes ServicesSupported ErrorType bacpypes.apdu ReadPropertyMultipleACK ReadAccessResult ReadAccessResultElement ReadAccessResultElementChoice bacpypes.app LocalDeviceObject BIPSimpleApplication bacpypes.object AnalogValueObject Property PropertyError register_object_type bacpypes.apdu Error bacpypes.errors ExecutionError N/A _debug 0 N/A _log N/A ModuleLogger N/A globals N/A this_device None N/A this_application None RandomValueProperty N/A Property N/A __init__ N/A N/A self identifier N/A N/A N/A _debug N/A N/A N/A N/A RandomValueProperty _debug __init__ %r identifier N/A N/A N/A Property __init__ self identifier Real default None optional True mutable False N/A ReadProperty N/A N/A self obj arrayIndex N/A None N/A N/A _debug N/A N/A N/A N/A RandomValueProperty _debug ReadProperty %r arrayIndex=%r obj arrayIndex N/A N/A arrayIndex None N/A N/A N/A ExecutionError errorClass property errorCode propertyIsNotAnArray N/A value N/A N/A N/A random random 100.0 N/A _debug N/A N/A N/A N/A RandomValueProperty _debug     - value: %r value N/A value N/A WriteProperty N/A N/A self obj value arrayIndex priority direct N/A None None False N/A N/A _debug N/A N/A N/A N/A RandomValueProperty _debug WriteProperty %r %r arrayIndex=%r priority=%r direct=%r obj value arrayIndex priority direct N/A N/A ExecutionError errorClass property errorCode writeAccessDenied N/A N/A bacpypes_debugging RandomAnalogValueObject N/A AnalogValueObject N/A N/A properties N/A N/A RandomValueProperty presentValue __init__ N/A N/A self N/A kwargs N/A N/A _debug N/A N/A N/A N/A RandomAnalogValueObject _debug __init__ %r kwargs N/A N/A N/A AnalogValueObject __init__ self kwargs N/A N/A bacpypes_debugging N/A N/A register_object_type RandomAnalogValueObject ReadPropertyToAny N/A N/A obj propertyIdentifier propertyArrayIndex N/A None N/A N/A Read the specified property of the object, with the optional array index,
    and cast the result into an Any object. N/A _debug N/A N/A N/A N/A ReadPropertyToAny _debug ReadPropertyToAny %s %r %r obj propertyIdentifier propertyArrayIndex N/A datatype N/A N/A obj get_datatype propertyIdentifier N/A _debug N/A N/A N/A N/A ReadPropertyToAny _debug     - datatype: %r datatype N/A N/A datatype None N/A N/A N/A ExecutionError errorClass property errorCode datatypeNotSupported N/A value N/A N/A obj ReadProperty propertyIdentifier propertyArrayIndex N/A _debug N/A N/A N/A N/A ReadPropertyToAny _debug     - value: %r value N/A N/A value None N/A N/A N/A ExecutionError errorClass property errorCode unknownProperty N/A N/A issubclass datatype Atomic N/A N/A value N/A datatype value N/A N/A N/A N/A issubclass datatype Array N/A propertyArrayIndex None N/A N/A N/A propertyArrayIndex 0 N/A N/A value N/A Unsigned value N/A N/A N/A issubclass N/A datatype subtype Atomic N/A N/A value N/A N/A datatype subtype value N/A N/A N/A N/A isinstance value N/A datatype subtype N/A N/A TypeError N/A invalid result datatype, expecting %s and got %s N/A N/A N/A datatype subtype __name__ N/A N/A type value __name__ N/A N/A N/A N/A isinstance value datatype N/A N/A TypeError N/A invalid result datatype, expecting %s and got %s N/A N/A datatype __name__ N/A N/A type value __name__ N/A _debug N/A N/A N/A N/A ReadPropertyToAny _debug     - encodeable value: %r value N/A result N/A Any N/A N/A N/A result cast_in value N/A _debug N/A N/A N/A N/A ReadPropertyToAny _debug     - result: %r result N/A result N/A bacpypes_debugging ReadPropertyToResultElement N/A N/A obj propertyIdentifier propertyArrayIndex N/A None N/A N/A Read the specified property of the object, with the optional array index,
    and cast the result into an Any object. N/A _debug N/A N/A N/A N/A ReadPropertyToResultElement _debug ReadPropertyToResultElement %s %r %r obj propertyIdentifier propertyArrayIndex N/A read_result N/A ReadAccessResultElementChoice N/A N/A N/A N/A read_result propertyValue N/A ReadPropertyToAny obj propertyIdentifier propertyArrayIndex N/A _debug N/A N/A N/A N/A ReadPropertyToResultElement _debug     - success N/A N/A N/A PropertyError N/A error N/A N/A _debug N/A N/A N/A N/A ReadPropertyToResultElement _debug     - error: %r error N/A N/A read_result propertyAccessError N/A ErrorType errorClass property errorCode unknownProperty N/A N/A ExecutionError N/A error N/A N/A _debug N/A N/A N/A N/A ReadPropertyToResultElement _debug     - error: %r error N/A N/A read_result propertyAccessError N/A ErrorType errorClass N/A error errorClass errorCode N/A error errorCode N/A read_access_result_element N/A ReadAccessResultElement propertyIdentifier propertyIdentifier propertyArrayIndex propertyArrayIndex readResult read_result N/A _debug N/A N/A N/A N/A ReadPropertyToResultElement _debug     - read_access_result_element: %r read_access_result_element N/A read_access_result_element N/A bacpypes_debugging ReadPropertyMultipleApplication N/A BIPSimpleApplication N/A __init__ N/A N/A self N/A args kwargs N/A N/A _debug N/A N/A N/A N/A ReadPropertyMultipleApplication _debug __init__ %r %r args kwargs N/A N/A N/A BIPSimpleApplication __init__ self args kwargs N/A do_ReadPropertyMultipleRequest N/A N/A self apdu N/A N/A N/A Respond to a ReadPropertyMultiple Request. N/A _debug N/A N/A N/A N/A ReadPropertyMultipleApplication _debug do_ReadPropertyMultipleRequest %r apdu N/A resp None N/A read_access_result_list N/A N/A read_access_spec N/A apdu listOfReadAccessSpecs N/A N/A objectIdentifier N/A read_access_spec objectIdentifier N/A _debug N/A N/A N/A N/A ReadPropertyMultipleApplication _debug     - objectIdentifier: %r objectIdentifier N/A N/A objectIdentifier N/A device 4194303 N/A N/A _debug N/A N/A N/A N/A ReadPropertyMultipleApplication _debug     - wildcard device identifier N/A objectIdentifier N/A N/A self localDevice objectIdentifier N/A obj N/A N/A self get_object_id objectIdentifier N/A _debug N/A N/A N/A N/A ReadPropertyMultipleApplication _debug     - object: %r obj N/A N/A obj N/A N/A resp N/A Error errorClass object errorCode unknownObject context apdu N/A _debug N/A N/A N/A N/A ReadPropertyMultipleApplication _debug     - unknown object error: %r resp N/A N/A read_access_result_element_list N/A N/A prop_reference N/A read_access_spec listOfPropertyReferences N/A N/A propertyIdentifier N/A prop_reference propertyIdentifier N/A _debug N/A N/A N/A N/A ReadPropertyMultipleApplication _debug     - propertyIdentifier: %r propertyIdentifier N/A propertyArrayIndex N/A prop_reference propertyArrayIndex N/A _debug N/A N/A N/A N/A ReadPropertyMultipleApplication _debug     - propertyArrayIndex: %r propertyArrayIndex N/A N/A propertyIdentifier N/A all required optional N/A N/A N/A propId prop N/A N/A N/A obj _properties items N/A N/A _debug N/A N/A N/A N/A ReadPropertyMultipleApplication _debug     - checking: %r %r propId N/A prop optional N/A N/A propertyIdentifier all N/A N/A N/A N/A N/A N/A propertyIdentifier required N/A prop optional N/A N/A _debug N/A N/A N/A N/A ReadPropertyMultipleApplication _debug     - not a required property N/A N/A N/A N/A N/A propertyIdentifier optional N/A N/A prop optional N/A N/A _debug N/A N/A N/A N/A ReadPropertyMultipleApplication _debug     - not an optional property N/A N/A read_access_result_element N/A ReadPropertyToResultElement obj propId propertyArrayIndex N/A N/A N/A N/A read_access_result_element readResult propertyAccessError N/A N/A N/A N/A read_access_result_element readResult propertyAccessError errorCode unknownProperty N/A N/A N/A N/A N/A read_access_result_element_list append read_access_result_element N/A N/A read_access_result_element N/A ReadPropertyToResultElement obj propertyIdentifier propertyArrayIndex N/A N/A N/A read_access_result_element_list append read_access_result_element N/A read_access_result N/A ReadAccessResult objectIdentifier objectIdentifier listOfResults read_access_result_element_list N/A _debug N/A N/A N/A N/A ReadPropertyMultipleApplication _debug     - read_access_result: %r read_access_result N/A N/A N/A read_access_result_list append read_access_result N/A N/A resp N/A N/A resp N/A ReadPropertyMultipleACK context apdu N/A N/A resp listOfReadAccessResults read_access_result_list N/A _debug N/A N/A N/A N/A ReadPropertyMultipleApplication _debug     - resp: %r resp N/A N/A N/A self response resp N/A N/A bacpypes_debugging N/A N/A N/A N/A N/A args N/A N/A N/A ConfigArgumentParser description __doc__ parse_args N/A _debug N/A N/A N/A N/A _log debug initialization N/A _debug N/A N/A N/A N/A _log debug     - args: %r args N/A this_device N/A LocalDeviceObject objectName N/A N/A args ini objectname objectIdentifier N/A int N/A N/A args ini objectidentifier maxApduLengthAccepted N/A int N/A N/A args ini maxapdulengthaccepted segmentationSupported N/A N/A args ini segmentationsupported vendorIdentifier N/A int N/A N/A args ini vendoridentifier N/A this_application N/A ReadPropertyMultipleApplication this_device N/A N/A args ini address N/A ravo1 N/A RandomAnalogValueObject objectIdentifier N/A analogValue 1 objectName Random1 N/A N/A N/A _log debug     - ravo1: %r ravo1 N/A ravo2 N/A RandomAnalogValueObject objectIdentifier N/A analogValue 2 objectName Random2 N/A N/A N/A _log debug     - ravo2: %r ravo2 N/A N/A N/A this_application add_object ravo1 N/A N/A N/A this_application add_object ravo2 N/A N/A N/A _log debug     - object list: %r N/A this_device objectList N/A services_supported N/A N/A this_application get_services_supported N/A _debug N/A N/A N/A N/A _log debug     - services_supported: %r services_supported N/A N/A this_device protocolServicesSupported N/A services_supported value N/A N/A N/A _log debug running N/A N/A run N/A N/A N/A Exception N/A e N/A N/A N/A N/A _log exception an error has occurred: %s e N/A N/A N/A N/A _log debug finally