| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/serial-stubs/urlhandler/ |
Upload File : |
import logging
import queue
from _typeshed import ReadableBuffer
from serial.serialutil import SerialBase
LOGGER_LEVELS: dict[str, int]
class Serial(SerialBase):
buffer_size: int
queue: queue.Queue[bytes | None] | None
logger: logging.Logger | None
def open(self) -> None: ...
def from_url(self, url: str) -> None: ...
@property
def in_waiting(self) -> int: ...
def read(self, size: int = 1) -> bytes: ...
def cancel_read(self) -> None: ...
def cancel_write(self) -> None: ...
def write(self, __b: ReadableBuffer) -> int | None: ...
def reset_input_buffer(self) -> None: ...
def reset_output_buffer(self) -> None: ...
@property
def out_waiting(self) -> int: ...
@property
def cts(self) -> bool: ...
@property
def dsr(self) -> bool: ...
@property
def ri(self) -> bool: ...
@property
def cd(self) -> bool: ...