Marco Ferreira / BLE_API

Fork of BLE_API by Bluetooth Low Energy

Committer:
vcoubard
Date:
Wed Apr 06 19:15:32 2016 +0100
Revision:
1180:e11b058d005e
Parent:
1053:ec4a5b9b254e
Synchronized with git rev a990f23a
Author: Andres Amaya Garcia
Add connectionCount and fix Gap state updates

Add a connectionCount member to Gap that keeps track of the total number of
open connections. Also, update the Gap state member when a connection is opened
to set advertising to false. Finally modify the processDisconnection member to
unset the connected state if connectionCount is 0.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rgrover1 867:b099c28e8e28 1 # Hello!
vcoubard 1052:b55e1ad3e1b3 2 We are an open source project of [ARM mbed](https://www.mbed.com). Contributions via [pull request](https://github.com/ARMmbed/ble/pulls), and [bug reports](https://github.com/ARMmbed/ble/issues) are welcome!
rgrover1 867:b099c28e8e28 3
vcoubard 1053:ec4a5b9b254e 4 Please submit your pull request to the `develop` branch of [this module](https://github.com/ARMmbed/ble/tree/develop). Commits to develop will be merge into the master branch at the time of the next release.
rgrover1 867:b099c28e8e28 5
rgrover1 867:b099c28e8e28 6 # Contributor agreement
vcoubard 1052:b55e1ad3e1b3 7 For your pull request to be accepted, we will need you to agree to our [contributor agreement](https://developer.mbed.org/contributor_agreement/) to give us the necessary rights to use and distribute your contributions. (To click through the agreement create an account on mbed.com and log in.)