Class w.c.p.BaseDeviceConnection(SIMProtocol):

Part of wader.common.protocol View In Hierarchy

Known subclasses: wader.common.middleware.BaseWrapper, wader.common.protocol.CDMADeviceConnection, wader.common.protocol.WCDMADeviceConnection

I define some common methods for CDMA and WCDMA devices
Method __init__ Undocumented
Method disable_echo Disables echo of AT cmds
Method enable_echo Enables echo of AT cmds
Method get_card_model Returns the device model
Method get_card_version Returns the device firmware version
Method get_manufacturer_name Returns the manufacturer name of the SIM card
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:

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 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 __init__(self, device, udi):
Undocumented
def disable_echo(self):
Disables echo of AT cmds
def enable_echo(self):
Enables echo of AT cmds
def get_card_model(self):
Returns the device model
def get_card_version(self):
Returns the device firmware version
def get_manufacturer_name(self):
Returns the manufacturer name of the SIM card
def get_signal_level(self):
Returns a tuple with the RSSI and BER of the connection
def send_at(self, at_str):
Send an arbitrary AT string to the SIM card
def reset_settings(self):
Resets the settings to factory settings
API Documentation for wader-core, generated by pydoctor at 2008-08-27 16:53:37.