Bluetooth full presentation
Active In SP
Joined: Feb 2011
24-02-2011, 03:02 PM
BLUETOOTH.ppt (Size: 538.5 KB / Downloads: 104)
A new technology of 21st century is reshaping of human life .The concept of silent commerce is commonly known as “sCOMMERCE” is the silent transfer of knowledge and information through phones and electronic devices Realistically, an average technological involved person heard the term “BLUETOOTH". The apparent name of this chip is derived from the 10th century Scandinavian king, HERALD BLUETOOTH. who was historically known for uniting various unorganized kingdoms.similarly,bluetooth is specialized to unite many competing many electronic standards under one main specification
• Bluetooth is a wireless technology that allows computers, phones and other devices to talk to each other over short distances (typically about 10 meters). Bluetooth uses radio waves (in the 2.4 Gigahertz range), and is designed to be a secure and inexpensive way of connecting and exchanging information between devices without wires.
How Does Bluetooth Works
Bluetooth is similar to short radio range
A Bluetooth device playing the role of the "master" can communicate with up to 7 devices playing the role of the "slave". This network of "group of up to 8 devices" (1 master + 7 slaves) is called a piconet. At any given time, data can be transferred between the master and 1 slave; but the master switches rapidly from slave to slave in a round-robin fashion *+
Why Bluetooth ?
The need for a cheap, standardised communication method prompted the invention of Bluetooth. Rather than each manufacturer making their own standards, and therefore only being able to connect certain products with each other, the Bluetooth standard is global. This means that any Bluetooth-compatible device made by any manyufacturer will communicate with any other Bluetooth device
1. Mobile phones use the technology to transfer MP3, files and images between phones
2. Wireless Bluetooth headsets are used for listening on both mobile phones and smart phones.
3. Game consoles like the Nintendo Revolution and Sony PlayStation 3 all have wireless controllers that use wireless technology
4. Wireless networking between laptops and desktop computers can be achieved with Bluetooth built into your computer or through a USB adapter.
5. Mobile phones and smart phones with new wireless innovations have been sold in vast quantities, as they are able to connect to computers, PDA's (Personal Data Assistant), and various other devices. The technology now supports devices with a more powerful and longer distance range.
6. Electronic wireless innovation is now used by Data logging equipment to transmit data to a computer.
7. MP3 players and digital cameras transfer files without wires to and from computers using blue tooth applications.
8. Computer mouse, keyboards, printers and other peripherals for use with your computer also use this new innovation
1. Fast wireless data transfers
2. Ability to communicate with devices that are not in a direct line of site
3. Cheap componements
4. Lots of compactable device like Bluetooth headsets, phones & printers etc
Joined: Apr 2012
28-07-2012, 11:32 AM
Bluetooth1.docx (Size: 87.44 KB / Downloads: 22)
In order to use Bluetooth features in your application, you need to declare at least one of two Bluetooth permissions: BLUETOOTH and BLUETOOTH_ADMIN.
You must request the BLUETOOTH permission in order to perform any Bluetooth communication, such as requesting a connection, accepting a connection, and transferring data.
You must request the BLUETOOTH_ADMIN permission in order to initiate device discovery or manipulate Bluetooth settings. Most applications need this permission solely for the ability to discover local Bluetooth devices. The other abilities granted by this permission should not be used, unless the application is a "power manager" that will modify Bluetooth settings upon user request. Note: If you use BLUETOOTH_ADMIN permission, then must also have the BLUETOOTH permission.
Using the BluetoothAdapter, you can find remote Bluetooth devices either through device discovery or by querying the list of paired (bonded) devices.
Device discovery is a scanning procedure that searches the local area for Bluetooth enabled devices and then requesting some information about each one (this is sometimes referred to as "discovering," "inquiring" or "scanning"). However, a Bluetooth device within the local area will respond to a discovery request only if it is currently enabled to be discoverable. If a device is discoverable, it will respond to the discovery request by sharing some information, such as the device name, class, and its unique MAC address. Using this information, the device performing discovery can then choose to initiate a connection to the discovered device.
Once a connection is made with a remote device for the first time, a pairing request is automatically presented to the user. When a device is paired, the basic information about that device (such as the device name, class, and MAC address) is saved and can be read using the Bluetooth APIs. Using the known MAC address for a remote device, a connection can be initiated with it at any time without performing discovery (assuming the device is within range).
Remember there is a difference between being paired and being connected. To be paired means that two devices are aware of each other's existence, have a shared link-key that can be used for authentication, and are capable of establishing an encrypted connection with each other. To be connected means that the devices currently share an RFCOMM channel and are able to transmit data with each other. The current Android Bluetooth API's require devices to be paired before an RFCOMM connection can be established. (Pairing is automatically performed when you initiate an encrypted connection with the Bluetooth APIs.)
In order to create a connection between your application on two devices, you must implement both the server-side and client-side mechanisms, because one device must open a server socket and the other one must initiate the connection (using the server device's MAC address to initiate a connection). The server and client are considered connected to each other when they each have a connected BluetoothSocket on the same RFCOMM channel. At this point, each device can obtain input and output streams and data transfer can begin, which is discussed in the section about Managing a Connection. This section describes how to initiate the connection between two devices.
The server device and the client device each obtain the required BluetoothSocket in different ways. The server will receive it when an incoming connection is accepted. The client will receive it when it opens an RFCOMM channel to the server.
Working with Profiles
Starting in Android 3.0, the Bluetooth API includes support for working with Bluetooth profiles. A Bluetooth profile is a wireless interface specification for Bluetooth-based communication between devices. An example is the Hands-Free profile. For a mobile phone to connect to a wireless headset, both devices must support the Hands-Free profile.