Skip to content

joajfreitas/fcp-core

Repository files navigation

FST Communication Protocol

FCP is an interface description language to exchange information independently of language and platform.

Install

$ pip install fcp

Example

version: "3"

mod temperature;

/*this is a comment*/
enum SensorState {
        Off = 0,
        On = 1,
        Error = 2,
}

struct SensorInformation {
    temperature @ 0: Temperature,
    sensor_state @ 1: SensorState,
}

Documentation

See readthedocs.io