FCP is an interface description language to exchange information independently of language and platform.
$ pip install fcp
See readthedocs.io
core | dbc | c | cpp | python | |
---|---|---|---|---|---|
Flat struct | ✅ | ✅ | ✅ | ✅ | ✅ |
1-64 bit signed integers | ✅ | ✅ | ✅ | ✅ | ✅ |
1-64 bit unsigned integers | ✅ | ✅ | ✅ | ✅ | ✅ |
32/64 bit float | ✅ | ✅ | ✅ | ✅ | ✅ |
Composite struct | ✅ | ✅ | ❌ | ✅ | ✅ |
Enum | ✅ | ✅ | ✅ | ✅ | ✅ |
Array | ✅ | ✅ | ❌ | ✅ | ✅ |
Dynamic array | ✅ | ❌ | ❌ | ❌ | ✅ |
String | ✅ | ❌ | ❌ | ❌ | ✅ |
Optional | ❌ | ❌ | ❌ | ❌ | ❌ |
Frame id | ✅ | ✅ | ✅ | ✅ | ✅ |
Device designation | ✅ | ✅ | ✅ | ✅ | ✅ |
Bus designation | ✅ | ✅ | ❌ | ❌ | ❌ |
Big endian | ✅ | ✅ | ❌ | ❌ | ❌ |
Muxes | ✅ | ✅ | ❌ | ❌ | ❌ |