Go to the documentation of this file. 1 #ifndef facilitiesConstantes_H 2 #define facilitiesConstantes_H 5 #define FACILITIES_CAM_REQ 5100 6 #define FACILITIES_CAM_REP 5101 7 #define FACILITIES_CAM_IND 5102 9 #define FACILITIES_DENM_REQ 5200 10 #define FACILITIES_DENM_REP 5201 11 #define FACILITIES_DENM_IND 5202 13 #define BTP_CAM_PORT 2001 14 #define BTP_DENM_PORT 2002 15 #define BTP_MAP_PORT 2003 16 #define BTP_SPAT_PORT 2004 17 #define BTP_SAM_PORT 2005 20 #define T_GenCamMin 100 21 #define T_GenCamMax 1000 22 #define MSG_LENGTH 500 27 #define MT_AppDENM_trigger 0x53 28 #define MT_AppDENM_update 0x54 29 #define MT_AppDENM_termination 0x55 30 #define MT_AppDENM_result 0x56 33 #define SUCCESS_FAIL 0x00 34 #define SUCCESS_SUCCESS 0x01 133 #define LGHT_AppDENM_trigger_MessageType 1 134 #define LGHT_AppDENM_trigger_Options 1 135 #define LGHT_AppDENM_trigger_DetectionTime 8 136 #define LGHT_AppDENM_trigger_EventPosition 16 137 #define LGHT_AppDENM_trigger_ValidityDuration 4 138 #define LGHT_AppDENM_trigger_RepetitionDuration 2 139 #define LGHT_AppDENM_trigger_RepetitionInterval 2 140 #define LGHT_AppDENM_trigger_TransmissionInterval 2 141 #define LGHT_AppDENM_trigger_SituationLength 2 142 #define LGHT_AppDENM_trigger_LocationLength 2 143 #define LGHT_AppDENM_trigger_AlacarteLength 2 144 #define LGHT_AppDENM_trigger_RelevanceDist 1 145 #define LGHT_AppDENM_trigger_RelevanceTD 1 146 #define LGHT_AppDENM_trigger_DestinationLatitude 4 147 #define LGHT_AppDENM_trigger_DestinationLongitude 4 148 #define LGHT_AppDENM_trigger_DistanceA 2 149 #define LGHT_AppDENM_trigger_DistanceB 2 150 #define LGHT_AppDENM_trigger_Angle 2 151 #define LGHT_AppDENM_trigger_TrafficClass 1 153 #define OPT_AppDENM_trigger_ValidityDuration 7 154 #define OPT_AppDENM_trigger_RepetitionDuration 6 155 #define OPT_AppDENM_trigger_TransmissionInterval 5 156 #define OPT_AppDENM_trigger_RepetitionInterval 4 157 #define OPT_AppDENM_trigger_Situation 3 158 #define OPT_AppDENM_trigger_Location 2 159 #define OPT_AppDENM_trigger_Alacarte 1 160 #define OPT_AppDENM_trigger_Area 0 162 #define Pos_AppDENM_trigger_MessageType 0 163 #define Pos_AppDENM_trigger_Options 1 164 #define Beg_AppDENM_trigger_DetectionTime 2 165 #define End_AppDENM_trigger_DetectionTime Beg_AppDENM_trigger_DetectionTime + \ 166 LGHT_AppDENM_trigger_DetectionTime 167 #define Beg_AppDENM_trigger_EventPosition 10 168 #define End_AppDENM_trigger_EventPosition Beg_AppDENM_trigger_EventPosition + \ 169 LGHT_AppDENM_trigger_EventPosition 170 #define Beg_AppDENM_trigger_ValidityDuration 26 171 #define End_AppDENM_trigger_ValidityDuration Beg_AppDENM_trigger_ValidityDuration + \ 172 LGHT_AppDENM_trigger_ValidityDuration 173 #define Beg_AppDENM_trigger_RepetitionDuration 26 174 #define End_AppDENM_trigger_RepetitionDuration Beg_AppDENM_trigger_RepetitionDuration + \ 175 LGHT_AppDENM_trigger_RepetitionDuration 176 #define Beg_AppDENM_trigger_TransmissionInterval 26 177 #define End_AppDENM_trigger_TransmissionInterval Beg_AppDENM_trigger_TransmissionInterval + \ 178 LGHT_AppDENM_trigger_TransmissionInterval 179 #define Beg_AppDENM_trigger_RepetitionInterval 26 180 #define End_AppDENM_trigger_RepetitionInterval Beg_AppDENM_trigger_RepetitionInterval + \ 181 LGHT_AppDENM_trigger_RepetitionInterval 182 #define Beg_AppDENM_trigger_SituationLength 26 183 #define End_AppDENM_trigger_SituationLength Beg_AppDENM_trigger_SituationLength + \ 184 LGHT_AppDENM_trigger_SituationLength 185 #define Beg_AppDENM_trigger_Situation 28 186 #define End_AppDENM_trigger_Situation Beg_AppDENM_trigger_Situation 187 #define Beg_AppDENM_trigger_LocationLength 26 188 #define End_AppDENM_trigger_LocationLength Beg_AppDENM_trigger_LocationLength + \ 189 LGHT_AppDENM_trigger_LocationLength 190 #define Beg_AppDENM_trigger_Location 28 191 #define End_AppDENM_trigger_Location Beg_AppDENM_trigger_Location 192 #define Beg_AppDENM_trigger_AlacarteLength 26 193 #define End_AppDENM_trigger_AlacarteLength Beg_AppDENM_trigger_AlacarteLength + \ 194 LGHT_AppDENM_trigger_AlacarteLength 195 #define Beg_AppDENM_trigger_Alacarte 28 196 #define End_AppDENM_trigger_Alacarte Beg_AppDENM_trigger_Alacarte 197 #define Pos_AppDENM_trigger_RelevanceDist 26 198 #define Pos_AppDENM_trigger_RelevanceTD 27 199 #define Beg_AppDENM_trigger_DestinationLatitude 26 200 #define End_AppDENM_trigger_DestinationLatitude Beg_AppDENM_trigger_DestinationLatitude + \ 201 LGHT_AppDENM_trigger_DestinationLatitude 202 #define Beg_AppDENM_trigger_DestinationLongitude 30 203 #define End_AppDENM_trigger_DestinationLongitude Beg_AppDENM_trigger_DestinationLongitude + \ 204 LGHT_AppDENM_trigger_DestinationLongitude 205 #define Beg_AppDENM_trigger_DistanceA 34 206 #define End_AppDENM_trigger_DistanceA Beg_AppDENM_trigger_DistanceA + \ 207 LGHT_AppDENM_trigger_DistanceA 208 #define Beg_AppDENM_trigger_DistanceB 36 209 #define End_AppDENM_trigger_DistanceB Beg_AppDENM_trigger_DistanceB + \ 210 LGHT_AppDENM_trigger_DistanceB 211 #define Beg_AppDENM_trigger_Angle 38 212 #define End_AppDENM_trigger_Angle Beg_AppDENM_trigger_Angle + \ 213 LGHT_AppDENM_trigger_Angle 214 #define Pos_AppDENM_trigger_TrafficClass 40 318 #define LGHT_AppDENM_update_MessageType 1 319 #define LGHT_AppDENM_update_Options 2 320 #define LGHT_AppDENM_update_OriginatingStationID 4 321 #define LGHT_AppDENM_update_SequenceNumber 2 322 #define LGHT_AppDENM_update_DetectionTime 8 323 #define LGHT_AppDENM_update_EventPosition 16 324 #define LGHT_AppDENM_update_ValidityDuration 4 325 #define LGHT_AppDENM_update_RepetitionDuration 2 326 #define LGHT_AppDENM_update_RepetitionInterval 2 327 #define LGHT_AppDENM_update_TransmissionInterval 2 328 #define LGHT_AppDENM_update_SituationLength 2 329 #define LGHT_AppDENM_update_LocationLength 2 330 #define LGHT_AppDENM_update_AlacarteLength 2 331 #define LGHT_AppDENM_update_RelevanceDist 1 332 #define LGHT_AppDENM_update_RelevanceTD 1 333 #define LGHT_AppDENM_update_DestinationLatitude 4 334 #define LGHT_AppDENM_update_DestinationLongitude 4 335 #define LGHT_AppDENM_update_DistanceA 2 336 #define LGHT_AppDENM_update_DistanceB 2 337 #define LGHT_AppDENM_update_Angle 2 338 #define LGHT_AppDENM_update_TrafficClass 1 340 #define OPT_AppDENM_update_ValidityDuration 15 341 #define OPT_AppDENM_update_RepetitionDuration 14 342 #define OPT_AppDENM_update_TransmissionInterval 13 343 #define OPT_AppDENM_update_RepetitionInterval 12 344 #define OPT_AppDENM_update_Situation 11 345 #define OPT_AppDENM_update_Location 10 346 #define OPT_AppDENM_update_Alacarte 9 347 #define OPT_AppDENM_update_Area 8 348 #define OPT_AppDENM_update_TrafficClass 7 350 #define Pos_AppDENM_update_MessageType 0 351 #define Beg_AppDENM_update_Options 1 352 #define End_AppDENM_update_Options Beg_AppDENM_update_Options + \ 353 LGHT_AppDENM_update_Options 354 #define Beg_AppDENM_update_OriginatingStationID 3 355 #define End_AppDENM_update_OriginatingStationID Beg_AppDENM_update_OriginatingStationID + \ 356 LGHT_AppDENM_update_OriginatingStationID 357 #define Beg_AppDENM_update_SequenceNumber 7 358 #define End_AppDENM_update_SequenceNumber Beg_AppDENM_update_SequenceNumber + \ 359 LGHT_AppDENM_update_SequenceNumber 360 #define Beg_AppDENM_update_DetectionTime 9 361 #define End_AppDENM_update_DetectionTime Beg_AppDENM_update_DetectionTime + \ 362 LGHT_AppDENM_update_DetectionTime 363 #define Beg_AppDENM_update_EventPosition 17 364 #define End_AppDENM_update_EventPosition Beg_AppDENM_update_EventPosition + \ 365 LGHT_AppDENM_update_EventPosition 366 #define Beg_AppDENM_update_ValidityDuration 33 367 #define End_AppDENM_update_ValidityDuration Beg_AppDENM_update_ValidityDuration + \ 368 LGHT_AppDENM_update_ValidityDuration 369 #define Beg_AppDENM_update_RepetitionDuration 33 370 #define End_AppDENM_update_RepetitionDuration Beg_AppDENM_update_RepetitionDuration + \ 371 LGHT_AppDENM_update_RepetitionDuration 372 #define Beg_AppDENM_update_TransmissionInterval 33 373 #define End_AppDENM_update_TransmissionInterval Beg_AppDENM_update_TransmissionInterval + \ 374 LGHT_AppDENM_update_TransmissionInterval 375 #define Beg_AppDENM_update_RepetitionInterval 33 376 #define End_AppDENM_update_RepetitionInterval Beg_AppDENM_update_RepetitionInterval + \ 377 LGHT_AppDENM_update_RepetitionInterval 378 #define Beg_AppDENM_update_SituationLength 33 379 #define End_AppDENM_update_SituationLength Beg_AppDENM_update_SituationLength + \ 380 LGHT_AppDENM_update_SituationLength 381 #define Beg_AppDENM_update_Situation 35 382 #define End_AppDENM_update_Situation Beg_AppDENM_update_Situation 383 #define Beg_AppDENM_update_LocationLength 33 384 #define End_AppDENM_update_LocationLength Beg_AppDENM_update_LocationLength + \ 385 LGHT_AppDENM_update_LocationLength 386 #define Beg_AppDENM_update_Location 35 387 #define End_AppDENM_update_Location Beg_AppDENM_update_Location 388 #define Beg_AppDENM_update_AlacarteLength 33 389 #define End_AppDENM_update_AlacarteLength Beg_AppDENM_update_AlacarteLength + \ 390 LGHT_AppDENM_update_AlacarteLength 391 #define Beg_AppDENM_update_Alacarte 35 392 #define End_AppDENM_update_Alacarte Beg_AppDENM_update_Alacarte 393 #define Pos_AppDENM_update_RelevanceDist 33 394 #define Pos_AppDENM_update_RelevanceTD 34 395 #define Beg_AppDENM_update_DestinationLatitude 33 396 #define End_AppDENM_update_DestinationLatitude Beg_AppDENM_update_DestinationLatitude + \ 397 LGHT_AppDENM_update_DestinationLatitude 398 #define Beg_AppDENM_update_DestinationLongitude 37 399 #define End_AppDENM_update_DestinationLongitude Beg_AppDENM_update_DestinationLongitude + \ 400 LGHT_AppDENM_update_DestinationLongitude 401 #define Beg_AppDENM_update_DistanceA 42 402 #define End_AppDENM_update_DistanceA Beg_AppDENM_update_DistanceA + \ 403 LGHT_AppDENM_update_DistanceA 404 #define Beg_AppDENM_update_DistanceB 44 405 #define End_AppDENM_update_DistanceB Beg_AppDENM_update_DistanceB + \ 406 LGHT_AppDENM_update_DistanceB 407 #define Beg_AppDENM_update_Angle 46 408 #define End_AppDENM_update_Angle Beg_AppDENM_update_Angle + \ 409 LGHT_AppDENM_update_Angle 410 #define Pos_AppDENM_update_TrafficClass 48 496 #define LGHT_AppDENM_termination_MessageType 1 497 #define LGHT_AppDENM_termination_Options 2 498 #define LGHT_AppDENM_termination_OriginatingStationID 4 499 #define LGHT_AppDENM_termination_SequenceNumber 2 500 #define LGHT_AppDENM_termination_DetectionTime 8 501 #define LGHT_AppDENM_termination_EventPosition 16 502 #define LGHT_AppDENM_termination_ValidityDuration 4 503 #define LGHT_AppDENM_termination_RepetitionDuration 2 504 #define LGHT_AppDENM_termination_RepetitionInterval 2 505 #define LGHT_AppDENM_termination_TransmissionInterval 2 506 #define LGHT_AppDENM_termination_RelevanceDist 1 507 #define LGHT_AppDENM_termination_RelevanceTD 1 508 #define LGHT_AppDENM_termination_DestinationLatitude 4 509 #define LGHT_AppDENM_termination_DestinationLongitude 4 510 #define LGHT_AppDENM_termination_DistanceA 2 511 #define LGHT_AppDENM_termination_DistanceB 2 512 #define LGHT_AppDENM_termination_Angle 2 513 #define LGHT_AppDENM_termination_TrafficClass 1 515 #define OPT_AppDENM_termination_ValidityDuration 5 516 #define OPT_AppDENM_termination_RepetitionDuration 4 517 #define OPT_AppDENM_termination_TransmissionInterval 3 518 #define OPT_AppDENM_termination_RepetitionInterval 2 519 #define OPT_AppDENM_termination_Area 1 520 #define OPT_AppDENM_termination_TrafficClass 0 522 #define Pos_AppDENM_termination_MessageType 0 523 #define Pos_AppDENM_termination_Options 1 524 #define Beg_AppDENM_termination_DetectionTime 2 525 #define End_AppDENM_termination_DetectionTime Beg_AppDENM_termination_DetectionTime + \ 526 LGHT_AppDENM_termination_DetectionTime 527 #define Beg_AppDENM_termination_EventPosition 10 528 #define End_AppDENM_termination_EventPosition Beg_AppDENM_termination_EventPosition + \ 529 LGHT_AppDENM_termination_EventPosition 530 #define Beg_AppDENM_termination_ValidityDuration 26 531 #define End_AppDENM_termination_ValidityDuration Beg_AppDENM_termination_ValidityDuration + \ 532 LGHT_AppDENM_termination_ValidityDuration 533 #define Beg_AppDENM_termination_RepetitionDuration 26 534 #define End_AppDENM_termination_RepetitionDuration Beg_AppDENM_termination_RepetitionDuration + \ 535 LGHT_AppDENM_termination_RepetitionDuration 536 #define Beg_AppDENM_termination_TransmissionInterval 26 537 #define End_AppDENM_termination_TransmissionInterval Beg_AppDENM_termination_TransmissionInterval + \ 538 LGHT_AppDENM_termination_TransmissionInterval 539 #define Beg_AppDENM_termination_RepetitionInterval 26 540 #define End_AppDENM_termination_RepetitionInterval Beg_AppDENM_termination_RepetitionInterval + \ 541 LGHT_AppDENM_termination_RepetitionInterval 542 #define Pos_AppDENM_termination_RelevanceDist 26 543 #define Pos_AppDENM_termination_RelevanceTD 27 544 #define Beg_AppDENM_termination_DestinationLatitude 26 545 #define End_AppDENM_termination_DestinationLatitude Beg_AppDENM_termination_DestinationLatitude + \ 546 LGHT_AppDENM_termination_DestinationLatitude 547 #define Beg_AppDENM_termination_DestinationLongitude 30 548 #define End_AppDENM_termination_DestinationLongitude Beg_AppDENM_termination_DestinationLongitude + \ 549 LGHT_AppDENM_termination_DestinationLongitude 550 #define Beg_AppDENM_termination_DistanceA 34 551 #define End_AppDENM_termination_DistanceA Beg_AppDENM_termination_DistanceA + \ 552 LGHT_AppDENM_termination_DistanceA 553 #define Beg_AppDENM_termination_DistanceB 36 554 #define End_AppDENM_termination_DistanceB Beg_AppDENM_termination_DistanceB + \ 555 LGHT_AppDENM_termination_DistanceB 556 #define Beg_AppDENM_termination_Angle 38 557 #define End_AppDENM_termination_Angle Beg_AppDENM_termination_Angle + \ 558 LGHT_AppDENM_termination_Angle 559 #define Pos_AppDENM_termination_TrafficClass 40 560 #endif // facilitiesConstantes_H