def METHOD_NAME(self, command):
    self.logtx(command)
    self.sh.p.sendline(command)
    self.sh.m = re.compile('(.*)\r\nEOF(.*)\r\n')
    i = self.sh.p.expect(self.sh.m, timeout=60)
    if i == 0:
        dprint("OK")
        return self.sh.p.match.group(1)
    else:
        print("Timeout")
        return 0