1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//! ISO 15118-20 message types, generated from the V2G XSD schemas.
//!
//! Each of the five schema sets is its own EXI document with its own document
//! grammar — and its own V2GTP payload type — so each gets a module. They all
//! import `CommonTypes`, which is generated once into
//! [`common`](crate::iso20::common) and referred
//! to from the others, so a `RationalNumber` is the same Rust type everywhere.
//!
//! | Module | Schema | V2GTP payload type |
//! |---|---|---|
//! | [`messages`](crate::iso20::messages) | `CommonMessages` | `0x8002` |
//! | [`ac`](crate::iso20::ac) | `AC` | `0x8003` |
//! | [`dc`](crate::iso20::dc) | `DC` | `0x8004` |
//! | [`acdp`](crate::iso20::acdp) | `ACDP` | `0x8005` |
//! | [`wpt`](crate::iso20::wpt) | `WPT` | `0x8006` |
/// Types shared by every ISO 15118-20 schema.
/// ISO 15118-20 `CommonMessages`: session setup, authorization, service
/// discovery and selection, schedule exchange, power delivery, session stop.
/// ISO 15118-20 AC charging: charge parameter discovery and the AC charge
/// loop, including bidirectional power transfer.
/// ISO 15118-20 DC charging: cable check, pre-charge, the DC charge loop and
/// welding detection, including bidirectional power transfer.
/// ISO 15118-20 wireless power transfer: alignment check, fine positioning
/// and the WPT charge loop.
/// ISO 15118-20 automated connection device (pantograph): vehicle
/// positioning, connect and disconnect.