

def send_configuration(self, encoding_type=ENCODING_TYPE_HEXADECIMAL, symbol_length=4, client_role=ROLE_TYPE_INPUT):
    'Sends a Configuration message to the Google TV server.\n\n    Currently, only a 4-length HEXADECIMAL message is supported. Will support\n    other types in the future.\n    '
    req = polo_pb2.Configuration()
    req.encoding.type = encoding_type
    req.encoding.symbol_length = symbol_length
    req.client_role = client_role
    self._send_message(req, polo_pb2.OuterMessage.MESSAGE_TYPE_CONFIGURATION)

dataset/ETHPy150Open stevenle/googletv-anymote/googletv/__init__.py PairingProtocol.send_configuration/original