Phebe

Control a mobile phone connected to the computer, e.g. via USB
Download

Phebe Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Thomas Lotze
  • Publisher web site:
  • http://www.thomas-lotze.de/en/software/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 23 KB

Phebe Tags


Phebe Description

Control a mobile phone connected to the computer, e.g. via USB Phebe contains a command shell that performs common tasks on a phone connected to your computer: get usage stats, back-up the phonebook and contacts, as well as download and delete short messages. Phebe allows controlling a mobile phone connected to the computer, e.g. via USB. In its current state of development, Phebe is able to read the phonebook and read as well as delete short messages.Phebe is a Python package, phebe, that comes with a command-line interface that makes the package's functionality available to the user.The connectionPhebe talks to a mobile phone by sending AT commands to a device node and reading a textual response from it, which may or may not signal an error.The connection object encapsulates device-level communication with the phone. It is the only object which cares about the device node name and the BAUD rate. To the rest of the application, it is a callable that takes an AT command string as a parameter and either returns a sequence of respose lines or raises an exception. It does not maintain any state.ProtocolsEach functionality of the phone, such as phonebook or SMS management, has its own group of AT commands with specified parameters and result formats.A protocol is an object whose interface to the rest of the application reflects the actions related to a specific functionality. These actions directly correspond to what is implemented by the phone as AT commands. Protocols use the connection object to send AT commands with appropriately formatted parameters, receive and interpret the response, and return plain Python data structures holding the received information. They don't maintain any state, either.ProxiesAs opposed to the stateless, action-related protocols, proxies represent particular aspects of the phone's functionality and state to the application.A proxy employs a protocol object and exposes an interface that is defined by the demands of the functionality modelled. Proxies are stateful; their state represents the information stored on and the current state of the phone. They may need to be explicitly synchronized against the phone. Modifying a proxy's state immediately modifies the information stored in or the state of the phone. It is probably a good idea to use at most one proxy per phone for any given functionality at a time.Application objectsApplication objects are Phebe's highest-level objects representing the phone. They combine various functionalities independent of the command specification.Application objects expose whatever interface fits their purpose. They define and use Phebe-specific data structures. Each application object may make use of any number of different proxies simultaneously. Manipulating an application object's state should not directly affect the phone; the phone should rathter be modified explicitly through methods. This is so that application objects may be used more freely.NOTE: Phebe is licensed under the terms of the Zope Public License (ZPL) 2.1. Requirements: · Python 2.5 or later What's New in This Release: User-visible: · merged all scripts into a command shell named phebe Bug fixes: · added the alphanumeric GSM address type Code: · much cleaned up, some refactorings to move code related to GSM alphabet and range lists to their own respective modules Organization: · made the egg usable with zc.buildout, including the use of console_script entry points · cleaned up documentation · moved project in subversion


Phebe Related Software