ICD-001 Request Status Command
Introduction
This page covers the ICD-001 Request Status Command.
Contents
Request Status Example
<!--MsgId is the unique id of the message being sent -->
<!--Type is an integer which depending on what bits are set, specifies which status data is required -->
<?xml version="1.0" encoding="utf-8"?>
<RequestStatusCommand MsgTimeStamp="2019-02-01T12:14:01+00:00" MsgId="1" Type="3" xmlns="ICDNAV001-RequestStatusCommand.xsd">
<Sender SenderId="SenderId1" NetworkAddress="NetworkAddress1" NetworkPort="1" />
</RequestStatusCommand>
Request Status Command Element
The request status command provides the ability to request a ICD-001 Status Report from Witness. The command includes a filter option which allows external systems to request all status data or only specific data.
Request Status Command Attributes
Attributes | Description | Type | Notes |
MsgId | Unique message Id | Long | This must be globally unique across all message types |
MsgTimeStamp | Date and time that the message was sent | DateTime | |
Type | An integer which represents one or more status elements to request. Options are set by enabling bits in the integer as follows:
| Integer | You need to use a bitwise operation to send the relevant integer to request the different status data. For example:
A value of zero will be ignored and no data will be returned. |
The Area Status data is filtered by default. This filter is a setting in the ICD-001 plugin configuration; see ICD-001 Plugin. On sites where there may be many areas and areas of different types i.e. Camera, Detection etc, then it may be desirable to filter the area type so the status message only contains the area types you are interested in.
Network Sender Element
Each incoming message can include an optional Sender element. This must include the IP address and port that the client is using to send instructions.
If the Sender element is included the NetworkAddress value will be checked against the subscriber IP address and the command rejected if they do not match.Â
In addition the Sender element is included in the Command Reply. This is a duplicate of the incoming details (i.e. the subscribers IP address and port). The subscriber can use this to verify that they authored the message.
Related Information
-
ICD-001 Track Filter Command (Witness 4.0)
-
ICD-001 Acknowledge Alarm Command (Witness 4.0)
-
ICD-001 Request Status Command (Witness 4.0)
-
ICD-001 Detection Command (Witness 4.0)
-
ICD-001 Update Entity Command (Witness 4.0)
-
ICD-001 System Profile Command (Witness 4.0)
-
ICD-001 External Trigger Command (Witness 4.0)
-
ICD-001 Command Reply (Witness 4.0)
-
ICD-001 Camera Command (Witness 4.0)
-
ICD-001 Track Command (Witness 4.0)
Â