aboutsummaryrefslogtreecommitdiff
path: root/connectivity/bluetooth/BluetoothLeGatt/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/bluetooth/BluetoothLeGatt/README.md')
-rw-r--r--connectivity/bluetooth/BluetoothLeGatt/README.md29
1 files changed, 25 insertions, 4 deletions
diff --git a/connectivity/bluetooth/BluetoothLeGatt/README.md b/connectivity/bluetooth/BluetoothLeGatt/README.md
index 951a82c9..47a17023 100644
--- a/connectivity/bluetooth/BluetoothLeGatt/README.md
+++ b/connectivity/bluetooth/BluetoothLeGatt/README.md
@@ -1,16 +1,37 @@
+
Android BluetoothLeGatt Sample
-==============================
+===================================
This sample demonstrates how to use the Bluetooth LE Generic Attribute Profile (GATT)
to transmit arbitrary data between devices.
+Introduction
+------------
+
+This sample shows a list of available Bluetooth LE devices and provides
+an interface to connect, display data and display GATT services and
+characteristics supported by the devices.
+
+It creates a [Service][1] for managing connection and data communication with a GATT server
+hosted on a given Bluetooth LE device.
+
+The Activities communicate with the Service, which in turn interacts with the [Bluetooth LE API][2].
+
+[1]:http://developer.android.com/reference/android/app/Service.html
+[2]:https://developer.android.com/reference/android/bluetooth/BluetoothGatt.html
+
Pre-requisites
--------------
-- Android SDK v20
-- Android Build Tools v20
+- Android SDK v23
+- Android Build Tools v22.0.1
- Android Support Repository
+Screenshots
+-------------
+
+<img src="screenshots/1-main.png" height="400" alt="Screenshot"/> <img src="screenshots/2-detail.png" height="400" alt="Screenshot"/>
+
Getting Started
---------------
@@ -41,7 +62,7 @@ file to you under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at
- http://www.apache.org/licenses/LICENSE-2.0
+http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT