NET_ITC_SINGLE_RS485_LIGHT_PARAM

Structure about single RS-485 access traffic light parameters.

Structure Definition

struct{
  BYTE    byLightType;
  BYTE    byRelatedLightChan;
  BYTE    byInputLight;
  BYTE    byRelatedYLightChan;
  BYTE    byRes[16];
}NET_ITC_SINGLE_RS485_LIGHT_PARAM, *LPNET_ITC_SINGLE_RS485_LIGHT_PARAM;

Members

byLightType

Guiding direction type of the traffic light: 0-left turn signal, 1-straight signal, 2-right turn signal.

byRelatedLightChan

No. of the traffic light detector channel linked to the red light, ranging from 0 to 16, 0 indicates no red light.

byInputLight

Accessed traffic light type: 0-access red light, 1-access green light. It is not supported by ITS cameras.

byRelatedYLightChan

No. of the traffic light detector channel linked to the yellow light, ranging from 0 to 16, 0 indicates no yellow light.

byRes

Reserved, set to 0.

Remarks

For example, if the traffic light types in the intersection includes left turn+straight and right turn, you need to configure three arrays. The first array is for left turn signal and linked to detector channel 1, the second array is for straight signal and linked to detector channel 1, and the third array is for right turn signal and linked to detector channel 2.