summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1/its/EVCSN-PDU-Descriptions.asn
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
commite4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch)
tree68cb5ef9081156392f1dd62a00c6ccc1451b93df /epan/dissectors/asn1/its/EVCSN-PDU-Descriptions.asn
parentInitial commit. (diff)
downloadwireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz
wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/asn1/its/EVCSN-PDU-Descriptions.asn')
-rw-r--r--epan/dissectors/asn1/its/EVCSN-PDU-Descriptions.asn102
1 files changed, 102 insertions, 0 deletions
diff --git a/epan/dissectors/asn1/its/EVCSN-PDU-Descriptions.asn b/epan/dissectors/asn1/its/EVCSN-PDU-Descriptions.asn
new file mode 100644
index 00000000..b95dfd08
--- /dev/null
+++ b/epan/dissectors/asn1/its/EVCSN-PDU-Descriptions.asn
@@ -0,0 +1,102 @@
+-- Point of Interest (POI) notification for charging spot
+-- for electric vehicle
+-- EVCSN Message definition
+-- ASN.1 Start Definition
+
+EVCSN-PDU-Descriptions {
+itu-t (0) identified-organization (4) etsi (0) itsDomain (5)
+wg1 (1) ts (101556) evcsn (1) version (1)
+}
+
+DEFINITIONS AUTOMATIC TAGS ::=
+
+BEGIN
+
+IMPORTS
+ ItsPduHeader,
+ StationID,
+ TimestampIts, -- CORRECTION
+ DigitalMap, -- PATCH
+ ReferencePosition
+FROM ETSI-ITS-CDD {itu-t (0) identified-organization (4) etsi (0) itsDomain (5) wg1 (1) 102894 cdd (2) major-version-3 (3) minor-version-1 (1)}
+;
+
+-- Root Message PDU: EvcsnPdu
+
+EvcsnPdu ::= SEQUENCE {
+ header ItsPduHeader,
+ evcsn EVChargingSpotNotificationPOIMessage
+}
+
+EVChargingSpotNotificationPOIMessage ::= SEQUENCE {
+ poiHeader ItsPOIHeader, -- Specific POI Message Header
+ evcsnData ItsEVCSNData -- Electric Vehicle Charging Spot Data Elements
+}
+
+ItsPOIHeader ::= SEQUENCE {
+ poiType POIType, -- set to "EV charging station POI ID = 1"
+ timeStamp TimestampIts, -- CORRECTION
+ relayCapable BOOLEAN
+}
+
+
+ItsEVCSNData ::= SEQUENCE {
+ totalNumberOfStations NumberStations,
+ chargingStationsData SEQUENCE (SIZE(1..256)) OF ItsChargingStationData
+}
+
+ItsChargingStationData ::= SEQUENCE {
+ chargingStationID StationID,
+ utilityDistributorId UTF8String (SIZE(1..32)) OPTIONAL,
+ providerID UTF8String (SIZE(1..32)) OPTIONAL,
+ chargingStationLocation ReferencePosition,
+ address UTF8String OPTIONAL,
+ phoneNumber NumericString (SIZE(1..16)) OPTIONAL,
+ accessibility UTF8String (SIZE(1..32)),
+ digitalMap DigitalMap OPTIONAL,
+ openingDaysHours UTF8String,
+ pricing UTF8String,
+ bookingContactInfo UTF8String OPTIONAL,
+ payment UTF8String OPTIONAL,
+ chargingSpotsAvailable ItsChargingSpots,
+ ...
+}
+
+
+ItsChargingSpots ::= SEQUENCE (SIZE(1..16)) OF ItsChargingSpotDataElements
+
+
+ItsChargingSpotDataElements ::= SEQUENCE {
+ type ChargingSpotType,
+ evEquipmentID UTF8String OPTIONAL,
+ typeOfReceptacle TypeOfReceptacle,
+ energyAvailability UTF8String,
+ parkingPlacesData ParkingPlacesData OPTIONAL
+}
+
+-- DigitalMap ::= SEQUENCE (SIZE(1..256)) OF ReferencePosition PATCH
+
+ChargingSpotType ::= BIT STRING {
+ standardChargeMode1(0),
+ standardChargeMode2(1),
+ standardOrFastChargeMode3(2),
+ fastChargeWithExternalCharger(3),
+ quickDrop(8),
+ inductiveChargeWhileStationary(12),
+ inductiveChargeWhileDriving(14)
+}
+
+TypeOfReceptacle ::= BIT STRING
+
+ParkingPlacesData ::= SEQUENCE (SIZE(1..4)) OF SpotAvailability
+
+SpotAvailability ::= SEQUENCE {
+ maxWaitingTimeMinutes INTEGER (0..1400), -- 0 if available or max waiting
+ -- time (minutes)
+ blocking BOOLEAN -- true if the spot can be blocked
+}
+
+POIType ::= INTEGER(0..65535)
+NumberStations ::= INTEGER(1..256)
+
+END