Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joajfreitas/fcp-core
https://github.com/joajfreitas/fcp-core
can protocol serialization
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/joajfreitas/fcp-core
- Owner: joajfreitas
- License: mit
- Created: 2021-04-06T15:29:37.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-23T18:10:29.000Z (2 months ago)
- Last Synced: 2024-10-24T09:18:33.700Z (2 months ago)
- Topics: can, protocol, serialization
- Language: Python
- Homepage:
- Size: 2.15 MB
- Stars: 6
- Watchers: 4
- Forks: 1
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
![](https://github.com/joajfreitas/fcp-core/actions/workflows/ci.yml/badge.svg)
# FST Communication Protocol
FCP is an interface description language to exchange information independently of language and platform.
## Install
$ pip install fcp
## Example
![Code showcase](https://raw.githubusercontent.com/joajfreitas/fcp-core/master/assets/code_showcase.png)
## Documentation
See [readthedocs.io](https://fcp-core.readthedocs.io/en/latest/)
* [Contributing](./CONTRIBUTING.md)
* [Authors](./AUTHORS)
* [License](./LICENSE)## Supported features
| | 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 | ✅ | ✅ | ❌ | ❌ | ❌ |## Plugins
* [dbc](https://github.com/joajfreitas/fcp-core/tree/master/plugins/fcp_dbc)
* [can_c](https://github.com/joajfreitas/fcp-core/tree/master/plugins/fcp_can_c)
* [cpp](https://github.com/joajfreitas/fcp-core/tree/master/plugins/fcp_cpp)