Skip to content

Instantly share code, notes, and snippets.

@ChristianTremblay
Created March 9, 2016 00:48
Show Gist options
  • Save ChristianTremblay/0034702419be4a91ec65 to your computer and use it in GitHub Desktop.
Save ChristianTremblay/0034702419be4a91ec65 to your computer and use it in GitHub Desktop.
> read 2:5 analogInput 1 presentValue
DEBUG:bacpypes.appservice.ApplicationServiceAccessPoint:sap_indication <bacpypes.apdu.ReadPropertyRequest(12) instance at 0x7ff1bae8a6d8>
<bacpypes.apdu.ReadPropertyRequest(12) instance at 0x7ff1bae8a6d8>
pduDestination = <Address 2:5>
pduExpectingReply = 1
pduNetworkPriority = 0
apduType = 0
apduService = 12
objectIdentifier = ('analogInput', 1)
propertyIdentifier = 'presentValue'
pduData = x''
DEBUG:bacpypes.appservice.ApplicationServiceAccessPoint: - xpdu <bacpypes.apdu.ConfirmedRequestPDU(12) instance at 0x7ff1bae8a860>
<bacpypes.apdu.ConfirmedRequestPDU(12) instance at 0x7ff1bae8a860>
pduDestination = <Address 2:5>
pduExpectingReply = 1
pduNetworkPriority = 0
apduType = 0
apduService = 12
pduData = x'0c.00.00.00.01.19.55'
DEBUG:bacpypes.appservice.StateMachineAccessPoint:sap_indication <bacpypes.apdu.ConfirmedRequestPDU(12) instance at 0x7ff1bae8a860>
<bacpypes.apdu.ConfirmedRequestPDU(12) instance at 0x7ff1bae8a860>
pduDestination = <Address 2:5>
pduExpectingReply = 1
pduNetworkPriority = 0
apduType = 0
apduService = 12
pduData = x'0c.00.00.00.01.19.55'
DEBUG:bacpypes.appservice.StateMachineAccessPoint:get_next_invoke_id
DEBUG:bacpypes.appservice.SSM:__init__ <bacpypes.appservice.StateMachineAccessPoint object at 0x7ff1bae6dc50>
<bacpypes.appservice.StateMachineAccessPoint object at 0x7ff1bae6dc50>
segmentationSupported = 'segmentedBoth'
maxApduLengthAccepted = 1024
maxSegmentsAccepted = 16
DEBUG:bacpypes.appservice.ClientSSM:indication <bacpypes.apdu.ConfirmedRequestPDU(12,1) instance at 0x7ff1bae8a860>
<bacpypes.apdu.ConfirmedRequestPDU(12,1) instance at 0x7ff1bae8a860>
pduDestination = <Address 2:5>
pduExpectingReply = 1
pduNetworkPriority = 0
apduType = 0
apduService = 12
apduInvokeID = 1
pduData = x'0c.00.00.00.01.19.55'
DEBUG:bacpypes.appservice.SSM:set_segmentation_context <bacpypes.apdu.ConfirmedRequestPDU(12,1) instance at 0x7ff1bae8a860>
DEBUG:bacpypes.appservice.ClientSSM: - invoke ID: 1
DEBUG:bacpypes.appservice.StateMachineAccessPoint:get_device_info <Address 2:5>
DEBUG:bacpypes.appservice.ClientSSM: - segment size: 1024
DEBUG:bacpypes.appservice.ClientSSM: - segment count: 1
DEBUG:bacpypes.appservice.ClientSSM:set_state 2 (AWAIT_CONFIRMATION) timer=6000
DEBUG:bacpypes.appservice.SSM:set_state 2 (AWAIT_CONFIRMATION) timer=6000
DEBUG:bacpypes.appservice.SSM:stop_timer
DEBUG:bacpypes.appservice.SSM:start_timer 6000
DEBUG:bacpypes.appservice.SSM:get_segment 0
DEBUG:bacpypes.appservice.SSM: - confirmed request context
DEBUG:bacpypes.appservice.SSM: - segmented response accepted: True
DEBUG:bacpypes.appservice.SSM: - self.ssmSAP.segmentationSupported: 'segmentedBoth'
DEBUG:bacpypes.appservice.ClientSSM:request <bacpypes.apdu.ConfirmedRequestPDU(12,1) instance at 0x7ff1bae8aa20>
<bacpypes.apdu.ConfirmedRequestPDU(12,1) instance at 0x7ff1bae8aa20>
pduDestination = <Address 2:5>
pduExpectingReply = 1
pduNetworkPriority = 0
apduType = 0
apduSeg = False
apduMor = False
apduSA = True
apduMaxSegs = 16
apduMaxResp = 1024
apduService = 12
apduInvokeID = 1
pduData = x'0c.00.00.00.01.19.55'
> DEBUG:bacpypes.appservice.ClientSSM:process_task
DEBUG:bacpypes.appservice.ClientSSM:await_confirmation_timeout
DEBUG:bacpypes.appservice.ClientSSM: - no response, try again (1 < 3)
DEBUG:bacpypes.appservice.ClientSSM:indication <bacpypes.apdu.ConfirmedRequestPDU(12,1) instance at 0x7ff1bae8a860>
<bacpypes.apdu.ConfirmedRequestPDU(12,1) instance at 0x7ff1bae8a860>
pduDestination = <Address 2:5>
pduExpectingReply = 1
pduNetworkPriority = 0
apduType = 0
apduService = 12
apduInvokeID = 1
pduData = x'0c.00.00.00.01.19.55'
DEBUG:bacpypes.appservice.SSM:set_segmentation_context <bacpypes.apdu.ConfirmedRequestPDU(12,1) instance at 0x7ff1bae8a860>
DEBUG:bacpypes.appservice.ClientSSM: - invoke ID: 1
DEBUG:bacpypes.appservice.StateMachineAccessPoint:get_device_info <Address 2:5>
DEBUG:bacpypes.appservice.ClientSSM: - segment size: 1024
DEBUG:bacpypes.appservice.ClientSSM: - segment count: 1
DEBUG:bacpypes.appservice.ClientSSM:set_state 2 (AWAIT_CONFIRMATION) timer=6000
DEBUG:bacpypes.appservice.SSM:set_state 2 (AWAIT_CONFIRMATION) timer=6000
DEBUG:bacpypes.appservice.SSM:stop_timer
DEBUG:bacpypes.appservice.SSM:start_timer 6000
DEBUG:bacpypes.appservice.SSM:get_segment 0
DEBUG:bacpypes.appservice.SSM: - confirmed request context
DEBUG:bacpypes.appservice.SSM: - segmented response accepted: True
DEBUG:bacpypes.appservice.SSM: - self.ssmSAP.segmentationSupported: 'segmentedBoth'
DEBUG:bacpypes.appservice.ClientSSM:request <bacpypes.apdu.ConfirmedRequestPDU(12,1) instance at 0x7ff1bae8a908>
<bacpypes.apdu.ConfirmedRequestPDU(12,1) instance at 0x7ff1bae8a908>
pduDestination = <Address 2:5>
pduExpectingReply = 1
pduNetworkPriority = 0
apduType = 0
apduSeg = False
apduMor = False
apduSA = True
apduMaxSegs = 16
apduMaxResp = 1024
apduService = 12
apduInvokeID = 1
pduData = x'0c.00.00.00.01.19.55'
DEBUG:bacpypes.appservice.StateMachineAccessPoint:confirmation <bacpypes.apdu.APDU(ComplexAckPDU,1) instance at 0x7ff1bae8ac88>
<bacpypes.apdu.APDU(ComplexAckPDU,1) instance at 0x7ff1bae8ac88>
pduSource = <RemoteStation 2:5>
pduDestination = <Address 192.168.210.51>
pduExpectingReply = False
pduNetworkPriority = 0
apduType = 3
apduSeg = False
apduMor = False
apduService = 12
apduInvokeID = 1
pduData = x'0c.00.00.00.01.19.55.3e.44.41.a3.85.1f.3f'
DEBUG:bacpypes.appservice.StateMachineAccessPoint: - apdu: <bacpypes.apdu.ComplexAckPDU(12,1) instance at 0x7ff1bae8ae80>
<bacpypes.apdu.ComplexAckPDU(12,1) instance at 0x7ff1bae8ae80>
pduSource = <RemoteStation 2:5>
pduDestination = <Address 192.168.210.51>
pduExpectingReply = False
pduNetworkPriority = 0
apduType = 3
apduSeg = False
apduMor = False
apduService = 12
apduInvokeID = 1
pduData = x'0c.00.00.00.01.19.55.3e.44.41.a3.85.1f.3f'
DEBUG:bacpypes.appservice.ClientSSM:confirmation <bacpypes.apdu.ComplexAckPDU(12,1) instance at 0x7ff1bae8ae80>
<bacpypes.apdu.ComplexAckPDU(12,1) instance at 0x7ff1bae8ae80>
pduSource = <RemoteStation 2:5>
pduDestination = <Address 192.168.210.51>
pduExpectingReply = False
pduNetworkPriority = 0
apduType = 3
apduSeg = False
apduMor = False
apduService = 12
apduInvokeID = 1
pduData = x'0c.00.00.00.01.19.55.3e.44.41.a3.85.1f.3f'
DEBUG:bacpypes.appservice.ClientSSM:await_confirmation <bacpypes.apdu.ComplexAckPDU(12,1) instance at 0x7ff1bae8ae80>
<bacpypes.apdu.ComplexAckPDU(12,1) instance at 0x7ff1bae8ae80>
pduSource = <RemoteStation 2:5>
pduDestination = <Address 192.168.210.51>
pduExpectingReply = False
pduNetworkPriority = 0
apduType = 3
apduSeg = False
apduMor = False
apduService = 12
apduInvokeID = 1
pduData = x'0c.00.00.00.01.19.55.3e.44.41.a3.85.1f.3f'
DEBUG:bacpypes.appservice.ClientSSM: - complex ack
DEBUG:bacpypes.appservice.ClientSSM: - unsegmented
DEBUG:bacpypes.appservice.ClientSSM:set_state 6 (COMPLETED) timer=0
DEBUG:bacpypes.appservice.SSM:set_state 6 (COMPLETED) timer=0
DEBUG:bacpypes.appservice.SSM:stop_timer
DEBUG:bacpypes.appservice.ClientSSM:response <bacpypes.apdu.ComplexAckPDU(12,1) instance at 0x7ff1bae8ae80>
<bacpypes.apdu.ComplexAckPDU(12,1) instance at 0x7ff1bae8ae80>
pduSource = <RemoteStation 2:5>
pduDestination = <Address 192.168.210.51>
pduExpectingReply = False
pduNetworkPriority = 0
apduType = 3
apduSeg = False
apduMor = False
apduService = 12
apduInvokeID = 1
pduData = x'0c.00.00.00.01.19.55.3e.44.41.a3.85.1f.3f'
DEBUG:bacpypes.appservice.ApplicationServiceAccessPoint:confirmation <bacpypes.apdu.ComplexAckPDU(12,1) instance at 0x7ff1bae8ae80>
<bacpypes.apdu.ComplexAckPDU(12,1) instance at 0x7ff1bae8ae80>
pduSource = <Address 2:5>
pduExpectingReply = False
pduNetworkPriority = 0
apduType = 3
apduSeg = False
apduMor = False
apduService = 12
apduInvokeID = 1
pduData = x'0c.00.00.00.01.19.55.3e.44.41.a3.85.1f.3f'
DEBUG:bacpypes.appservice.ApplicationServiceAccessPoint: - xpdu <bacpypes.apdu.ReadPropertyACK(12,1) instance at 0x7ff1bae8aef0>
<bacpypes.apdu.ReadPropertyACK(12,1) instance at 0x7ff1bae8aef0>
pduSource = <Address 2:5>
pduExpectingReply = False
pduNetworkPriority = 0
apduType = 3
apduSeg = False
apduMor = False
apduService = 12
apduInvokeID = 1
objectIdentifier = ('analogInput', 1)
propertyIdentifier = 'presentValue'
propertyValue
<bacpypes.primitivedata.Tag(real) instance at 0x7ff1baea72b0>
tagClass = 0 application
tagNumber = 4 real
tagLVT = 4
tagData = '41.a3.85.1f'
pduData = x''
20.440000534057617
DEBUG:bacpypes.appservice.StateMachineAccessPoint:confirmation <bacpypes.apdu.APDU(ComplexAckPDU,1) instance at 0x7ff1bae8ada0>
<bacpypes.apdu.APDU(ComplexAckPDU,1) instance at 0x7ff1bae8ada0>
pduSource = <RemoteStation 2:5>
pduDestination = <Address 192.168.210.51>
pduExpectingReply = False
pduNetworkPriority = 0
apduType = 3
apduSeg = False
apduMor = False
apduService = 12
apduInvokeID = 1
pduData = x'0c.00.00.00.01.19.55.3e.44.41.a3.85.1f.3f'
DEBUG:bacpypes.appservice.StateMachineAccessPoint: - apdu: <bacpypes.apdu.ComplexAckPDU(12,1) instance at 0x7ff1bae8a6a0>
<bacpypes.apdu.ComplexAckPDU(12,1) instance at 0x7ff1bae8a6a0>
pduSource = <RemoteStation 2:5>
pduDestination = <Address 192.168.210.51>
pduExpectingReply = False
pduNetworkPriority = 0
apduType = 3
apduSeg = False
apduMor = False
apduService = 12
apduInvokeID = 1
pduData = x'0c.00.00.00.01.19.55.3e.44.41.a3.85.1f.3f'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment