iot_firmware.communications.handler
Module in charge of handling Messages from the external communications.
Classes
|
Class that handles external communications. |
- class iot_firmware.communications.handler.CommunicationsHandler(api_version: ~iot_firmware.communications.schema.Version = 0.0.1)[source]
Class that handles external communications.
- Parameters
api_version – version of the api that the handler will use
Basic usage.
>>> api_version = Version(1, 2, 3) >>> communications_handler = CommunicationsHandler(api_version) >>> communications_handler.api_version 1.2.3