Class w.c.h.h.HuaweiEXXXAdapter(WCDMAAdapter):

Part of wader.common.hardware.huawei View In Hierarchy

Adapter for all Huawei E2XX cards
Method set_smsc Sets the SIM's smsc to smsc

Inherited from WCDMAAdapter:

Method __str__ We override __str__ coz dbus hijacks __repr__ and the log gets messy
Method GetAvailableCharsets Returns the available charsets in SIM
Method GetCharset Returns active charset
Method GetIMEI Returns the device's IMEI
Method GetIMSI Returns the SIM's IMSI
Method GetPhonebookSize Returns the phonebook size
Method SetCharset Sets the SIM charset to charset
Method GetRegistrationStatus Returns the network registration status
Method GetInfo Returns the network information
Method GetNames Returns the network information (aka AT+COPS=?)
Method GetRoamingIDs Returns an array of all the roaming IDs stored in the SIM
Method GetSignal Returns the signal quality
Method SetRegistrationNotification Sets the network registration notifications
Method SetInfoFormat Sets the network info format
Method RegisterWithNetID Attemtps to register with given netid
Method GetSMSC Returns the SMSC number stored in the SIM
Method GetFormat Returns 1 if SMS format is text and 0 if SMS format is PDU
Method SetFormat Sets the SMS format
Method SetIndication Sets the SMS indication
Method SetSMSC Sets the SIM SMSC to smsc
Method Find Returns list of contacts that match pattern
Method Change Changes PIN from oldpin to newpin
Method Check Returns the SIM's auth state
Method Disable Disables PIN authentication using pin
Method Send Sends pin to authenticate with SIM
Method SendPUK Sends puk and pin to authenticate with SIM

Inherited from BaseExporterMixin (via WCDMAAdapter):

Method ConfigureConnection Configures the connection with the given parameters
Method DisableEcho Disables echo
Method EnableEcho Enables echo
Method Enable Performs some initial setup in the device
Method GetBands Returns a list with the available bands for the device
Method GetManufacturer Returns the device manufacturer name
Method GetModel Returns the device model
Method GetVersion Returns the device firmware version
Method SendATString Sends at_str to the SIM
Method ResetSettings Resets the stored settings in SIM
Method CellTypeChanged Undocumented
Method CregReceived Undocumented
Method RSSIChanged Undocumented
Method SpeedChanged Undocumented
Method SMSReceived Undocumented
Method DeviceEnabled Undocumented

Inherited from PINAndSMSExporter (via WCDMAAdapter):

Method Delete Deletes the SMS at index
Method List Returns all the SMS stored in SIM
Method GetByIndex Returns the SMS stored at index
Method Save Save a SMS with text and number and returns the index
Method SendFromStorage Sends the SMS stored at index and returns the new index
Method Enable Enables PIN authentication using pin

Inherited from ContactsExporter (via WCDMAAdapter, PINAndSMSExporter):

Method Add Adds a contact with name and number and returns the index

Inherited from WCDMAWrapper (via WCDMAAdapter, PINAndSMSExporter, ContactsExporter):

Method add_contact Adds contact to the SIM and returns the index where was stored
Method add_sms Adds sms to the SIM archive
Method change_pin Changes PIN from oldpin to newpin
Method check_pin Returns the SIM's auth state
Method delete_contact Deletes the contact specified by index
Method delete_sms Deletes the message specified by index
Method disable_pin Disables the PIN auth with pin
Method enable_pin Enables the PIN auth with pin
Method find_contacts Returns a list of Contact whose name matches pattern
Method get_available_charset Returns a list with the available character sets
Method get_charset Returns the current charset
Method get_contact_by_index Undocumented
Method get_contacts Returns a list with all the contacts in the SIM
Method get_free_contact_ids Returns a deque with the contact ids not used
Method get_imei Returns the card's IMEI number
Method get_imsi Returns the SIM's IMSI number
Method get_netreg_status Returns a tuple with the network registration status
Method get_network_info Returns the network info (a.k.a AT+COPS?)
Method get_network_names Returns a list of NetworkObjects (a.k.a AT+COPS=?)
Method get_phonebook_size Returns the phonebook size of the SIM card
Method get_pin_status Returns 1 if PIN auth is active and 0 if its not
Method get_roaming_ids Returns the network ids stored in the SIM to roam (a.k.a AT+CPOL?)
Method get_sms Returns a list of Message objects with all the SMS in the SIM card
Method get_sms_by_index Returns a Message object representing the SMS at index
Method get_sms_format Returns 1 if SMS format is text and 0 if SMS format is PDU
Method get_smsc Returns the SMSC number stored in the SIM
Method get_used_contact_ids Returns a list with the used contact ids
Method get_used_sms_ids Returns a list with used SMS ids in the SIM card
Method save_sms Returns the index where sms was stored
Method send_pin Sends pin and returns the auth result
Method send_sms Sends sms and returns the index
Method send_sms_from_storage Sends the SMS stored at index and returns the new index
Method set_charset Sets the SIMs charset to charset
Method set_sms_format Sets PDU mode or text mode in the SIM
Method _enable_device I check the auth state of a device and will try to initialize it
Method _check_initted_device Upon successful auth over DBus I'll check if the device was initted
Method _init_device Undocumented

Inherited from BaseWrapper (via WCDMAAdapter, PINAndSMSExporter, ContactsExporter, WCDMAWrapper):

Method disable_echo Disables echo of AT cmds
Method enable_echo Enables echo
Method get_card_model Returns the card model
Method get_card_version Returns the firmware version
Method get_manufacturer_name Returns the Manufacturer name
Method get_signal_level Returns the signal level
Method send_at Sends an arbitrary AT string atstr
Method get_bands Returns a list with the available bands
Method configure_connection Configures the connection with the given parameters
Method _configure_conn_mode Undocumented
Method _configure_band_mode Undocumented

Inherited from BaseDeviceConnection (via WCDMAAdapter, PINAndSMSExporter, ContactsExporter, WCDMAWrapper, BaseWrapper):

Method __init__ Undocumented
Method reset_settings Resets the settings to factory settings

Inherited from SIMProtocol (via WCDMAAdapter, PINAndSMSExporter, ContactsExporter, WCDMAWrapper, BaseWrapper, BaseDeviceConnection):

Method transition_to_idle Transitions to idle and processes next queued ATCmd
Method send_splitcmd Used to send the second part of a split command after prompt appears
Method _process_at_cmd Undocumented
Method _check_queue Undocumented
Method queue_at_cmd Queues an ATCmd and returns a deferred

Inherited from BufferingStateMachine (via WCDMAAdapter, PINAndSMSExporter, ContactsExporter, WCDMAWrapper, BaseWrapper, BaseDeviceConnection, SIMProtocol):

Method _timeout_eb Executed when a command exceeds its timeout
Method cancel_current_delayed_call Cancels current ATCmd dellayed call if active
Method notify_success Notify success to current ATCmd callbacks
Method notify_failure Notify failure to current ATCmd errbacks
Method set_cmd Sets self.cmd to cmd
Method set_state Sets and logs the new state
Method emit_signal Emits a signal
Method dataReceived See twisted.internet.protocol.Protocol.dataReceived
Method process_notifications Processes unsolicited notifications in _buffer
Method handle_idle See the method comments
Method handle_waiting Undocumented

Inherited from WCDMADeviceConnection (via WCDMAAdapter, PINAndSMSExporter, ContactsExporter, WCDMAWrapper):

Method __init__ Undocumented
Method delete_all_contacts Deletes all the contacts in SIM card, function useful for tests
Method delete_all_sms Deletes all the messages in SIM card, function useful for tests
Method get_card_model Returns the SIM card model
Method get_card_version Returns the SIM card version
Method get_manufacturer_name Returns the manufacturer name of the SIM card
Method get_next_contact_id Returns the next free contact id
Method register_with_network Registers with the given netid
Method send_puk Sends PUK and PIN to the SIM card
Method set_netreg_notification Sets CREG unsolicited notification
Method set_network_info_format Undocumented
Method set_sms_indication Sets the SMS indication mode

Inherited from BaseDeviceConnection (via WCDMAAdapter, PINAndSMSExporter, ContactsExporter, WCDMAWrapper, WCDMADeviceConnection):

Method disable_echo Disables echo of AT cmds
Method enable_echo Enables echo of AT cmds
Method get_signal_level Returns a tuple with the RSSI and BER of the connection
Method send_at Send an arbitrary AT string to the SIM card
Method reset_settings Resets the settings to factory settings

Inherited from SIMProtocol (via WCDMAAdapter, PINAndSMSExporter, ContactsExporter, WCDMAWrapper, WCDMADeviceConnection, BaseDeviceConnection):

Method transition_to_idle Transitions to idle and processes next queued ATCmd
Method send_splitcmd Used to send the second part of a split command after prompt appears
Method _process_at_cmd Undocumented
Method _check_queue Undocumented
Method queue_at_cmd Queues an ATCmd and returns a deferred

Inherited from BufferingStateMachine (via WCDMAAdapter, PINAndSMSExporter, ContactsExporter, WCDMAWrapper, WCDMADeviceConnection, BaseDeviceConnection, SIMProtocol):

Method _timeout_eb Executed when a command exceeds its timeout
Method cancel_current_delayed_call Cancels current ATCmd dellayed call if active
Method notify_success Notify success to current ATCmd callbacks
Method notify_failure Notify failure to current ATCmd errbacks
Method set_cmd Sets self.cmd to cmd
Method set_state Sets and logs the new state
Method emit_signal Emits a signal
Method dataReceived See twisted.internet.protocol.Protocol.dataReceived
Method process_notifications Processes unsolicited notifications in _buffer
Method handle_idle See the method comments
Method handle_waiting Undocumented
def set_smsc(self, smsc):

Sets the SIM's smsc to smsc

We wrap the operation with set_charset('IRA') and set_charset('UCS2')
API Documentation for wader-core, generated by pydoctor at 2008-08-27 16:53:37.