%PDF- %PDF-
Direktori : /snap/core18/current/usr/lib/python3/dist-packages/serial/__pycache__/ |
Current File : //snap/core18/current/usr/lib/python3/dist-packages/serial/__pycache__/serialposix.cpython-36.pyc |
3 : iY�{ � @ s� d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dlm Z m Z mZmZm Z mZ G dd� de�Zd Zejj� Zedd� dkr�d dlZdZdZd Zd ZdZdZd ZdZdZdZG dd� de�Zn�edkr�G dd� de�Zn�edd� dk�rd dlZdZ G dd� de�Znzedd� dk�sbedd� dk�sbedd� dk�sbedd� dk�r�G dd � d e�Z!G d!d� de�ZnG d"d� de�Ze"ed#d$�Z#e"ed%d&�Z$e"ed'd(�Z%e"ed)d*�Z&e"ed+d�Z'e"ed,d�Z(e"ed-d.�Z)e"ed/d0�Z*e"ed1d2�Z+e"ed3d4�Z,e"ed5e*�Z-e"ed6e+�Z.e/ed7��r8ej0Z0ne"ed8d9�Z0e"ed:d;�Z1ej2d<d �Z3ej2d<e(�Z4ej2d<e'�Z5e"ed=d>�Z6e"ed?d@�Z7G dAdB� dBe e�Z8G dCdD� dDe8�Z9G dEdF� dFe8�Z:dS )G� N)� SerialBase�SerialException�to_bytes�portNotOpenError�writeTimeoutError�Timeoutc @ s e Zd Zi Zdd� Zdd� ZdS )�PlatformSpecificBasec C s t d��d S )Nz9non-standard baudrates are not supported on this platform)�NotImplementedError)�self�baudrate� r �4/usr/lib/python3/dist-packages/serial/serialposix.py�_set_special_baudrate. s z*PlatformSpecificBase._set_special_baudratec C s t d��d S )Nz$RS485 not supported on this platform)r )r �rs485_settingsr r r �_set_rs485_mode1 s z$PlatformSpecificBase._set_rs485_modeN)�__name__� __module__�__qualname__�BAUDRATE_CONSTANTSr r r r r r r + s r � �linuxi @l *TX i+T,@i i.T i/T � � � � c @ s` e Zd Zddddddddd d ddd ddddddddddddddddddd �Zd!d"� Zd#d$� Zd%S )&�PlatformSpecificr r r � r r � � � � � � � � � � i i i i i i i i i i i i i i i )r �2 �K �n � � �� i, iX i� i i` i� i�% i K i � i � i � i � i i � i � i i@B i � i`� i�� i�%&