Available Interfaces (Facets and Receptacles)

SampleInlet (Sample Consumption)

class endless.framework.interfaces.SampleInlet[source]
__weakref__

list of weak references to the object

Switch

class endless.framework.interfaces.Switch[source]
__weakref__

list of weak references to the object

MQTT, CAN, …

class endless.framework.interfaces.Publisher[source]

MQTT style “publish” interface. Not necessarily coupled to MQTT.

__weakref__

list of weak references to the object

abstract async publish(topic, message)[source]

Publish message on topic

class endless.framework.interfaces.CANInputHandler[source]

Handles CAN-style input: binary payload, associated with an CAN ID

__weakref__

list of weak references to the object

abstract async handle_frame(can_id, payload)[source]

Handle CAN frame

Parameters:
  • can_id – CAN ID

  • payload – binary payload