%PDF- %PDF-
Direktori : /usr/share/hplip/base/__pycache__/ |
Current File : //usr/share/hplip/base/__pycache__/LedmWifi.cpython-312.pyc |
� = fVy � �0 � d dl Z d dlZd dlZd dlZd dl� ddl� ddlmZm Z ddl mZ ej dej � ZdZdZd Zd ZdZdZd ZdZdZdZd� Zd� Zd� Zd#d�Zd$d�Zd� Zd� Z d� Z!d� Z"d� Z#d� Z$d%d�Z%d&d�Z&d&d�Z'd&d�Z(d � Z)d'd!�Z*d'd"�Z+y)(� N)�*� )�device�utils)� to_bytes_utf8zHTTP/\d.\d\s(\d+)�� �� �� i� � z/IoMgmt/Adapters/a� <?xml version="1.0" encoding="UTF-8" ?><io:Adapter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:io="http://www.hp.com/schemas/imaging/con/ledm/iomgmt/2008/11/30" xmlns:dd="http://www.hp.com/schemas/imaging/con/dictionaries/1.0/" xmlns:wifi="http://www.hp.com/schemas/imaging/con/wifi/2009/06/26"> <io:HardwareConfig> <dd:Power>%s</dd:Power> </io:HardwareConfig> </io:Adapter>a# <?xml version="1.0" encoding="UTF-8"?><io:Adapters xmlns:io="http://www.hp.com/schemas/imaging/con/ledm/iomgmt/2008/11/30" xmlns:dd="http://www.hp.com/schemas/imaging/con/dictionaries/1.0/"><io:Adapter><io:HardwareConfig><dd:Power>%s</dd:Power></io:HardwareConfig></io:Adapter></io:Adapters>a� <io:Profile xmlns:io="http://www.hp.com/schemas/imaging/con/ledm/iomgmt/2008/11/30" xmlns:dd="http://www.hp.com/schemas/imaging/con/dictionaries/1.0/" xmlns:wifi="http://www.hp.com/schemas/imaging/con/wifi/2009/06/26" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.hp.com/schemas/imaging/con/ledm/iomgmt/2008/11/30 ../../schemas/IoMgmt.xsd http://www.hp.com/schemas/imaging/con/dictionaries/1.0/ ../../schemas/dd/DataDictionaryMasterLEDM.xsd"><io:AdapterProfile><io:WifiProfile><wifi:SSID>%s</wifi:SSID><wifi:CommunicationMode>%s</wifi:CommunicationMode><wifi:EncryptionType>%s</wifi:EncryptionType><wifi:AuthenticationMode>%s</wifi:AuthenticationMode></io:WifiProfile></io:AdapterProfile></io:Profile>z�<io:KeyInfo><io:WpaPassPhraseInfo><wifi:RsnEncryption>AESOrTKIP</wifi:RsnEncryption><wifi:RsnAuthorization>autoWPA</wifi:RsnAuthorization><wifi:PassPhrase>%s</wifi:PassPhrase></io:WpaPassPhraseInfo></io:KeyInfo>c �@ � t j � }d}| j � dk( r�| j � | j � dk( rJ| j � | j d||� r | j d||� r�| j � y | j | j ||� | j � y | j | j ||� | j � y # t $ r t j d� Y ��w xY w# | j � w xY w# t $ r t j d� Y ��w xY w# | j � w xY w# t $ r t j d� Y ��w xY w# | j � w xY w)Nr ���� �"Unable to read Marvell_EWS Channel�Unable to read EWS_LEDM Channel�Unable to read LEDM Channel)�io�BytesIO�openLEDM� closeLEDM�openEWS_LEDM�openMarvell_EWS�readMarvell_EWS�Error�log�error�closeMarvell_EWS�readLEDMAllData�readEWS_LEDM� closeEWS_LEDM�readLEDM)�dev�response�timeouts �!/usr/share/hplip/base/LedmWifi.py�flushThePortr% 6 sW � ��z�z�|�H��G� �|�|�~���� � �������#����!� '��)�)�$��'�B�� �)�)�$��'�B� �$�$�&� $��#�#�C�$4�$4�h��H� �!�!�#� �������h��@� �M�M�O��# � @�� � �>�?� @�� �$�$�&�� � =�� � �;�<� =�� �!�!�#�� � 5��I�I�3�4� 5�� �M�M�O�sl �'C5 �D. �E'