Wednesday, January 5, 2011

Universal Serial Bus

Universal Serial Bus (USB) is a specification to establish communication between devices and a host controller (usually personal computers), developed and invented by Ajay Bhatt while working for Intel. USB has effectively replaced a variety of interfaces such as serial and parallel ports (Dell XPS M1210 Battery) http://www.hdd-shop.co.uk .

USB can connect computer peripherals such as mice, keyboards, digital cameras, printers, personal media players, flash drives, Network Adapters, andexternal hard drives. For many of those devices, USB has become the standard connection method (Dell Studio XPS 1340 Battery) .

USB was designed for personal computers, but it has become commonplace on other devices such as smartphones, PDAs and video game consoles, and as a power cord. As of 2008, there are about 2 billion USB devices sold per year, and approximately 6 billion total sold to date (Dell Studio XPS 1640 Battery) .

History

The USB is a standard for peripheral devices. It began development in 1994 by a group of seven companies: Compaq, DEC, IBM, Intel, Microsoft, NEC andNortel. USB was intended to make it fundamentally easier to connect external devices to PCs by replacing the multitude of connectors at the back of PCs (Dell Studio XPS 1640 Battery) ,

addressing the usability issues of existing interfaces, and simplifying software configuration of all devices connected to USB, as well as permitting greater bandwidths for external devices. The first silicon for USB was made by Intel in 1995.

The USB 1.0 specification was introduced in January 1996. The original USB 1.0 specification had a data transfer rate of 12 Mbit/s (Dell Vostro 1710 Battery) .

The first widely used version of USB was 1.1, which was released in September 1998. It allowed for a 12 Mbit/s data rate for higher-speed devices such as disk drives, and a lower 1.5 Mbit/s rate for low bandwidth devices such as joysticks.

The USB 2.0 specification was released in April 2000 and was standardized by the USB-IF at the end of 2001 (Dell KM958 battery) .

Hewlett-Packard, Intel, Lucent Technologies(now Alcatel-Lucent following its merger with Alcatel in 2006), NEC and Philips jointly led the initiative to develop a higher data transfer rate, with the resulting specification achieving 480 Mbit/s, a fortyfold increase over 12 Mbit/s for the original USB 1.0 (Sony VGP-BPS13 battery) .

Overview

A USB system has an asymmetric design, consisting of a host, a multitude of downstream USB ports, and multiple peripheral devices connected in a tiered-star topology. Additional USB hubs may be included in the tiers, allowing branching into a tree structure with up to five tier levels (Sony VGP-BPS13/B battery) .

A USB host may have multiple host controllers and each host controller may provide one or more USB ports. Up to 127 devices, including hub devices if present, may be connected to a single host controller.

USB devices are linked in series through hubs (Sony VGP-BPS13/S battery) .

There always exists one hub known as the root hub, which is built into the host controller. So-called sharing hubs, which allow multiple computers to access the same peripheral device(s), also exist and work by switching access between PCs, either automatically or manually (Sony VGP-BPS13A/B battery) .

Sharing hubs are popular in small-office environments. In network terms, they converge rather than diverge branches.

A physical USB device may consist of several logical sub-devices that are referred to as device functions. A single device may provide several functions, for example, a webcam (video device function) with a built-in microphone (audio device function) (Sony VGP-BPS13B/B battery) .

Such a device is called a compound device in which each logical device is assigned a distinctive address by the host and all logical devices are connected to a built-in hub to which the physical USB wire is connected. A host assigns one and only one device address to a function (Sony VGP-BPL9 battery) .

USB endpoints actually reside on the connected device: the channels to the host are referred to as pipes.

USB device communication is based on pipes (logical channels). A pipe is a connection from the host controller to a logical entity, found on a device, and named an endpoint (Sony VGP-BPS13B/B battery) .

The term endpoint is occasionally incorrectly used for referring to the pipe. However, while an endpoint exists on the device permanently, a pipe is only formed when the host makes a connection to the endpoint. Therefore, when referring to a particular connection between a host and a USB device function, the term pipe should be used Sony VGP-BPL15 battery .

A USB device can have up to 32 endpoints: 16 into the host controller and 16 out of the host controller. But, as one of the pipes is required to be of a bi-directional type (the default control pipe), and thus uses 2 endpoints, the theoretical maximum number of pipes is 31. USB devices seldom have this many endpoints Dell Inspiron E1505 battery .

There are two types of pipes: stream and message pipes depending on the type of data transfer.

  • isochronous transfers: at some guaranteed data rate (often, but not necessarily, as fast as possible) but with possible data loss (e.g. realtime audio or video) Dell Latitude E6400 battery .
  • interrupt transfers: devices that need guaranteed quick responses (bounded latency) (e.g. pointing devices and keyboards).
  • bulk transfers: large sporadic transfers using all remaining available bandwidth, but with no guarantees on bandwidth or latency (e.g. file transfers) HP Pavilion dv6000 Battery .
  • control transfers: typically used for short, simple commands to the device, and a status response, used, for example, by the bus control pipe number 0 SONY VAIO VGN-FZ Battery .

A stream pipe is a uni-directional pipe connected to a uni-directional endpoint that transfers data using an isochronous, interrupt, or bulk transfer. A message pipe is a bi-directional pipe connected to a bi-directional endpoint that is exclusively used for controldata flow SONY VAIO VGN-FZ18 Battery .

An endpoint is built into the USB device by the manufacturer and therefore exists permanently. An endpoint of a pipe is addressable with tuple (device_address, endpoint_number) as specified in a TOKEN packet that the host sends when it wants to start a data transfer session SONY VAIO VGN-FZ180E Battery .

If the direction of the data transfer is from the host to the endpoint, an OUT packet (a specialization of a TOKEN packet) having the desired device address and endpoint number is sent by the host. If the direction of the data transfer is from the device to the host, the host sends an IN packet instead SONY VAIO VGN-FZ220E Battery .

If the destination endpoint is a uni-directional endpoint whose manufacturer's designated direction does not match the TOKEN packet (e.g., the manufacturer's designated direction is IN while the TOKEN packet is an OUT packet), the TOKEN packet will be ignored SONY VAIO VGN-FZ340E Battery .

Otherwise, it will be accepted and the data transaction can start. A bi-directional endpoint, on the other hand, accepts both IN and OUT packets.

Endpoints are grouped into interfaces and each interface is associated with a single device function SONY VAIO VGN-FZ430E Battery .

An exception to this is endpoint zero, which is used for device configuration and which is not associated with any interface. A single device function composed of independently controlled interfaces is called acomposite device. A composite device only has a single device address because the host only assigns a device address to a function SONY VAIO VGN-FZ460E Battery .

When a USB device is first connected to a USB host, the USB device enumeration process is started. The enumeration starts by sending a reset signal to the USB device. The data rate of the USB device is determined during the reset signaling. After reset, the USB device's information is read by the host and the device is assigned a unique 7-bit address SONY VAIO VGN-FZ480E Battery .

If the device is supported by the host, the device drivers needed for communicating with the device are loaded and the device is set to a configured state. If the USB host is restarted, the enumeration process is repeated for all connected devices SONY VAIO VGN-FZ4000 Battery .

The host controller directs traffic flow to devices, so no USB device can transfer any data on the bus without an explicit request from the host controller. In USB 2.0, the host controller polls the bus for traffic, usually in a round-robin fashion. The slowest device connected to a controller sets the bandwidth of the interface SONY VAIO VGN-FZ31E Battery .

For SuperSpeed USB (defined since USB 3.0), connected devices can request service from host. Because there are two separate controllers in each USB 3.0 host, USB 3.0 devices will transmit and receive at USB 3.0 data rates regardless of USB 2.0 or earlier devices connected to that host. Operating data rates for them will be set in the legacy manner SONY VAIO VGN-FZ31B Battery .

Device classes

USB3 defines class codes used to identify a device’s functionality and to load a device driver based on that functionality. This enables every device driver writer to support devices from different manufacturers that comply with a given class code SONY VAIO VGN-FZ31J Battery .

USB mass storage

USB implements connections to storage devices using a set of standards called the USB mass storage device class (referred to as MSC or UMS). This was initially intended for traditional magnetic and optical drives, but has been extended to support a wide variety of devices, particularly flash drives SONY VAIO VGN-FZ31M Battery .

This generality is because many systems can be controlled with the familiar metaphor of file manipulation within directories (the process of making a novel device look like a familiar device is also known as extension) SONY VAIO VGN-FZ31Z Battery .

The ability to boot a write-locked SD card with a USB adapter is particular advantageous for maintaining the integrity and non-corruptible, pristine state of the booting medium. A live USB OS, resident on a write-locked SD card is impervious to modification by computer viruses or ill-conditioned software SONY VAIO VGN-FZ38M Battery .

Though most newer computers are capable of booting off USB mass storage devices, USB is not intended to be a primary bus for a computer's internal storage: buses such as Parallel ATA (PATA) (or IDE), Serial ATA (SATA), or SCSI fulfill that role in PC class computers SONY VGP-BPS8 Battery .

However, USB has one important advantage in that it is possible to install and remove devices without rebooting the computer (hot-swapping), making it useful for mobile peripherals, including drives of various kinds. Originally conceived and still used today for optical storage devices (CD-RW drives, DVD drives, etc.) SONY VGP-BPS13 Battery ,

several manufacturers offer external portable USBhard drives, or empty enclosures for disk drives, which offer performance comparable to internal drives, limited by the current number and type of attached USB devices and by the upper limit of the USB interface (in practice about 40 MB/s for USB 2.0 and potentially 400 MB/s or more for USB 3.0) SONY VGP-BPS13/S Battery .

These external drives have typically included a "translating device" that bridges between a drive's interface (IDE, ATA, SATA, PATA, ATAPI, or even SCSI) to a USB interface port. Functionally, the drive appears to the user much like an internal drive SONY VGP-BPS13A/B Battery .

Other competing standards for external drive connectivity include eSATA, ExpressCard (now at version 2.0), and FireWire (IEEE 1394).

Another use for USB mass storage devices is the portable execution of software applications (such as web browsers and VoIP clients) without requiring installation on the host computer SONY VGP-BPS13B/B Battery .

Human interface devices (HIDs)

Mice and keyboards usually have USB connectors. These can be used with older computers that have PS/2 connectors with the aid of a small USB-to-PS/2 adapter. Such adaptors contain no logic circuitry: the hardware in the USB keyboard or mouse is designed to detect whether it is connected to a USB or PS/2 port, and communicate using the appropriate protocol SONY VGP-BPS13A/S Battery.

Joysticks, keypads, tablets and other human-interface devices are also progressively migrating from MIDI, and PC game port connectors to USB SONY VGP-BPS13AS Battery .

Physical appearance

The connectors specified by the USB committee were designed to support a number of USB's underlying goals, and to reflect lessons learned from the menagerie of connectors which have been used in the computer industry Dell Inspiron 1320n Battery .

Usability and "upside down" connectors

  • It is by design difficult to attach a USB connector incorrectly. Most connectors cannot be plugged in upside down and it is clear from kinesthetic sensation of making a connection when the plug and socket are correctly mated Dell Inspiron 1464 Battery .

However, it is not obvious whether the connector should be face up or face down, and thus it is often necessary to try the insertion both ways. The side of the connector on a USB cable or other product with the "USB Icon" (trident logo) should be "visible" to the user during the mating process Dell Inspiron 1564 Battery .

Some manufacturers do not, however, make the trident logo on USB cables easily visible or detectable by touch. Additionally, Some computers such as the mac mini, have the ports vertically, in many Japanese computers and other devices, the trident logo on the cable or other USB device being inserted must be facing down Dell Inspiron 1764 Battery ,

while in many American computers and devices the logo must be facing up. However, this is not always the case, such as with some Dell (an American company) computers Dell Studio 1450 Battery .

Officially, the USB 2.0 specification states that the required USB Icon is to be "embossed" ("engraved" on the accompanying diagram) on the "topside" of the USB plug, which "provides easy user recognition and facilitates alignment during the mating process Dell Studio 1457 Battery .

" The specification also shows that the "recommended" (optional) "Manufacturer's logo" ("engraved" on the diagram but not specified in the text) is on the opposite side of the USB Icon. The specification further states "The USB Icon is also located adjacent to each receptacle Dell Latitude D610 Battery .

Receptacles should be oriented to allow the Icon on the plug to be visible during the mating process." However, the specification does not consider the height of the device compared to the eye level height of the user, so the side of the cable that is "visible" when mated to a computer on a desk can depend on whether the user is standing or kneeling Toshiba NB100 Battery .

Although published eight years later, the USB 3.0 specification has similar wording, stating only "USB 3.0 receptacles should be orientated to allow the Icon on the plug to be visible during the mating process."

  • Only moderate insertion/removal force is needed (by specification) Toshiba Satellite M65 battery .
  • USB cables and small USB devices are held in place by the gripping force from the receptacle (without need of the screws, clips, or thumbturns other connectors have required). The force needed to make or break a connection is modest, allowing connections to be made in awkward circumstances (i.e., behind a floor-mounted chassis, or from below) or by those with motor disabilities Toshiba Satellite M60 battery .
  • This has the disadvantage of easily and unintentionally breaking connections that one has intended to be permanent in case of cable accident (e.g., tripping, or inadvertent tugging).
  • The standard connectors were deliberately intended to enforce the directed topology of a USB network: type A connectors on host devices that supply power and type B connectors on target devices that receive power Dell Latitude D830 Battery .
  • This prevents users from accidentally connecting two USB power supplies to each other, which could lead to dangerously high currents, circuit failures, or even fire. USB does not support cyclical networks and the standard connectors from incompatible USB devices are themselves incompatible Dell Latitude D620 Battery .
  • Unlike other communications systems (e.g. RJ-45 cabling) gender changers make little sense with USB and are almost never used, though cables with 2 standard type A plugs are commonly found in North American dollar stores Dell Inspiron Mini 10 Battery .

USB extension cord

Durability

  • The standard connectors were designed to be robust. Many previous connector designs were fragile, specifying embedded component pins or other delicate parts which proved vulnerable to bending or breakage, even with the application of modest force Sony VGN-FW11S Battery .
  • The electrical contacts in a USB connector are protected by an adjacent plastic tongue, and the entire connecting assembly is usually protected by an enclosing metal sheath. Although meant to reinforce the metal connections, the construction and materials used in the plastic tongue can actually decrease the life of the connector Sony VGN-FW11M Battery ,
  • as some manufacturers use hard, brittle plastics that easily break when bent.
  • The connector construction always ensures that the external sheath on the plug makes contact with its counterpart in the receptacle before any of the four connectors within make electrical contact Sony VGN-FW139E/H battery .
  • The external metallic sheath is typically connected to system ground, thus dissipating damaging static charges. This enclosure design also provides a (moderate) degree of protection from electromagnetic interference to the USB signal while it travels through the mated connector pair (the only location when the otherwise twisted data pair travels in parallel) Dell Latitude E5400 Battery .
  • In addition, because of the required sizes of the power and common connections, they are made after the system ground but before the data connections. This type of staged make-break timing allows for electrically safe hot-swapping, a common practice in the design of connectors in the aerospace industry Dell Latitude E4200 Battery .
  • The newer Micro-USB receptacles are designed for up to 10,000 cycles of insertion and removal between the receptacle and plug, compared to 1500 for the standard USB and 5000 for the Mini-USB receptacle. This is accomplished by adding a locking device and by moving the leaf-spring connector from the jack to the plug Dell Vostro A840 Battery ,
  • so that the most-stressed part is on the cable side of the connection. This change was made so that the connector on the less expensive cable would bear the most wear instead of the more expensive micro-USB device.

Compatibility

eSATAp (eSATA/USB) combo port is compatible with USB devices Dell Inspiron 300M Battery

  • The USB standard specifies relatively loose tolerances for compliant USB connectors to minimize physical incompatibilities in connectors from different vendors. To address a weakness present in some other connector standards, the USB specification also defines limits to the size of a connecting device in the area around its plug Dell Studio 1737 battery .
  • This was done to prevent a device from blocking adjacent ports due to the size of the cable strain relief mechanism (usually molding integral with the cable outer insulation) at the connector. Compliant devices must either fit within the size restrictions or support a compliant extension cable which does Dell Inspiron E1505 battery .
  • Two-way communication is also possible. In USB 3.0, full-duplex communications are done when using SuperSpeed (USB 3.0) transfer. In previous USB versions (i.e., 1.x or 2.0), all communication is half-duplex and directionally controlled by the hostDell RM791 battery .

In general, cables have only plugs (very few have a receptacle on one end, although extension cables with a standard A plug and jack are sold), and hosts and devices have only receptacles. Hosts almost universally have type-A receptacles, and devices one or another type-B variety Dell XPS M1530 battery .

Type-A plugs mate only with type-A receptacles, and type-B with type-B; they are deliberately physically incompatible. However, an extension to USB standard specification called USB On-The-Go allows a single port to act as either a host or a device—chosen by which end of the cable plugs into the receptacle on the unit Dell XPS M2010 battery .

Even after the cable is hooked up and the units are talking, the two units may "swap" ends under program control. This capability is meant for units such as PDAs in which the USB link might connect to a PC's host port as a device in one instance, yet connect as a host itself to a keyboard and mouse device in another instance Acer Aspire One battery .

  • USB 3.0 receptacles are electrically compatible with USB 2.0 device plugs if they can physically match. Most combinations will work, but there are a few physical incompatibilities. However, only USB 3.0 Standard-A receptacles can accept USB 3.0 Standard-A device plugs Toshiba Satellite P10 Battery .
  • eSATAp (eSATA/USB) port is also compatible with USB 2.0 devices

Cable plugs (USB 1.x/2.0)

Cables exist with pairs of plugs as indicated in the following table.

In addition to the above cable assemblies comprising two plugs, an "adapter" cable with a Micro-A plug and a Standard-A receptacle is compliant with USB specifications SONY VGN-FZ210CE Battery .

Other combinations of connectors are not compliant. However, some older devices and cables with Mini-A connectors have been certified by USB-IF. The Mini-A connector has been deprecated: there will be no new certification of assemblies using Mini-A connector Dell Precision M70 Battery .

Connector types

Types of USB connectors left to right:
• Micro-B plug
• Mini-B plug (8-pin)
• Mini-B plug (5-pin)
• Standard-A receptacle Toshiba Satellite L305 Battery
• Standard-A plug
• Standard-B plug
(ruler in centimeters) Toshiba Satellite T4900 Battery

There are several types of USB connectors, including some that have been added while the specification progressed. The original USB specification detailed Standard-A and Standard-B plugs and receptacles. The first engineering change notice to the USB 2.0 specification added Mini-B plugs and receptacles Toshiba PA3399U-2BRS battery .

The data connectors in the Standard-A plug are actually recessed in the plug as compared to the outside power connectors. This permits the power to connect first which prevents data errors by allowing the device to power up first and then transfer the data. Some devices will operate in different modes depending on whether the data connection is made Toshiba Satellite A200 Battery .

This difference in connection can be exploited by inserting the connector only partially. For example, some battery-powered MP3 players switch into file transfer mode and cannot play MP3 files while a USB plug is fully inserted, but can be operated in MP3 playback mode using USB power by inserting the plug only part way so that the power slots make contact while the data slots do notToshiba Satellite 1200 Battery .

This enables those devices to be operated in MP3 playback mode while getting power from the cable.

To reliably enable a charge-only feature, modern USB accessory peripherals now include charging cables that provide power connections to the host port but no data connections Toshiba Satellite M300 Battery ,

and both home and vehicle charging docks are available that supply power from a converter device and do not include a host device and data pins, allowing any capable USB device to be charged and/or operated from a standard USB cable.

USB standard connectors

Standard type A

The Standard-A type of USB plug is a flattened rectangle which inserts into a "downstream-port" receptacle on the USB host, or a hub, and carries both power and data Sony Vaio PCG-5G2L Battery .

This plug is frequently seen on cables that are permanently attached to a device, such as one connecting a keyboard or mouse to the computer via usb connection.

USB connections eventually wear out as the connection loosens through repeated plugging and unplugging. The lifetime of a USB-A male connector is approximately 1,500 connect/disconnect cycles Sony Vaio PCG-5G3L Battery .

Standard type B

A Standard-B plug—which has a square shape with bevelled exterior corners—typically plugs into an "upstream receptacle" on a device that uses a removable cable, e.g. a printer. A Type B plug delivers power in addition to carrying data. On some devices, the Type B receptacle has no data connections, being used solely for accepting power from the upstream device Sony Vaio PCG-5J1L Battery .

This two-connector-type scheme (A/B) prevents a user from accidentally creating anelectrical loop.

USB Mini and Micro connectors

Various connectors have been used for smaller devices such as PDAs, mobile phones or digital cameras Sony Vaio PCG-5K2L Battery.

These include the now-deprecated (but standardized) Mini-A and the currently standard Mini-B, Micro-A, and Micro-B connectors. The Mini-A and Mini-B plugs are approximately 3 by 7 mm Sony Vaio PCG-5J2L Battery .

The micro-USB plugs have a similar width but approximately half the thickness, enabling their integration into thinner portable devices. The micro-A connector is 6.85 by 1.8 mm with a maximum overmold size of 11.7 by 8.5 mm. The micro-B connector is 6.85 by 1.8 mm with a maximum overmold size of 10.6 by 8.5 mm Sony Vaio PCG-5K1L Battery .

The Micro-USB connector was announced by the USB-IF on January 4, 2007 . The Mini-A connector and the Mini-AB receptacle connector were deprecated on May 23, 2007 . As of February 2009, many currently available devices and cables still use Mini plugs, but the newer Micro connectors are being widely adopted and as of December 2010, the Micro connectors are the most widely usedSony Vaio PCG-5L1L Battery .

The thinner micro connectors are intended to replace the Mini plugs in new devices including smartphones and personal digital assistants. The Micro plug design is rated for at least 10,000 connect-disconnect cycles which is significantly more than the Mini plug design Sony Vaio PCG-6S2L Battery .

The Universal Serial Bus Micro-USB Cables and Connectors Specification details the mechanical characteristics of Micro-A plugs, Micro-AB receptacles, and Micro-B plugs and receptacles, along with a Standard-A receptacle to Micro-A plug adapter Sony Vaio PCG-6S3L Battery .

The cellular phone carrier group, Open Mobile Terminal Platform (OMTP) in 2007 have endorsed Micro-USB as the standard connector for data and power on mobile devices. These include various types of battery chargers, allowing Micro-USB to be the single external cable link needed by some devices Sony Vaio PCG-6V1L Battery .

As of January 30, 2009 Micro-USB has been accepted and is being used by almost all cell phone manufacturers as the standard charging port (including HTC, Motorola, Nokia, LG, Hewlett-Packard, Samsung, Sony Ericsson, Research In Motion) in most of the world Sony Vaio PCG-6W1L Battery .

On June 29, 2009, following a request from the European Commission and in close co-operation with the Commission services, major producers of mobile phones have agreed in a Memorandum of Understanding (“MoU”) to harmonise chargers for data-enabled mobile phones sold in the European Union Sony Vaio PCG-6W2L Battery .

Industry commits to provide charger compatibility on the basis of the Micro-USB connector. Consumers will be able to purchase mobile phones without a charger, thus logically reducing their cost. Following a mandate from the European Commission Sony Vaio PCG-6W3L Battery ,

the European Standardisation Bodies CEN-CENELEC and ETSI have now made available the harmonised standards needed for the manufacture of data-enabled mobile phones compatible with the new common charger based on micro-USB Sony Vaio PCG-7111L Battery .

In addition, on October 22, 2009 the International Telecommunication Union (ITU) has also announced that it had embraced micro-USB as the Universal Charger Solution its "energy-efficient one-charger-fits-all new mobile phone solution", and added: "Based on the Micro-USB interface Sony Vaio PCG-7112L Battery ,

UCS chargers will also include a 4-star or higher efficiency rating—up to three times more energy-efficient than an unrated charger."

USB Micro-AB Socket OTG

An OTG device is required to have one, and only one USB connector: a Micro-AB receptacle as defined in [Micro-USB1.01]. This receptacle is capable of accepting either a Micro-A plug or a Micro-B plug attached to any of the legal cables and adapters defined in [Micro-USB1.01] Sony Vaio PCG-7113L Battery .

The OTG device with the A-plug inserted is called the A-device and is responsible for powering the USB interface when required and by default assumes the role of host. The OTG device with the B-plug inserted is called the B-device and by default assumes the role of peripheral Sony Vaio PCG-7133L Battery .

An OTG device with no plug inserted defaults to acting as a B-device. If an application on the B-device requires the role of host, then the HNP protocol is used to temporarily transfer the host role to the B-device Sony Vaio PCG-7Z2L Battery .

OTG devices attached either to a peripheral-only B-device or a standard/embedded host will have their role fixed by the cable since in these scenarios it is only possible to attach the cable one way around Sony Vaio PCG-8Y1L Battery .

Proprietary connectors and formats

  • Microsoft's original Xbox game console uses standard USB 1.1 signalling in its controllers and memory cards, but uses proprietary connectors and ports Sony Vaio PCG-8Y2L Battery .
  • IBM UltraPort uses standard USB signalling, but via a proprietary connection format.
  • American Power Conversion uses USB signalling and HID device class on its uninterruptible power supplies using 10P10C connectors Sony Vaio PCG-8Z1L Battery .

HTC manufactures Windows Mobile and Android-based Communicators which have a proprietary connector called HTC ExtUSB (Extended USB). ExtUSB combines mini-USB (with which it is backwards-compatible) with audio input as well as audio and video output in an 11-pin connector Sony Vaio PCG-8Z2L Battery .

Nokia includes a USB connection as part of the Pop-Port connector on some older mobile phone models.

  • Sony Ericsson used a proprietary connector called FastPort from 2005 to 2009 Sony VAIO PCG-5G2L Battery .
  • The second, third, and fourth generation iPod Shuffle uses a TRRS connector to carry USB, audio, or power signals.
  • iriver added a fifth power pin within USB-A plugs for higher power and faster charging, used for the iriver U10 series. A mini-USB version contains a matching extra power pin for the cradle Sony VAIO PCG-5G3L Battery .
  • Apple has shipped non-standard USB extension cables with some of their computers, for use with the included Apple USB keyboards. The extension cable's socket is keyed with a small protrusion to prevent the insertion of a standard USB plug, while the Apple USB keyboard's plug has a matching indentation Sony VAIO PCG-5J1L Battery .
  • The indentation on the keyboard's plug does not interfere with insertion into a standard USB socket. Despite the keying, it is still possible to insert standard USB plugs into the extension cord. The protrusion can also be shaved off with an appropriate blade, or crushed with locking pliers Sony VAIO PCG-5K2L Battery .
  • Apple also uses a proprietary USB 30-pin dock connector on its iPods, iPhones, and the iPad.
  • HP Tablet computers use non-standard connectors to transmit the USB signals between the keyboard/mouse unit and the Computer Tablet Unit Sony VAIO PCG-5J2L Battery .
  • PDMI (Portable Digital Media Interface) is a 30-pin docking connector for portable devices standardized by ANSI/CEA which includes USB 3.0 "SuperSpeed" and USB 2.0 "High/Standard Speed" with USB-on-the-go, as well as DisplayPort, HDMI CEC, 5 V power, and analog audio Sony VAIO PCG-5K1L Battery .
  • Some digital cameras have their own USB connectors, like the Panasonic Lumix DMC-FT2.

Cables

The maximum length of a standard USB cable (for USB 2.0 or earlier) is 5 metres (16.4 ft). The primary reason for this limit is the maximum allowed round-trip delay of about 1,500 ns Sony VAIO PCG-5L1L Battery .

If USB host commands are unanswered by the USB device within the allowed time, the host considers the command lost. When adding USB device response time, delays from the maximum number of hubs added to the delays from connecting cables, the maximum acceptable delay per cable amounts to be 26 ns Sony VAIO PCG-6S2L Battery .

The USB 2.0 specification requires cable delay to be less than 5.2 ns per meter (192,000 km/s, which is close to the maximum achievable transmission speed for standard copper cable). This allows for a five meter cable. The USB 3.0 standard does not directly specify a maximum cable length, requiring only that all cables meet an electrical specification Sony VAIO PCG-6S3L Battery .

For copper wire cabling, some calculations have suggested a maximum length of perhaps 3 m.

The data cables for USB 1.x and USB 2.x use a twisted pair to reduce noise and crosstalk. They are arranged much as in the diagram below Sony VAIO PCG-6V1L Battery .

USB 3.0 cables are more complex and employ shielding for some of the added data lines (2 pairs); a shield is added around the pair sketched.

Maximum useful distance

USB 1.1 maximum cable length is 3 metres (9.8 ft) and USB 2.0 maximum cable length is 5 metres (16 ft) Sony VAIO PCG-6W1L Battery .

Although a single cable is limited to five meters, the USB 2.0 specification permits up to five USB hubs in a long chain of cables and hubs. The USB FAQ recommends using hubs as repeaters, allowing a maximum distance of 30 metres (98 ft) between host and device, using six cables 5 metres (16 ft) long and five hubs Sony VAIO PCG-6W2L Battery .

In actual use, since some USB devices have built-in cables for connecting to the hub, the maximum achievable distance is 25 metres (82 ft) + the length of the device's cable. For longer lengths, USB extenders that use CAT5 cable can increase the distance between USB devices up to 50 metres (160 ft) Sony VAIO PCG-6W3L Battery .

A method of extending USB beyond 5 metres (16 ft) is by using low resistance cable. The higher cost of USB 2.0 Cat 5 extenders has urged some manufacturers to use other methods to extend USB, such as using built-in USB hubs, and custom low-resistance USB cable Sony VAIO PCG-7111L Battery .

It is important to note that devices which use more bus power, such as USB hard drives and scanners, will require a powered USB hub at the end of the extension to deliver the proper voltage to the device. If power and data does not have sufficient power then problems can result, such as no connection at all, or intermittent connections during use Sony VAIO PCG-7112L Battery

USB 3.0 cable assembly may be of any length as long as all requirements defined in the specification are met. However, maximum bandwidth can be achieved across a maximum cable length of approximately three meters.

Power

The USB 1.x and 2.0 specifications provide a 5 V supply on a single wire from which connected USB devices may draw power Sony VAIO PCG-7113L Battery .

The specification provides for no more than 5.25 V and no less than 4.75 V (5 V±5%) between the positive and negative bus power lines. For USB 2.0 the voltage supplied by low-powered hub ports is 4.4 V to 5.25 V .

A unit load is defined as 100 mA in USB 2.0, and was raised to 150 mA in USB 3.0 Sony VAIO PCG-7133L Battery .

A maximum of 5 unit loads (500 mA) can be drawn from a port in USB 2.0, which was raised to 6 (900 mA) in USB 3.0. There are two types of devices: low-power and high-power. Low-power devices draw at most 1 unit load, with minimum operating voltage of 4.4 V in USB 2.0, and 4 V in USB 3.0 Sony VAIO PCG-7Z1L Battery .

High-power devices draw the maximum number of unit loads supported by the standard. All devices default as low-power but the device's software may request high-power as long as the power is available on the providing bus Sony VAIO PCG-7Z2L Battery .

Some devices like high-speed external disk drives may require more than 500 mA of current and therefore cannot be powered from one USB 2.0 port. Such devices usually come with Y-shaped cable that has two USB connectors to be inserted into a computer. With such a cable a device can draw power from two USB ports simultaneously Sony VAIO PCG-8Y1L Battery .

A bus-powered hub is initialized at 1 unit load and transitions to maximum unit loads after hub configuration is obtained. Any device connected to the hub will draw 1 unit load regardless of the current draw of devices connected to other ports of the hub (i.e. one device connected on a four-port hub will only draw 1 unit load despite the fact that all unit loads are being supplied to the hub Sony VAIO PCG-8Y2L Battery ).

A self-powered hub will supply maximum supported unit loads to any device connected to it. A battery-powered hub may supply maximum unit loads to ports. In addition, the VBUS will supply 1 unit load upstream for communication if parts of the Hub are powered down Sony VAIO PCG-8Z1L Battery .

In Battery Charging Specification, new powering modes are added to the USB specification. A host or hub Charging Downstream Port can supply a maximum of 1.5 A when communicating at low-bandwidth or full-bandwidth, a maximum of 900 mA when communicating at high-bandwidth Sony VAIO PCG-8Z2L Battery ,

and as much current as the connector will safely handle when no communication is taking place; USB 2.0 standard-A connectors are rated at 1500 mA by default. A Dedicated Charging Port can supply a maximum of 1.8 A of current at 5.25 V. A portable device can draw up to 1.8 A from a Dedicated Charging Port Sony VGP-BPS21 Battery .

The Dedicated Charging Port shorts the D+ and D- pins with a resistance of at most 200 ?. The short disables data transfer, but allows devices to detect the Dedicated Charging Port and allows very simple, high current chargers to be manufactured. The increased current (faster, 9 W charging) will occur once both the host/hub and devices support the new charging specification Sony VGP-BPS21A Battery .

Sleep and Charge

Sleep-and-charge USB ports can be used to charge electronic devices even when the computer is switched off. Normally when a computer is powered off the USB ports are powered down. This prevents phones and other devices from being able to charge unless the computer is powered on Sony VGP-BPS21B Battery .

Sleep-and-charge USB ports remain powered even when the computer is off. On laptops charging devices from the USB port when it is not being powered from AC will drain the laptop battery faster. Desktop machines need to remain plugged into AC power for Sleep-and-charge to work Sony VGP-BPS21/S Battery .

Mobile device charger standards

As of June 14, 2007, all new mobile phones applying for a license in China are required to use the USB port as a power port. This was the first standard to use the convention of shorting D+ and D- Sony VGP-BPS21A/B Battery .

In September 2007, the Open Mobile Terminal Platform group—a forum of mobile network operators and manufacturers such as Nokia, Samsung, Motorola,Sony Ericsson and LG—announced that its members had agreed on micro-USB as the future common connector for mobile devices SONY VGP-BPS21 Battery .

On February 17, 2009, the GSM Association announced that they had agreed on a standard charger for mobile phones. The standard connector to be adopted by 17 manufacturers including Nokia, Motorola and Samsung is to be the micro-USB connector (several media reports erroneously reported this as the mini-USB) SONY VGP-BPS21A Battery .

The new chargers will be much more efficient than existing chargers. Having a standard charger for all phones means that manufacturers will no longer have to supply a charger with every new phone. The basis of the GSMA's Universal Charger Solution (UCS) is the technical recommendation from OMTP and the USB-IF battery charging standard SONY VGP-BPS21B Battery .

On April 22, 2009, this was further endorsed by the CTIA – The Wireless Association.

On June 29, 2009 the European Commission announced an agreement with ten producers that starting in 2010, data-enabled mobile phones sold in theEuropean Union would include a micro-USB connector for recharge SONY VGP-BPS21/S Battery .

On October 22, 2009 the International Telecommunication Union (ITU) announced that it had embraced the Universal Charger Solution as its "energy-efficient one-charger-fits-all new mobile phone solution", and added: "Based on the Micro-USB interface, UCS chargers will also include a 4-star or higher efficiency rating—up to three times more energy-efficient than an unrated charger SONY VGP-BPS21A/B Battery ."

Non-standard devices

Some USB devices require more power than is permitted by the specifications for a single port. This is common for external hard and optical disc drives, and generally for devices with motors or lamps WD passport essential (500GB/640GB) .

Such devices can use an external power supply, which is allowed by the standard, or use a dual-input USB cable, one input of which is used for power and data transfer, the other solely for power, which makes the device a non-standard USB device WD passport essential (250GB/320GB) .

Some external hubs may, in practice, supply more power to USB devices than required by the specification but a standard-compliant device may not depend on this.

Some non-standard USB devices use the 5 V power supply without participating in a proper USB network which negotiates power draws with the host interface WD passport essential SE (750GB/1TB) .

These are usually referred to as USB decorations. The typical example is a USB-powered keyboard light; fans, mug coolers and heaters, battery chargers, miniature vacuum cleaners, and even miniature lava lamps are available. In most cases, these items contain no digital circuitry, and thus are not Standard compliant USB devices at all WD passport elite(250GB/320GB) .

This can theoretically cause problems with some computers, such as drawing too much current and hurting circuitry; prior to the Battery Charging Specification, the USB specification required that devices connect in a low-power mode (100 mA maximum) and communicate their current requirements to the host, which would then permit the device to switch into high-power mode WD passport elite(500GB/640GB) .

In addition to limiting the total average power used by the device, the USB specification limits the inrush current (i.e., that used to charge decoupling and filter capacitors) when the device is first connected. Otherwise, connecting a device could cause problems with the host's internal power WD passport studio for Mac(320GB/500GB) .

Also, USB devices are required to automatically enter ultra low-power suspend mode when the USB host is suspended. Nevertheless, many USB host interfaces do not cut off the power supply to USB devices when they are suspended since resuming from the suspended state would become a lot more complicated if they did WD passport studio for Mac(500GB/640GB) .

There are also devices at the host end that do not support negotiation, such as battery packs that can power USB-powered devices; some provide power, while others pass through the data lines to a host PC. USB power adapters convert utility power and/or another power source (e.g., a car's electrical system) to run attached devices WD Elements series(250GB/320GB) .

Some of these devices can supply up to 1 A of current. Without negotiation, the powered USB device is unable to inquire if it is allowed to draw 100 mA, 500 mA, or 1 A.

Powered USB

Powered USB uses standard USB signaling with the addition of extra power lines WD Elements SE(500GB/640GB) .

It uses four additional pins to supply up to 6 A at either 5 V, 12 V, or 24 V (depending on keying) to peripheral devices. The wires and contacts on the USB portion have been upgraded to support higher current on the 5 V line, as well. This is commonly used in retail systems and provides enough power to operate stationary barcode scanners, printers, pin pads, signature capture devices, etc WD Elements SE(750GB/1TB) .

This modification of the USB interface is proprietary and was developed by IBM, NCR, and FCI/Berg. It is essentially two connectors stacked such that the bottom connector accepts a standard USB plug and the top connector takes a power connector WD Elements desktop(500GB/640GB) .

Signaling

USB supports the following signaling rates:

  • A low-speed rate of 1.5 Mbit/s (~183 kB/s) is defined by USB 1.0. It is very similar to "full-bandwidth" operation except each bit takes 8 times as long to transmit. It is intended primarily to save cost in low-bandwidth human interface devices (HID) such as keyboards, mice, and joysticks WD Elements desktop(750GB/1TB) .
  • The full-speed rate of 12 Mbit/s (~1.43 MB/s) is the basic USB data rate defined by USB 1.1. All USB hubs support full-bandwidth.
  • A high-speed (USB 2.0) rate of 480 Mbit/s (~57 MB/s) was introduced in 2001. All hi-speed devices are capable of falling back to full-bandwidth operation if necessary; they are backward compatible. Connectors are identical WD Elements desktop(1.5 TB/2TB) .
  • A SuperSpeed (USB 3.0) rate of 4800 Mbit/s (~572 MB/s). The written USB 3.0 specification was released by Intel and partners in August 2008. The first USB 3 controller chips were sampled byNEC May 2009 and products using the 3.0 specification arrived beginning in January 2010 WD passport essential SE (750GB/1TB)--USB 3.0) .
  • USB 3.0 connectors are generally backwards compatible, but include new wiring and full duplex operation.

USB signals are transmitted on a twisted-pair data cable with 90? ±15% Characteristic impedance, labeled D+ and D?. Prior to USB 3.0, these collectively use half-duplex differential signaling to reduce the effects of electromagnetic noise on longer lines WD passport essential (500GB/640GB) .

Transmitted signal levels are 0.0–0.3 volts for low and 2.8–3.6 volts for high in full-bandwidth and low-bandwidth modes, and ?10–10 mV for low and 360–440 mV for high in hi-bandwidth mode. In FS mode the cable wires are not terminated, but the HS mode has termination of 45 ? to ground, or 90 ? differential to match the data cable impedance, reducing interference due to signal reflections WD passport for Mac(320GB/500GB) .

USB 3.0 introduces two additional pairs of shielded twisted wire and new, mostly interoperable contacts in USB 3.0 cables, for them. They permit the higher data rate, and full duplex operation.

A USB connection is always between a host or hub at the "A" connector end, and a device or hub's "upstream" port at the other end WD passport for Mac(640GB/1TB) .

Originally, this was a "B' connector, preventing erroneous loop connections, but additional upstream connectors were specified, and some cable vendors designed and sold cables which permitted erroneous connections (and potential damage to the circuitry). USB interconnections are not as fool-proof or as simple as originally intended My book essential 4 generation (640GB/1TB) .

The host includes 15 k? pull-down resistors on each data line. When no device is connected, this pulls both data lines low into the so-called "single-ended zero" state (SE0 in the USB documentation), and indicates a reset or disconnected connection.

A USB device pulls one of the data lines high with a 1.5 k? resistor WD My book essential 4 generation( 1.5TB/2TB) .

This overpowers one of the pull-down resistors in the host and leaves the data lines in an idle state called "J". For USB 1.x, the choice of data line indicates a device's bandwidth support; full-bandwidth devices pull D+ high, while low-bandwidth devices pull D? high.

USB data is transmitted by toggling the data lines between the J state and the opposite K state WD My book elite( 1TB/1.5TB) .

USB encodes data using the NRZI convention; a 0 bit is transmitted by toggling the data lines from J to K or vice-versa, while a 1 bit is transmitted by leaving the data lines as-is. To ensure a minimum density of signal transitions, USB uses bit stuffing; an extra 0 bit is inserted into the data stream after any appearance of six consecutive 1 bits WD My book studio(1TB/2TB) .

Seven consecutive 1 bits is always an error. USB 3.0 has introduced additional data transmission encodings.

A USB packet begins with an 8-bit synchronization sequence '00000001'. That is, after the initial idle state J, the data lines toggle KJKJKJKK WD My book essential 4 generation( 1.5TB/2TB) .

The final 1 bit (repeated K state) marks the end of the sync pattern and the beginning of the USB frame. For high bandwidth USB, the packet begins with a 32-bit synchronization sequence.

A USB packet's end, called EOP (end-of-packet), is indicated by the transmitter driving 2 bit times of SE0 (D+ and D? both below max) and 1 bit time of J state WD My book elite(640GB/2TB) .

After this, the transmitter ceases to drive the D+/D? lines and the aforementioned pull up resistors hold it in the J (idle) state. Sometimes skew due to hubs can add as much as one bit time before the SE0 of the end of packet. This extra bit can also result in a "bit stuff violation" if the six bits before it in the CRC are '1's. This bit should be ignored by receiver Seagate expansion portable (320GB/500GB) .

A USB bus is reset using a prolonged (10 to 20 milliseconds) SE0 signal.

USB 2.0 devices use a special protocol during reset, called "chirping", to negotiate the high bandwidth mode with the host/hub. A device that is HS capable first connects as an FS device (D+ pulled high), but upon receiving a USB RESET (both D+ and D? driven LOW by host for 10 to 20 ms) it pulls the D? line high, known as chirp K Seagate expansion (1.5TB/2TB) .

This indicates to the host that the device is high bandwidth. If the host/hub is also HS capable, it chirps (returns alternating J and K states on D? and D+ lines) letting the device know that the hub will operate at high bandwidth. The device has to receive at least 3 sets of KJ chirps before it changes to high bandwidth terminations and begins high bandwidth signaling Seagate Freeagent Desktop (500GB/1TB) .

Because USB 3.0 uses wiring separate and additional to that used by USB 2.0 and USB 1.x, such bandwidth negotiation is not required.

Clock tolerance is 480.00 Mbit/s ±500 ppm, 12.000 Mbit/s ±2500 ppm, 1.50 Mbit/s ±15000 ppm.

Though high bandwidth devices are commonly referred to as "USB 2.0" and advertised as "up to 480 Mbit/s", not all USB 2.0 devices are high bandwidth Seagate Freeagent Go(250GB/320GB) .

The USB-IF certifies devices and provides licenses to use special marketing logos for either "basic bandwidth" (low and full) or high bandwidth after passing a compliance test and paying a licensing fee. All devices are tested according to the latest specification, so recently compliant low bandwidth devices are also 2.0 devices Seagate Freeagent Go(500GB/640GB) .

USB 3

USB 3 released in 2008-11-12 uses tinned copper stranded AWG-28 cables with 90±7 ? impedance for its high-speed differential pairs and linear feedback shift register and 8b/10b encoding sent with a voltage of 1000 mV nominal with a 100 mV receiver threshold, the receiver uses equalization Seagate Freeagent Go(750GB/1TB) .

SSC clock and 300 ppm precision is used. Packet headers are protected with CRC-16, while data payload is protected with CRC-32. Power up to 3.6 W may be used. And one unit load in superspeed mode is equal to 150 mA Seagate Freeagent Goflex(250GB/320GB) .

USB 3 Pinout

USB 2.0 data rates

The theoretical maximum data rate in USB 2.0 is 480 Mbit/s (60 MB/s) per controller and is shared amongst all attached devicesSeagate Freeagent Goflex(500GB/640GB) .

Some chipset manufacturers overcome this bottleneck by providing multiple USB 2.0 controllers within the southbridge. Big performance gains can be achieved when attaching multiple high bandwidth USB devices such as disk enclosures in different controllers. The following table displays southbridge ICs that have multiple EHCI controllers Seagate Freeagent Goflex(750GB/1TB).

Every other AMD, Broadcom, and Intel southbridge supporting USB 2.0 has only one EHCI controller. All SiS southbridge, ULi, and VIA southbridge, single chip northbridge/southbridge supporting USB 2.0 have only one EHCI controller. Also all PCI USB 2.0 ICs used for add-in cards have only one EHCI controller Seagate Freeagent Goflex Pro(500GB/750GB) .

In PCIe, the usual design with multiple USB ports per EHCI controller has changed with the introduction of the MosChip MCS9990 IC. MCS9990 has one EHCI controller per port so all its USB ports can operate simultaneously without any performance limitations. Cards with dual ICs have been introduced as well, with two PCI USB 2.0 ICs attached to one PCI to PCIe bridge Seagate Freeagent Goflex desktop(1TB/2TB) .

Transfer speeds in practice

As of 2004, the actual throughput of USB 2.0 high bandwidth attained with a hard drive tested on a Mac was about 18 MiB/s, 30% of the maximum theoretical bulk data transfer rate of 60 MiB/s(480 Mbit/s). On Windows, the highest speed observed was 33 MiB/s, or 60% of the theoretical max Seagate Freeagent go for Mac(320GB/640GB) .

The drive could reach 58 MiB/s on Firewire, so the drive's speed was not a limiting factor.

According to a USB-IF chairman, "at least 10 to 15 percent of the stated peak 60 MB/s (480 Mbit/s) of Hi-Speed USB goes to overhead — the communication protocol between the card and the peripheral. Overhead is a component of all connectivity standards Samsung G2 protable (250gb/320GB) ."

Tables illustrating the transfer limits are shown in Chapter 5 of the USB spec.

Typical high bandwidth USB devices operate at lower data rates, often about 3 MiB/s overall, sometimes up to 10–20 MiB/s[citation needed]. For USB 1.1, an average transfer speed of 880 KiB/s has been observed Samsung G2 protable (500GB/640GB) .

For isochronous devices like audio streams, the bandwidth is constant, and reserved exclusively for a given device. The bus bandwidth therefore only has an effect on the number of channels that can be sent at a time, not the "speed" or latency of the transmission Samsung S2 protable (320GB/500GB) .

Data packets

USB communication takes the form of packets. Initially, all packets are sent from the host, via the root hub and possibly more hubs, to devices. Some of those packets direct a device to send some packets in reply Samsung S1 Mini (120GB/160GB) .

After the sync field, all packets are made of 8-bit bytes, transmitted least-significant bit first. The first byte is a packet identifier (PID) byte. The PID is actually 4 bits; the byte consists of the 4-bit PID followed by its bitwise complement. This redundancy helps detect errors Samsung S1 Mini (250GB/320GB) .

(Note also that a PID byte contains at most four consecutive 1 bits, and thus will never need bit-stuffing, even when combined with the final 1 bit in the sync byte. However, trailing 1 bits in the PID may require bit-stuffing within the first few bits of the payloadSamsung story station (1TB/1.5TB) .)

Handshake packets

Handshake packets consist of nothing but a PID byte, and are generally sent in response to data packets. The three basic types are ACK, indicating that data was successfully received, NAK, indicating that the data cannot be received at this time and should be retried Samsung Story station (1.5TB/2TB) ,

and STALL, indicating that the device has an error and will never be able to successfully transfer data until some corrective action (such as device initialization) is performed.

USB 2.0 added two additional handshake packets, NYET which indicates that a split transaction is not yet complete Samsung story station Esata(1TB/1.5TB) .

A NYET packet is also used to tell the host that the receiver has accepted a data packet, but cannot accept any more due to buffers being full. The host will then send PING packets and will continue with data packets once the device ACK's the PING. The other packet added was the ERR handshake to indicate that a split transaction failed Samsung G3 station (1TB/1.5TB) .

The only handshake packet the USB host may generate is ACK; if it is not ready to receive data, it should not instruct a device to send any.

Token packets

Token packets consist of a PID byte followed by 2 payload bytes: 11 bits of address and a 5-bit CRC. Tokens are only sent by the host, never a device Maxtor one touch 4 plus (500GB/750GB) .

IN and OUT tokens contain a 7-bit device number and 4-bit function number (for multifunction devices) and command the device to transmit DATAx packets, or receive the following DATAx packets, respectively.

An IN token expects a response from a device Maxtor one touch 4 plus (1TB/1.5TB) .

The response may be a NAK or STALL response, or a DATAx frame. In the latter case, the host issues an ACK handshake if appropriate.

An OUT token is followed immediately by a DATAx frame. The device responds with ACK, NAK, NYET, or STALL, as appropriate Maxtor cool black(640GB/1TB) .

SETUP operates much like an OUT token, but is used for initial device setup. It is followed by an 8-byte DATA0 frame with a standardized format.

Every millisecond (12000 full-bandwidth bit times), the USB host transmits a special SOF (start of frame) token Maxtor Black diamond (320GB/500GB) ,

containing an 11-bit incrementing frame number in place of a device address. This is used to synchronize isochronous data flows. High-bandwidth USB 2.0 devices receive 7 additional duplicate SOF tokens per frame, each introducing a 125 µs "microframe" (60000 high-bandwidth bit times each) Hitachi simple touch (250GB/320GB) .

USB 2.0 added a PING token, which asks a device if it is ready to receive an OUT/DATA packet pair. The device responds with ACK, NAK, or STALL, as appropriate. This avoids the need to send the DATA packet if the device knows that it will just respond with NAK Hitachi simple touch (320GB/500GB) .

USB 2.0 also added a larger 3-byte SPLIT token with a 7-bit hub number, 12 bits of control flags, and a 5-bit CRC. This is used to perform split transactions. Rather than tie up the high-bandwidth USB bus sending data to a slower USB device, the nearest high-bandwidth capable hub receives a SPLIT token followed by one or two USB packets at high bandwidth Hitachi life studio (320GB/500GB) ,

performs the data transfer at full or low bandwidth, and provides the response at high bandwidth when prompted by a second SPLIT token. The details are complex; see the USB specification Hitachi life studio desk (500GB/1TB) .

Data packets

A data packet consists of the PID followed by 0–1023 bytes of data payload (up to 1024 in high bandwidth, at most 8 at low bandwidth), and a 16-bit CRC Hitachi life studio plus (320GB/500GB) .

There are two basic data packets, DATA0 and DATA1. They must always be preceded by an address token, and are usually followed by a handshake token from the receiver back to the transmitter. The two packet types provide the 1-bit sequence number required by Stop-and-wait ARQ Hitachi life studio plus (320GB/500GB) .

If a USB host does not receive a response (such as an ACK) for data it has transmitted, it does not know if the data was received or not; the data might have been lost in transit, or it might have been received but the handshake response was lost.

To solve this problem, the device keeps track of the type of DATAx packet it last accepted Hitachi X mobile (250GB/320GB) .

If it receives another DATAx packet of the same type, it is acknowledged but ignored as a duplicate. Only a DATAx packet of the opposite type is actually received.

When a device is reset with a SETUP packet, it expects an 8-byte DATA0 packet next Hitachi X mobile(320GB/500GB) .

USB 2.0 added DATA2 and MDATA packet types as well. They are used only by high-bandwidth devices doing high-bandwidth isochronous transfers which need to transfer more than 1024 bytes per 125 µs "microframe" (8192 kB/s).

PRE "packet"

Low-bandwidth devices are supported with a special PID value, PRE Hitachi XL (1TB/2TB) .

This marks the beginning of a low-bandwidth packet, and is used by hubs which normally do not send full-bandwidth packets to low-bandwidth devices. Since all PID bytes include four 0 bits, they leave the bus in the full-bandwidth K state, which is the same as the low-bandwidth J state Toshiba canvio portable(320GB/500GB) .

It is followed by a brief pause during which hubs enable their low-bandwidth outputs, already idling in the J state, then a low-bandwidth packet follows, beginning with a sync sequence and PID byte, and ending with a brief period of SE0. Full-bandwidth devices other than hubs can simply ignore the PRE packet and its low-bandwidth contents, until the final SE0 indicates that a new packet follows Toshiba canvio portable(750GB/1TB) .

Protocol analyzers

Due to the complexities of the USB protocol, USB protocol analyzers are invaluable tools to USB device developers. USB analyzers are able to capture the data on USB and display information from low-level bus states to high-level data packets and class-level information Toshiba anvio for Mac(500GB/750GB) .

Comparisons with other device connection technologies

FireWire

USB was originally seen as a complement to FireWire (IEEE 1394), which was designed as a high-bandwidth serial bus which could efficiently interconnect peripherals such as hard disks, audio interfaces, and video equipment. USB originally operated at a far lower data rate and used much simpler hardware, and was suitable for small peripherals such as keyboards and mice Toshiba canvio for Mac(750GB/1TB) .

Sunday, January 2, 2011

Mobile Web

The Mobile Web refers to the use of Internet-connected applications, or browser-based access to the Internet from a mobile device - such as a smartphone or tablet PC - connected to a wireless network (Dell XPS M1210 Battery) http://www.hdd-shop.co.uk .

Traditionally, access to the Web has been via fixed-line services. However the Web is going mobile. In 2008 an important milestone in the transition from fixed to mobile Web use was reached when mobile access to the Internet exceeded desktop computer-based access for the first time (source: International Telecommunications Union, Oct 2009) (Dell Studio XPS 1340 Battery) .

In fact, the shift to mobile Web access has been accelerating since 2007 with the rise of larger form factor multitouch smartphones, and more recently since 2010 with the emergence of multitouch tablet computers (Dell Studio XPS 1640 Battery) .

Both platforms are more conducive to Internet access and better browser- or application-based user Web experiences than have been afforded by previous generations of mobile devices (Dell Vostro 1710 Battery) .

The distinction between mobile Web applications and native applications is anticipated to become increasingly blurred, as mobile browsers gain direct access to the hardware of mobile devices (including accelerometers and GPS chips), and the performance of browser-based applications improve (speed- and capability-wise) (Dell KM958 battery) .

Persistent storage and access to sophisticated user interface graphics functions may further reduce the need for the development of platform-specific nativeapplications.

Once users are unable to differentiate between native and mobile web applications, the Mobile Web will refer generically to web access or use of Internet-connected apps from a mobile device (Sony VGP-BPS13 battery) .

Mobile Web access today still suffers from interoperability and usability problems. Interoperability issues stem from the platform fragmentation of mobile devices,mobile operating systems, and browsers. Usability problems are centered around the small physical size of the mobile phone form factors (limited resolution screens and user input/operating limitations) (Sony VGP-BPS13/B battery) .

Mobile Internet

Further information: Mobile browser, Wireless broadband, and Mobile Internet Growth

'Mobile Internet' refers to access to the Internet from a mobile device, such as a smartphone or laptop via integrated capabilities or via an independent device (such as a USB modem or PCMCIA card) (Sony VGP-BPS13/S battery) .

Today USB modems are HSPA (3.5G) modems. Many users "tether" their smartphones to their laptop or personal computer with the wireless device providing access to the Internet via 3G, GPRS orCSD (Sony VGP-BPS13A/B battery) .

Standards

Total data consumed by Opera Mini users worldwide from 2006 to mid-2008 in TB

The development of standards is one approach being implemented to improve the interoperability, usability, and accessibility issues surrounding mobile web usage (Sony VGP-BPS13B/B battery) .

The Mobile Web Initiative (MWI) is a new initiative set up by the W3C to develop best practices and technologies relevant to the Mobile Web. The goal of the initiative is to make browsing the Web from mobile devices more reliable and accessible (Sony VGP-BPL9 battery) .

The main aim is to evolve standards of data formats from Internet providers that are tailored to the specifications of particular mobile devices. The W3C has published guidelines for mobile content, and is actively addressing the problem of device diversity by establishing a technology to support a repository of device descriptions (Sony VGP-BPS13B/B battery) .

W3C is also developing a validating scheme to assess the readiness of content for the mobile web, through its mobileOK Scheme, which will help content developers to quickly determine if their content is web-ready. The W3C guidelines and mobile OK approach have not been immune from criticism Sony VGP-BPL15 battery .

This puts the emphasis on Adaptation, which is now seen as the key process in achieving the ubiquitous web, when combined with a device description repository.

mTLD, the registry for .mobi, has released a free testing tool called the MobiReady Report (see mobiForge) to analyze the mobile readiness of website (Dell Inspiron E1505 battery) .

It does a free page analysis and gives a Mobi Ready score. This report tests the mobile-readiness of the site using industry best practices and standards Dell Latitude E6400 battery .

Other standards for the mobile web are being documented and explored for particular applications by interested industry groups, such as the use of the mobile web for the purpose of education and training (HP Pavilion dv6000 Battery) .

Development

The first access to the mobile web was commercially offered in Finland in 1996 on the Nokia 9000 Communicator phone via the Sonera and Radiolinja networks (SONY VAIO VGN-FZ Battery) .

This was access to the real internet. The first commercial launch of a mobile-specific browser-based web service was in 1999 in Japan when i-mode was launched by NTT DoCoMo SONY VAIO VGN-FZ18 Battery .

The Mobile Web primarily utilises lightweight pages written in Extensible Hypertext Markup Language (XHTML) or Wireless Markup Language(WML) to deliver content to mobile devices. Many new mobile browsers are moving beyond these limitations by supporting a wider range of Web formats, including variants of HTML commonly found on the desktop Web (SONY VAIO VGN-FZ180E Battery) .

Top-level domain

The .mobi sponsored top-level domain was launched specifically for the mobile Internet by a consortium of companies including Google, Microsoft, Nokia, Samsung, and Vodafone (SONY VAIO VGN-FZ220E Battery) .

By forcing sites to comply with mobile web standards, .mobi tries to ensure visitors a consistent and optimized experience on their mobile device. However, this domain has been criticized by several big names, including Tim Berners-Lee of the W3C, who claims that it breaks the device independence of the web (SONY VAIO VGN-FZ340E Battery) :

It is fundamentally useful to be able to quote the URI for some information and then look up that URI in an entirely different context. For example, I may want to look up a restaurant on my laptop, bookmark it, and then, when I only have my phone, check the bookmark to have a look at the evening menu (SONY VAIO VGN-FZ430E Battery).

Or, my travel agent may send me a pointer to my itinerary for a business trip. I may view the itinerary from my office on a large screen and want to see the map, or I may view it at the airport from my phone when all I want is the gate number (SONY VAIO VGN-FZ460E Battery) .

Dividing the Web into information destined for different devices, or different classes of user, or different classes of information, breaks the Web in a fundamental way. I urge ICANN not to create the ".mobi" top level domain (SONY VAIO VGN-FZ480E Battery) .

Seven mass media

Since the first ringing tone was sold on the mobile phone in Finland in 1998, the mobile has emerged as the seventh of the mass media (SONY VAIO VGN-FZ4000 Battery) .

Today a wide range of paid media content is consumed on mobile phones ranging from 9.3 billion dollars of music and 5 billion dollars of videogaming to horoscopes, virtual gifts, jokes, news, adult entertainment, etc. Also like on all other media, advertising appeared onto mobile when a free news service launched in Finland sponsored by ads in 2000 (SONY VAIO VGN-FZ31E Battery) .

In 2005, The Crazy Frog ringtone became the first mobile ringtone to cross over into the mainstream music charts, beating Coldplay for the Number 1 spot on the UK charts (SONY VAIO VGN-FZ31B Battery) .

Advertising

Advertisers are increasingly using the mobile Web as platform to reach consumers. The total value of advertising on mobile was 2.2 billion dollars in 2007 (SONY VAIO VGN-FZ31J Battery) .

A recent study by the Online Publishers Association reports that about one-in-ten mobile Web users said they have made a purchase based on a mobile Web ad, while 23% said they have visited a Web site, 13% said they have requested more information about a product or service and 11% said they have gone to a store to check out a product (SONY VAIO VGN-FZ31M Battery) .

Limitations

Though Internet access "on the go" provides advantages to many, such as the ability to communicate by email with others and obtain information anywhere, the web, accessed from mobile devices, has a large number of limitations , which may vary, depending on the device (SONY VAIO VGN-FZ31Z Battery) .

However, newer smartphones such as the iPhone and those using the Android operating system overcome some of these restrictions. Some problems which may be encountered include (SONY VAIO VGN-FZ38M Battery) :

  • Small screen size – This makes it difficult or impossible to see text and graphics dependent on the standard size of a desktop computer screen SONY VGP-BPS8 Battery .
  • Lack of windows – On a desktop computer, the ability to open more than one window at a time allows for multi-tasking and for easy revert to a previous page. Historically on mobile web, only one page can be displayed at a time, and pages can only be viewed in the sequence they were originally accessed SONY VGP-BPS13 Battery .
  • However, there are apps for the iPhone (e.g. Oceanus), as well as browsers such as Opera Mini for Java ME, allowing multiple windows, but sometimes a limited number, and not multiple windows in the same screen SONY VGP-BPS13/S Battery .
  • Navigation – Most mobile devices do not use a mouselike pointer, but rather simply an up and down function for scrolling, thereby limiting the flexibility in navigation SONY VGP-BPS13A/B Battery .
  • Lack of Javascript and cookies – Most devices do not support client-side scripting and storage of cookies (smartphones excluded), which are now widely used in most Web sites for enhancing user experience, facilitating the validation of data entered by the page visitor, etc SONY VGP-BPS13B/B Battery .
  • This also results in web analytics tools not being suitable for uniquely identifying visitors using mobile devices.
  • Types of pages accessible – Many sites that can be accessed on a desktop cannot on a mobile device SONY VGP-BPS13A/S Battery .
  • Many devices cannot access pages with a secured connection, Flash or other similar software, PDFs, or video sites, although recently this has been changing SONY VGP-BPS13AS Battery .
  • Speed – On most mobile devices, the speed of service is very slow, often slower than dial-up Internet access.
  • Broken pages – On many devices, a single page as viewed on a desktop is broken into segments, which are each treated as a separate page. Paired with the slow speed, navigation between these pages is slow Dell Inspiron 1320n Battery .
  • Compressed pages – Many pages, in their conversion to mobile format, are squeezed into an order different from how they would customarily be viewed on a desktop computer (Dell Inspiron 1464 Battery) .
  • Size of messages – Many devices have limits on the number of characters that can be sent in an email message.
  • Cost – the access and bandwidth charges levied by cellphone networks can be high if there is no flat fee per month (Dell Inspiron 1564 Battery) .
  • Location of mobile user:
    • if advertisements reach phone users in private locations, users find them more distressful (Banerjee & Dholakia, 2008)
    • if the user is abroad the flat fee per month usually does not apply (Dell Inspiron 1764 Battery)
  • Situation in which ad reaches user – When advertisements reach users in work-related situations, they may be considered more intrusive than in leisure situations (Banerjee & Dholakia, 2008) (Dell Studio 1450 Battery)

The inability of mobile web applications to access the local capabilities on the mobile device can limit their ability to provide the same features as native applications. The OMTP BONDI activity is acting as a catalyst to enable a set of JavaScript APIs which can access local capabilities in a secure way on the mobile device (Dell Studio 1457 Battery) .

Specifications and a reference implementation have been produced. Security is a key aspect in this provision in order to protect users from malicious web applications and widgets (Dell Latitude D610 Battery) .

In addition to the limitations of the device itself there are limitations that should be made known to users concerning the interference these devices cause in other electromagnetic technology (Toshiba NB100 Battery) .

The convergence of the Internet and phone, in particular has caused hospitals to increase their mobile phone exclusion zones. A study by Erik van Lieshout and colleagues (Academic Medical Centre, University of Amsterdam) has found that the General Packet Radio Service (GPRS) used in modern phones can affect machines from up to 3 meters away (Toshiba Satellite M65 battery) .

The Universal Mobile Telecommunications System (UMTS) signals, used in 3G networks, have a smaller exclusion zone of just a few centimeters. Not surprisingly, the worst offenders in hospitals are the doctors (New Scientist, 15 September 2007, pg.5) (Toshiba Satellite M60 battery) .

Wireless Application Protocol

Wireless Application Protocol (WAP) is an open international standard. A WAP browser is a commonly used web browser for small mobile devices such as cell phones (Dell Latitude D830 Battery) .

Before the introduction of WAP, service providers had extremely limited opportunities to offer interactive data services, but needed interactivity to support now-commonplace activities such as (Dell Latitude D620 Battery) :

The Japanese i-mode system offers another major competing wireless data protocol.

Technical specifications (Sony VGN-FW11S Battery)

  • The WAP standard describes a protocol suite allowing the interoperability of WAP equipment and software with many different network technologies, thus allowing the building of a single platform for competing network technologies such as GSM and IS-95 (also known as CDMA) networks (Sony VGN-FW11M Battery) .
  • The bottom-most protocol in the suite, the WAP Datagram Protocol (WDP), functions as an adaptation layer that makes every data network look a bit like UDP to the upper layers by providing unreliable transport of data with two 16-bit port numbers (origin and destination) (Sony VGN-FW139E/H battery) .
  • All the upper layers view WDP as one and the same protocol, which has several "technical realizations" on top of other "data bearers" such as SMS, USSD, etc. On native IP bearers such as GPRS, UMTS packet-radio service, or PPP on top of a circuit-switched data connection, WDP is in fact exactly UDP (Dell Latitude E5400 Battery) .
  • WTLS, an optional layer, provides a public-key cryptography-based security mechanism similar to TLS.
  • WTP provides transaction support (reliable request/response) adapted to the wireless world (Dell Latitude E4200 Battery) .
  • WTP supports more effectively than TCP the problem of packet loss, which occurs commonly in 2G wireless technologies in most radio conditions, but is misinterpreted by TCP as network congestion (Dell Vostro A840 Battery) .
  • Finally, one can think of WSP initially as a compressed version of HTTP.

This protocol suite allows a terminal to transmit requests that have an HTTP or HTTPS equivalent to a WAP gateway; the gateway translates requests into plain HTTP (Dell Inspiron 300M Battery) .

Wireless Application Environment (WAE)

The WAE space defines application-specific markup languages.

For WAP version 1.X, the primary language of the WAE is WML. In WAP 2.0, the primary markup language is XHTML Mobile Profile (Dell Studio 1737 battery) .

History

The WAP Forum dates from 1997. It aimed primarily to bring together the various wireless technologies in a standardised protocol.

In 2002 the WAP Forum was consolidated (along with many other forums of the industry) into OMA (Open Mobile Alliance) , which covers virtually everything in future development of wireless data services (Dell Inspiron E1505 battery) .

WAP 1.X

The WAP 1.0 standard, released in April 1998, described a complete software stack for mobile internet access.

WAP version 1.1 came out in 1999. WAP 1.2, the final update of the 1.X series was released in June 2000. The most important addition in version 1.2 was WAP push (Dell RM791 battery) .

WAP Push

WAP Push has been incorporated into the specification to allow WAP content to be pushed to the mobile handset with minimum user intervention. A WAP Push is basically a specially encoded message which includes a link to a WAP address (Dell XPS M1530 battery) .

WAP Push is specified on top of WDP; as such, it can be delivered over any WDP-supported bearer, such as GPRS or SMS. Most GSM networks have a wide range of modified processors, but GPRS activation from the network is not generally supported, so WAP Push messages have to be delivered on top of the SMS bearer (Dell XPS M2010 battery) .

On receiving a WAP Push, a WAP 1.2 or later enabled handset will automatically give the user the option to access the WAP content. This is also known as WAP Push SI (Service Indication).

The network entity that processes WAP Pushes and delivers them over an IP or SMS Bearer is known as a Push Proxy Gateway (PPG) (Acer Aspire One battery) .

WAP 2.0

WAP 2.0, released in 2002, a re-engineered WAP, uses a cut-down version of XHTML with end-to-end HTTP (i.e., dropping the gateway and custom protocol suite used to communicate with it) (Toshiba Satellite P10 Battery) .

A WAP gateway can be used in conjunction with WAP 2.0; however, in this scenario, it is used as a standard proxy server. The WAP gateway's role would then shift from one of translation to adding additional information to each request. This would be configured by the operator and could include telephone numbers, location, billing information, and handset information (SONY VGN-FZ210CE Battery) .

Mobile devices process XHTML Mobile Profile (XHTML MP), the markup language defined in WAP 2.0. It is a subset of XHTML and a superset of XHTML Basic. A version of cascading style sheets (CSS) called WAP CSS is supported by XHTML MP (Dell Precision M70 Battery) .

Commercial status

Europe

Marketers hyped WAP at the time of its introduction , leading users to expect WAP to have the performance of the Web. BT Cellnet, one of the UK telecoms, ran an advertising campaign depicting a cartoon WAP user surfing through a Neuromancer-like "information space" (Toshiba Satellite L305 Battery) .

In terms of speed, ease of use, appearance and interoperability, the reality fell far short of expectations when the first handsets became available in 1999 . This led to the wide usage of sardonic phrases such as "Worthless Application Protocol" , "Wait And Pay"and so on (Toshiba Satellite T4900 Battery) .

Critics advanced several explanations for the early failure of WAP, possibly not realizing that it was a United Kingdom product which had to comply with the laws of European nations. An example is the requirement to utilize an ITU message-type that is specific to the French language with appropriate character conversions being deployed by the WAP message transmit-and-receive software (Toshiba PA3399U-2BRS battery) .

Between 2003 and 2004 WAP made a stronger resurgence with the introduction of Wireless services (such as Vodafone Live!, T-Mobile T-Zones and other easily-accessible services). Operator revenues were generated by transfer of GPRS and UMTS data, which is a different business model than the traditional Web sites and ISPs use (Toshiba Satellite A200 Battery) .

According to the Mobile Data Association, the WAP traffic in the UK doubled from 2003 to 2004.

Today WAP use has largely disappeared. All modern handsets support full HTML, and do not use any kind of WAP markup (Toshiba Satellite 1200 Battery) .

The list of handsets supporting HTML is extensive, and easily includes all Android handsets, all Blackberry devices, all versions of the iPhone handset, and many Nokia handsets. WAP has not been the mainstream technology for web on mobile for a number of years (Toshiba Satellite M300 Battery) .

Asia

Unlike in Europe, WAP has seen huge success in Japan. While the largest operator NTT DoCoMo has famously disdained WAP in favor of its in-house system i-mode, rival operators KDDI (au) andSoftBank Mobile (previously Vodafone Japan) have both successfully deployed WAP technology (Sony Vaio PCG-5G2L Battery) .

In particular, J-Phone's Sha-Mail picture mail and Java (JSCL) services, as well as (au)'schakuuta/chakumovie (ringtone song/ringtone movie) services are based on WAP. After being shadowed by the initial success of i-mode, the two smaller Japanese operators have been gaining market share from DoCoMo since Spring 2001 Sony Vaio PCG-5G3L Battery .

Korea also provides advanced WAP services.

USA

The adoption of WAP in the US has suffered because many cell phone providers require separate activation and additional fees for data support, and also because telecommunications companies have sought to limit data access to only approved data providers operating under license of the signal carrier Sony Vaio PCG-5J1L Battery .

In recognition of the problem, the U.S. Federal Communications Commission (FCC) issued an order on July 31, 2007 which mandates that licensees of the 22-megahertz wide "Upper 700 MHz C Block" spectrum will have to implement a wireless platform which allows customers, device manufacturers, third-party application developers, and others to use any device or application of their choice when operating on this particular licensed network band Sony Vaio PCG-5K2L Battery .

Spin-off technologies

Spin-off technologies, such as MMS (Multimedia Messaging Service) (picture-messaging), a combination of WAP and SMS, have further driven the protocol Sony Vaio PCG-5J2L Battery .

An enhanced appreciation of device diversity, supported by the concomitant changes to WAP content to become more device-specific rather aiming at a lowest common denominator, has allowed for more usable and compelling content. As a result, the adoption rate of WAP technology is on the upswing Sony Vaio PCG-5K1L Battery .

Criticism

Commentators have criticized several aspects of WML and WAP. Technical criticisms include:

  • The idiosyncratic WML language: WML cut users off from the conventional HTML Web, leaving only native WAP content and Web-to-WAP proxi-content available to WAP users Sony Vaio PCG-5L1L Battery .
  • However, others argue that technology at that stage would simply not have been able to give access to anything but custom-designed content which was the sole purpose of WAP and its simple Sony Vaio PCG-6S2L Battery ,
  • reduced complexity interface as the citizens of many nations are not connected to the web at the present time and have to use government funded and controlled portals to WAP and similar non-complex services Sony Vaio PCG-6S3L Battery .
  • Under-specification of terminal requirements: The early WAP standards included many optional features and under-specified requirements, which meant that compliant devices would not necessarily interoperate properly Sony Vaio PCG-6V1L Battery.
  • This resulted in great variability in the actual behavior of phones, principally because WAP-service implementers and mobile-phone manufacturers did not obtain a copy of the standards or the correct hardware and the standard software modules. As an example, some phone models would not accept a page more than 1 Kb in size; others would downright crash Sony Vaio PCG-6W1L Battery .
  • The user interface of devices was also underspecified: as an example, accesskeys (e.g., the ability to press '4' to access directly the fourth link in a list) were variously implemented depending on phone models (sometimes with the accesskey number automatically displayed by the browser next to the link, sometimes without it, and sometimes accesskeys were not implemented at all) Sony Vaio PCG-6W2L Battery .
  • Constrained user interface capabilities: Terminals with small black-and-white screens and few buttons, like the early WAP terminals, face difficulties in presenting a lot of information to their user, which compounded the other problems Sony Vaio PCG-6W3L Battery :
  • one would have had to be extra careful in designing the user interface on such a resource-constrained device which was the real concept of WAP.
  • Lack of good authoring tools Sony Vaio PCG-7111L Battery :
  • The problems above might have succumbed in the face of a WML authoring tool that would have allowed content providers to easily publish content that would interoperate flawlessly with many models, adapting the pages presented to the User-Agent type Sony Vaio PCG-7112L Battery .
  • However, the development kits which existed did not provide such a general capability. Developing for the web was easy: with a text editor and a web browser, anybody could get started, thanks also to the forgiving nature of most desktop browser rendering engines Sony Vaio PCG-7113L Battery .
  • By contrast, the stringent requirements of the WML specifications, the variability in terminals, and the demands of testing on various wireless terminals, along with the lack of widely available desktop authoring and emulation tools, considerably lengthened the time required to complete most projects Sony Vaio PCG-7133L Battery .
  • As of 2009, however, with many mobile devices supporting XHTML, and programs such as Adobe Go Live and Dreamweaver offering improved web-authoring tools, it is becoming easier to create content, accessible by many new devices Sony Vaio PCG-7Z2L Battery .
  • Lack of user agent profiling tools: It quickly became nearly impossible for web hosts to determine if a request came from a mobile device, or from a larger more capable device. No useful profiling or database of device capabilities were built into the specifications in the unauthorized non-compliant products Sony Vaio PCG-8Y1L Battery .

Other criticisms address the wireless carriers' particular implementations of WAP:

  • Neglect of content providers: Some wireless carriers had assumed a "build it and they will come" strategy, meaning that they would just provide the transport of data as well as the terminals Sony Vaio PCG-8Y2L Battery ,
  • and then wait for content providers to publish their services on the Internet and make their investment in WAP useful. However, content providers received little help or incentive to go through the complicated route of development Sony Vaio PCG-8Z1L Battery .
  • Others, notably in Japan (cf. below), had a more thorough dialogue with their content-provider community, which was then replicated in modern, more successful WAP services such as i-mode in Japan or the Gallery service in France Sony Vaio PCG-8Z2L Battery .
  • Lack of openness: Many wireless carriers sold their WAP services as "open", in that they allowed users to reach any service expressed in WML and published on the Internet. However, they also made sure that the first page that clients accessed was their own "wireless portal", which they controlled very closely Sony VAIO PCG-5G2L Battery .
  • Some carriers also turned off editing or accessing the address bar in the device's browser. To facilitate users wanting to go off deck, an address bar on a form on a page linked off the hard coded home page page was provided. It makes it easier for carriers to implement filtering of off deck WML sites by URLs or to disable the address bar in the future if the carrier decides to switch all users to a walled garden model Sony VAIO PCG-5G3L Battery .
  • Given the difficulty in typing up fully qualifiedURLs on a phone keyboard, most users would give up going "off portal" or out of the walled garden; by not letting third parties put their own entries on the operators' wireless portal, some contend that operators cut themselves off from a valuable opportunity Sony VAIO PCG-5J1L Battery .
  • On the other hand, some operators argue that their customers would have wanted them to manage the experience and, on such a constrained device, avoid giving access to too many services Sony VAIO PCG-5K2L Battery .

Protocol design lessons from WAP

The original WAP model provided a simple platform for access to web-like WML services and e-mail using mobile phones in Europe and the SE Asian regions. As of 2009 it continues with a considerable user base Sony VAIO PCG-5J2L Battery .

The later versions of WAP, primarily targeting the United States market, were designed for a different requirement - to enable full web XHTML access using mobile devices with a higher specification and cost, and with a higher degree of software complexity.

Considerable discussion has addressed the question whether the WAP protocol design was appropriate Sony VAIO PCG-5K1L Battery.

Some have suggested that the bandwidth-sparing simple interface of Gopher would be a better match for mobile phones and Personal digital assistants (PDAs) Sony VAIO PCG-5L1L Battery .

The initial design of WAP specifically aimed at protocol independence across a range of different protocols (SMS, IP over PPP over a circuit switched bearer, IP over GPRS, etc.). This has led to a protocol considerably more complex than an approach directly over IP might have caused Sony VAIO PCG-6S2L Battery .

Most controversial, especially for many from the IP side, was the design of WAP over IP. WAP's transmission layer protocol, WTP, uses its own retransmission mechanisms over UDP to attempt to solve the problem of the inadequacy of TCP over high-packet-loss networks Sony VAIO PCG-6S3L Battery .

Mobile application development is the process by which applications are developed for small low-power handheld devices such as personal digital assistants, enterprise digital assistants or mobile phones. These applications are either pre-installed on phones during manufacture, or downloaded by customers from app stores and other mobile software distribution platforms Sony VAIO PCG-6V1L Battery .

Mobile software development

Mobile software development is the process of creating software which can be used on a mobile device. It also refers to the creation of special web and applications for mobile devices Sony VAIO PCG-6W1L Battery .

Mobile software is developed by using different platforms and programming languages based on the target mobile device. There are many different hardware components found in mobile devices so their applications are developed using different software architectures Sony VAIO PCG-6W2L Battery .

It is also made more difficult because users of mobile applications have diverse preferences so extensive improvements to traditional system development methodologies are required in order to keep up with this demand Sony VAIO PCG-6W3L Battery .

Most of the methodologies in use are based on the model-driven approach which has three different views of the application development process: (1) the application itself and its structure, (2) the business logic and (3) the graphical user interface of the application Sony VAIO PCG-7111L Battery .

Platforms for multi-vendor devices

The following software platforms will run on hardware platforms from a number of different manufacturers:

  • Java ME This platform generally produces portable applications, although sometimes device-specific libraries exist (commonly used for games), making them non-portable Sony VAIO PCG-7112L Battery .
  • It is often used to provide simple applications on feature phones. Applications (including their data) cannot be larger than around 1 MB if they are to run on most phones. They must also be cryptographically signed in order to use APIs such as the file system access API Sony VAIO PCG-7113L Battery .
  • This is relatively expensive and is rarely done, even for commercial applications. Java ME runs atop a Virtual Machine (called the KVM) which allows reasonable, but not complete, access to the functionality of the underlying phone Sony VAIO PCG-7133L Battery .
  • The JSR process serves to incrementally increase the functionality that can be made available to Java ME, while also providing Carriers and OEMs the ability to prevent access, or limit access to provisioned software Sony VAIO PCG-7Z1L Battery .
  • Symbian platform Designed from the start for mobile devices, the Symbian platform is a real time, multi-tasking OS specifically architected to run well on resource-constrained systems, maximising performance and battery life whilst minimising memory usage Sony VAIO PCG-7Z2L Battery .
  • The Symbian Foundation maintains the code for the open source software platform based on Symbian OS and software assets contributed by Nokia, NTT DOCOMO, and Sony Ericsson, including the S60 and MOAP(S) user interfaces Sony VAIO PCG-8Y1L Battery .
  • The platform is fully open source, mostly supplied under the Eclipse Public License. Over 300 million Symbian OS-based units have been shipped and Symbian holds more than a 50% market share globally Sony VAIO PCG-8Y2L Battery .
  • Android Android is a Linux-based platform from the Open Handset Alliance, whose 34 members include Google, HTC, Motorola, Qualcomm, and T-Mobile. It is supported by over 34 major software, hardware and telecoms companies Sony VAIO PCG-8Z1L Battery .
  • The Linux kernel is used as a hardware abstraction layer (HAL). Application programming is primarily done in Java. The Android specific Java SDK is required for development although any Java IDE may be used. Performance critical code can be written in C, C++ or other native code languages using the Android Native Development Kit (NDK) Sony VAIO PCG-8Z2L Battery .
  • Windows Mobile is a variant of Windows CE for mobile phones. Windows CE was originally developed for palmtop computers and Pocket PC PDAs with stylus-touch screens, and later adapted for use with keyboard-equipped smartphones (Sony VGP-BPS21 Battery) .
  • Phones have become the largest installed base for CE, though market share has fallen since the introduction of Android and IPhone. Windows Mobile supports a subset of the win32 programming interface, and a simplified GUI with one window on the screen at a time Sony VGP-BPS21A Battery .
  • Applications can use the .NET Compact Framework Devices are compatible with applications on Pocket PC/Windows Mobile devices. Windows Mobile 6.5 introduced IPhone-like finger-based touch interfaces, while Windows Phone 7 is a substantial redesign that usesSilverlight and XNA for rich user interfaces Sony VGP-BPS21B Battery .
  • Qt (framework) Qt uses standard C++ but makes extensive use of a special pre-processor (called the Meta Object Compiler, or moc) to enrich the language. Qt can also be used in several otherprogramming languages via language bindings. It runs on all major platforms and has extensive internationalization support Sony VGP-BPS21/S Battery .
  • Non-GUI features include SQL database access, XML parsing, thread management, network support, and a unified cross-platform API for file handling Sony VGP-BPS21A/B Battery .
  • BREW Used for deploying applications on CDMA devices (but also supports GPRS/GSM models). Distributed via a Brew Content Platform. Little penetration in Europe. BREW can provide complete control of the handset and access to all its functionality WD passport essential (500GB/640GB) .
  • However the power provided by native code with direct access to the handset APIs, has caused the BREW development process to be tailored largely towards recognized software vendors WD passport essential (250GB/320GB) .
  • While the BREW SDK (Software Development Kit) is freely available, running software on real mobile hardware (as opposed to the provided emulator) requires a digital signature which can only be generated with tools issued by a handful of parties, namely mobile content providers and Qualcomm themselves WD passport essential SE (750GB/1TB) .
  • Even then, the software will only work on test enabled devices. To be downloadable on regular phones the software must be checked, tested and given approval by Qualcomm via their TRUE BREW Testing program WD passport elite(250GB/320GB) .
  • Palm OS formerly had a strong enterprise following in the important US market, based on Palm PDAs
    • Palm webOS is Palm's follow-on proprietary mobile operating system running on a Linux kernel which supports multitasking. Launched with Palm Pre and Pixi, now owned by Hewlett Packard WD passport elite(500GB/640GB) .
  • Flash Lite Used for devices that support the Flash Lite player.
  • Microbrowser based. Lightweight functionality provided via a web-interface WD passport studio for Mac(320GB/500GB)

Platforms for single vendor devices

The following software platforms will only run on a hardware platforms from a specific manufacturer:

  • BlackBerry Supports push e-mail, mobile telephone, text messaging, internet faxing, web browsing and other wireless information services as well as a multi-touch interface WD passport studio for Mac(500GB/640GB)
  • . It has a built-in QWERTY keyboard, optimized for "thumbing", the use of only the thumbs to type. The BlackBerry devices soon took a dominating position on the North American smartphone market. Also important for BlackBerry are the BES (BlackBerry Enterprise Server) and the Mobile Data System (BlackBerry MDS) WD Elements series(250GB/320GB) .
  • iOS (Apple) The iPhone and iPod Touch SDK uses Objective-C, based on the C programming language. Currently, is only available on Mac OS X 10.5+ and is the only way to write an iPhone application. All applications must be cleared by Apple before being hosted on the AppStore, the sole distribution channel for iPhone and iPod touch applications WD Elements SE(500GB/640GB) .
  • However, non-Apple approved applications can be released to jailbroken iPhones via Cydia or Installer. This system is also used for the iPad tablet computer WD Elements SE(750GB/1TB) .

Execution environments

Windows Mobile, Palm OS, Symbian OS and iOS support typical application binaries as found on personal computers with code which executes in the native machine format of the processor WD Elements desktop(500GB/640GB)

the ARM architecture is a dominant design used on many current models). Windows Mobile can also be compiled to x86 executables for debugging on a PC without a processor emulator, and also supports thePortable Executable (PE) format associated with the .NET Framework WD Elements desktop(750GB/1TB) .

Windows Mobile, Palm OS and iOS offer free SDKs and Integrated Development Environments to developers. Machine language executables offer considerable performance advantages over Java WD Elements desktop(1.5 TB/2TB) .