This application demonstrates detailed uses of the GattClient APIs.

Committer:
mbed_official
Date:
Thu Aug 15 17:01:29 2019 +0100
Revision:
6:6913a83da3d5
Parent:
0:ad9793cc5249
Merge pull request #252 from donatieng/mbed_os_update

Update Master branch to use Mbed OS 5.13.1
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-ble

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Donatien Garnier 0:ad9793cc5249 1 # BLE Gatt Client example
Donatien Garnier 0:ad9793cc5249 2
Donatien Garnier 0:ad9793cc5249 3 This application demonstrates detailed uses of the GattClient APIs.
Donatien Garnier 0:ad9793cc5249 4
Donatien Garnier 0:ad9793cc5249 5 When the application is started it advertises itself to its environment with the
Donatien Garnier 0:ad9793cc5249 6 device name `GattClient`. Once you have connected to the device with your mobile
Donatien Garnier 0:ad9793cc5249 7 phone, the application starts a discovery of the GATT server exposed by your
Donatien Garnier 0:ad9793cc5249 8 mobile phone.
Donatien Garnier 0:ad9793cc5249 9
Donatien Garnier 0:ad9793cc5249 10 After the discovery, this application reads the value of the characteristics
Donatien Garnier 0:ad9793cc5249 11 discovered and subscribes to the characteristics emitting notifications or
Donatien Garnier 0:ad9793cc5249 12 indications.
Donatien Garnier 0:ad9793cc5249 13
Donatien Garnier 0:ad9793cc5249 14 The device prints the value of any indication or notification received from the
Donatien Garnier 0:ad9793cc5249 15 mobile phone.
Donatien Garnier 0:ad9793cc5249 16
Donatien Garnier 0:ad9793cc5249 17 # Running the application
Donatien Garnier 0:ad9793cc5249 18
Donatien Garnier 0:ad9793cc5249 19 ## Requirements
Donatien Garnier 0:ad9793cc5249 20
Donatien Garnier 0:ad9793cc5249 21 You may use a generic BLE scanners:
Donatien Garnier 0:ad9793cc5249 22
Donatien Garnier 0:ad9793cc5249 23 - [nRF Master Control Panel](https://play.google.com/store/apps/details?id=no.nordicsemi.android.mcp) for Android.
Donatien Garnier 0:ad9793cc5249 24
Donatien Garnier 0:ad9793cc5249 25 - [LightBlue](https://itunes.apple.com/gb/app/lightblue-bluetooth-low-energy/id557428110?mt=8) for iPhone.
Donatien Garnier 0:ad9793cc5249 26
Donatien Garnier 0:ad9793cc5249 27 Hardware requirements are in the [main readme](https://github.com/ARMmbed/mbed-os-example-ble/blob/master/README.md).
Donatien Garnier 0:ad9793cc5249 28
Donatien Garnier 0:ad9793cc5249 29 ## Building instructions
Donatien Garnier 0:ad9793cc5249 30
Donatien Garnier 0:ad9793cc5249 31 Building instructions for all samples are in the [main readme](https://github.com/ARMmbed/mbed-os-example-ble/blob/master/README.md).
Donatien Garnier 0:ad9793cc5249 32
Donatien Garnier 0:ad9793cc5249 33