QuercusVL Programming Manual
old identifier (can have been modified). On the other hand, if a new detector is
added, it must be set to -1.
●
Detector: detector description, using a structure
QueueDetector
.
Answer
ACK/NAK
If a NAK message is received as an answer, its subcode field will give more detailed
information about why the query has failed. See 4.8.2. NAK.
4.9.27. SetRedLightDetector
Add or modify a red light detector in the configuration system.
Query
The structure corresponds to the version 3. Check 5. Communications protocol (old versions)
to see the older versions.
●
Type: 165
●
Message Data:
●
SessionId: session identifier obtained at the last valid “Login”.
●
Action (Act): action :
○
0: modify the existing detector.
○
1: add a new detector.
●
PeviousId: if an existing detector is modified, this parameter must indicate the
old identifier (can have been modified). On the other hand, if a new detector is
added, it must be set to -1.
●
Detector: detector description, using a structure
RedLightDetector
.
Answer
ACK/NAK
If a NAK message is received as an answer, its subcode field will give more detailed
information about why the query has failed. See 4.8.2. NAK.
Quercus Technologies
176
2
Act
4
SessionId
4
PreviousId
157
Detector