@bacnet-js/device
    Preparing search index...

    Interface BDSubscription<Tag, Type, Data>

    Represents a subscription to COV (Change of Value) notifications

    This interface defines the details of a COV subscription from another BACnet device.

    interface BDSubscription<
        Tag extends ApplicationTag,
        Type extends ApplicationTagValueTypeMap[Tag],
        Data extends BACNetAppData<Tag, Type> | BACNetAppData<Tag, Type>[],
    > {
        covIncrement: number;
        expiresAt: number;
        issueConfirmedNotifications: boolean;
        lastDataSent: null | Data;
        monitoredObjectId: BACNetObjectID;
        monitoredProperty: BACNetPropertyID;
        object: BDObject;
        property: BDAbstractProperty<Tag, Type, Data>;
        recipient: { address: number[]; network: number };
        subscriber: { address: string; forwardedFrom: null | string };
        subscriptionProcessId: number;
        timeRemaining: number;
    }

    Type Parameters

    • Tag extends ApplicationTag
    • Type extends ApplicationTagValueTypeMap[Tag]
    • Data extends BACNetAppData<Tag, Type> | BACNetAppData<Tag, Type>[]

    Hierarchy

    • BACNetCovSubscription
      • BDSubscription
    Index

    Properties

    covIncrement: number

    Counter of COV notifications sent through this subscription

    expiresAt: number

    Expiration time in milliseconds since unix epoch

    issueConfirmedNotifications: boolean

    Whether to send confirmed notifications

    lastDataSent: null | Data
    monitoredObjectId: BACNetObjectID

    Object ID being monitored for changes

    monitoredProperty: BACNetPropertyID

    Property ID being monitored for changes

    object: BDObject
    recipient: { address: number[]; network: number }
    subscriber: { address: string; forwardedFrom: null | string }

    Network address information of the subscriber

    subscriptionProcessId: number

    Process ID of the subscribing device

    timeRemaining: number