[Debugger] Implementation of transport over serial connection (#2800)
JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
This commit is contained in:
@@ -20,14 +20,13 @@ MAX_BUFFER_SIZE = 256
|
||||
|
||||
class RawPacket(object):
|
||||
""" Simplified transmission layer. """
|
||||
def __init__(self, address, protocol):
|
||||
def __init__(self, protocol):
|
||||
self.protocol = protocol
|
||||
self.data_buffer = b""
|
||||
self.address = address
|
||||
|
||||
def connect(self, config_size):
|
||||
""" Create connection. """
|
||||
self.protocol.connect(self.address)
|
||||
self.protocol.connect()
|
||||
self.data_buffer = b""
|
||||
|
||||
# It will return with the Network configurations, which has the following struct:
|
||||
|
||||
Reference in New Issue
Block a user