MCPcopy Create free account
hub / github.com/qilingframework/qiling / send

Method send

qiling/hw/connectivity.py:78–84  ·  view source on GitHub ↗

Send data into the peripheral. Example: ql.hw.usart1.send(b'hello')

(self, data: bytes)

Source from the content-addressed store, hash-verified

76 return self.itube.readable()
77
78 def send(self, data: bytes):
79 """ Send data into the peripheral.
80
81 Example:
82 ql.hw.usart1.send(b'hello')
83 """
84 self.itube.write(data)
85
86 def recv(self, numb:int = 4096) -> bytes:
87 """ Receive data from peripheral

Callers 1

wrapperMethod · 0.45

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected