Public Member Functions | |
def | call_get_device_list |
def | close |
def | convert_post_to_devices_msg |
def | init |
def | request_configuration_update |
Static Private Attributes | |
__metaclass__ = ABCMeta |
Abstract base class that defines the API of a iot platform connector.
Definition at line 10 of file connector.py.
Request target engine to receive all available device list :returns: List of devices :rtypes: rocon_device_msgs.msg.Devices
Definition at line 30 of file connector.py.
def rocon_iot_bridge.connector.Connector.close | ( | self | ) |
Definition at line 24 of file connector.py.
def rocon_iot_bridge.connector.Connector.convert_post_to_devices_msg | ( | self, | |
post | |||
) |
It converts te target engine posts device events into ros msg :param post: device events :returns: ROS formatted device events :rtypes: rocon_device_msgs.msg.Devices
Definition at line 40 of file connector.py.
def rocon_iot_bridge.connector.Connector.init | ( | self | ) |
Initialises connector.
Definition at line 17 of file connector.py.
def rocon_iot_bridge.connector.Connector.request_configuration_update | ( | self, | |
config | |||
) |
requests target engine to update its configuration :param config: Configuration(e.g server addr and port for device event post) :type config: dict :returns: Success or fail :rtype: bool
Definition at line 52 of file connector.py.
rocon_iot_bridge::connector.Connector::__metaclass__ = ABCMeta [static, private] |
Definition at line 14 of file connector.py.