Client

Client

new Client(options)

Source:
Parameters:
Name Type Description
options

Methods

(static) createBitstring()

Source:
Helper function to take an array of enums and produce a bitstring suitable for inclusion as a property.
Example
[bacnet.enum.PropertyIdentifier.PROTOCOL_OBJECT_TYPES_SUPPORTED]: [
  {value: bacnet.createBitstring([
    bacnet.enum.ObjectTypesSupported.ANALOG_INPUT,
    bacnet.enum.ObjectTypesSupported.ANALOG_OUTPUT,
  ]),
  type: bacnet.enum.ApplicationTag.BIT_STRING},
],

acknowledgeAlarm(receiver, objectId, eventState, ackText, evTimeStamp, ackTimeStamp, options, next)

Source:
Parameters:
Name Type Description
receiver
objectId
eventState
ackText
evTimeStamp
ackTimeStamp
options
next

addListElement(receiver, objectId, reference, values, options, next)

Source:
Parameters:
Name Type Description
receiver
objectId
reference
values
options
next

confirmedEventNotification(receiver, eventNotification, options, next)

Source:
Parameters:
Name Type Description
receiver
eventNotification
options
next

confirmedPrivateTransfer(receiver, vendorId, serviceNumber, data, options, next)

Source:
Parameters:
Name Type Description
receiver
vendorId
serviceNumber
data
options
next

createObject(receiver, objectId, values, options, next)

Source:
Parameters:
Name Type Description
receiver
objectId
values
options
next

deleteObject(receiver, objectId, options, next)

Source:
Parameters:
Name Type Description
receiver
objectId
options
next

errorResponse(receiver, service, invokeId, errorClass, errorCode)

Source:
Parameters:
Name Type Description
receiver
service
invokeId
errorClass
errorCode

getAlarmSummary(receiver, options, next)

Source:
Parameters:
Name Type Description
receiver
options
next

getEnrollmentSummary(receiver, acknowledgmentFilter, options, next)

Source:
Parameters:
Name Type Description
receiver
acknowledgmentFilter
options
next

getEventInformation(receiver, objectId, options, next)

Source:
Parameters:
Name Type Description
receiver
objectId
options
next

iHaveResponse(receiver, deviceId, objectId, objectName)

Source:
Parameters:
Name Type Description
receiver
deviceId
objectId
objectName

readFile(receiver, objectId, position, count, options, next)

Source:
Parameters:
Name Type Description
receiver
objectId
position
count
options
next

readRange(receiver, objectId, idxBegin, quantity, options, next)

Source:
Parameters:
Name Type Description
receiver
objectId
idxBegin
quantity
options
next

removeListElement(receiver, objectId, reference, values, options, next)

Source:
Parameters:
Name Type Description
receiver
objectId
reference
values
options
next

sendBvlc(receiver, buffer)

Source:
Parameters:
Name Type Description
receiver
buffer

simpleAckResponse(receiver, service, invokeId)

Source:
Parameters:
Name Type Description
receiver
service
invokeId

subscribeCov(receiver, objectId, subscribeId, cancel, issueConfirmedNotifications, lifetime, options, next)

Source:
Parameters:
Name Type Description
receiver
objectId
subscribeId
cancel
issueConfirmedNotifications
lifetime
options
next

subscribeProperty(receiver, objectId, monitoredProperty, subscribeId, cancel, issueConfirmedNotifications, options, next)

Source:
Parameters:
Name Type Description
receiver
objectId
monitoredProperty
subscribeId
cancel
issueConfirmedNotifications
options
next

unconfirmedEventNotification(receiver, eventNotification)

Source:
Parameters:
Name Type Description
receiver
eventNotification

unconfirmedPrivateTransfer(receiver, vendorId, serviceNumber, data)

Source:
Parameters:
Name Type Description
receiver
vendorId
serviceNumber
data

writeFile(receiver, objectId, position, fileBuffer, options, next)

Source:
Parameters:
Name Type Description
receiver
objectId
position
fileBuffer
options
next