Application Service

This is a long line of text.

Device Information

This is a long line of text.

class appservice.DeviceInfo

This is a long line of text.

__init__(address=None, segmentationSupported='no-segmentation', maxApduLengthAccepted=1024, maxSegmentsAccepted=None)
Parameters:
  • localAddress (Address) – the local address
  • segmentationSupported – enumeration basetypes.BACnetSegmentation
  • maxApduLengthAccepted – maximum APDU length
  • maxSegmentsAccepted – segmentation parameter

This is a long line of text.

Segmentation State Machine

This is a long line of text.

class appservice.SSM(OneShotTask)

This is a long line of text.

remoteDevice

This is a long line of text.

invokeID

This is a long line of text.

state

This is a long line of text.

segmentAPDU

This is a long line of text.

segmentSize

This is a long line of text.

segmentCount

This is a long line of text.

maxSegmentsAccepted

This is a long line of text.

retryCount

This is a long line of text.

segmentRetryCount

This is a long line of text.

sentAllSegments

This is a long line of text.

lastSequenceNumber

This is a long line of text.

initialSequenceNumber

This is a long line of text.

actualWindowSize

This is a long line of text.

proposedWindowSize

This is a long line of text.

__init__(sap)
Parameters:sap – service access point reference

This is a long line of text.

start_timer(msecs)
Parameters:msecs – milliseconds

This is a long line of text.

stop_timer()

This is a long line of text.

restart_timer(msecs)
Parameters:msecs – milliseconds

This is a long line of text.

set_state(newState, timer=0)
Parameters:
  • newState – new state
  • timer – timer value
set_segmentation_context(apdu)
Parameters:apdu – application PDU
get_segment(indx)
Parameters:apdu – application layer PDU

This is a long line of text.

append_segment(apdu)
Parameters:apdu – application PDU

This is a long line of text.

in_window(seqA, seqB)
Parameters:
  • seqA (int) – latest sequence number
  • seqB (int) – initial sequence number

This is a long line of text.

FillWindow(self, seqNum)
Parameters:seqNum (int) – initial sequence number

This is a long line of text.

Client Segmentation State Machine

This is a long line of text.

Server Segmentation State Machine

This is a long line of text.

Application Stack

This is a long line of text.

class appservice.StateMachineAccessPoint(DeviceInfo, Client, ServiceAccessPoint)

This is a long line of text.

class appservice.ApplicationServiceAccessPoint(ApplicationServiceElement, ServiceAccessPoint)

This is a long line of text.