BACnet |
The BACnetBACnetDiscovery type exposes the following members.
| Name | Description | |
|---|---|---|
| DeviceIdForObjectDiscovery | Property to return the device ID for which the object discovery is in progress. Returns MaxValue if the discovery is not in progress. | |
| Devices | Collection of BACnetBACnetDiscoveryDeviceInfo objects. This is the discovered remote devices collection. | |
| DiscoveryTimeout | Property to set the timeout for Device and Object Discovery process in minutes. Maximum value is 10 and the minimum value is 1. If value passed is greater than 10 then DiscoveryTimeout is set to 10, if value is 0 it will be ignored. Default value is for this property is 1. | |
| NumberOfDiscoveredDevices | Returns the number of devices discovered. | |
| NumberOfDuplicateDevices | This property tells that the number of duplicate device ids found in the BACnet Discovery. The device ids shall be unique in the network and the duplicate ids shall be resolved. In all of the devices with duplicate device ids the first device found only will be added to the devices list and other devices will not be added to the devices list. | |
| Parent | Parent for BACnetBACnetDiscovery class. | |
| StartDeviceDiscovery | Starts Remote Device Discovery with the user specified discovery timeout in minutes by setting property DiscoveryTimeout. The default value of property DiscoveryTimeout is 1. The Discovery status will be changed to DeviceDiscoveryInProgress and BACnetDiscoveryEvent event will be fired with DeviceDiscoveryInProgressEventId if the device discovery process is started successfully. | |
| StartDiscoveryOfAllObjects | Starts the Discovery of all Objects for all the discovered devices with the specified timeout by setting the DiscoveryTimeout property, if no discovery process is already active. Nothing is done if the number of devices discovered are 0. Sends the Start Object Discovery packet to the BACnet stack for the first device in the Devices collection and the discovery status will be changed to AllObjectDiscoveryInProgress and BACnetDiscoveryEvent event will be fired with AllObjectsDiscoveryInProgressEventId. | |
| StartObjectDiscovery | Starts the Object Discovery for the specified device with the specified timeout if no discovery process is already active in minutes, by setting property DiscoveryTimeout. The default value of property DiscoveryTimeout is 1. The Discovery status will be changed to ObjectDiscoveryInProgress and BACnetDiscoveryEvent event will be fired with ObjectDiscoveryInProgressEventId if the object discovery process is started successfully. | |
| Status | Returns the status of the current BACnet Discovery. | |
| StopDeviceDiscovery | Property to stop the Device Discovery if already in progress that is started using StartDeviceDiscovery. Response timeout is set to 1 minute, for the response to be received from the BACnet stack. The Discovery status will be changed to DeviceDiscoveryStoppingInProgress and BACnetDiscoveryEvent event will be fired with DeviceDiscoveryStoppingInProgressEventId if the device discovery process is started successfully. | |
| StopObjectDiscovery | Stops the Object Discovery if Object Discovery is already in progress that is started using StartObjectDiscovery and StartDiscoveryOfAllObjects. Response timeout is set to 1 minute for the response to be received from the BACnet stack. | |
| UserSpecifiedObject | Can be assigned anything that user wants. |