Commit graph

5 commits

Author SHA1 Message Date
Andre Eisenbach
285fed0963 Add server-side callback for change in MTU (1/4)
When a client requests to update the LE transport MTU, the server
currently does not get notified and can therefor not properly size
notifications appropriate to the current MTU.

Bug: 18388114
Change-Id: I136f32cba48da3302e13fb9a9ec81b8e01712138
2014-11-26 12:56:23 -08:00
Andre Eisenbach
9ef3c72ef3 LE: Add notification sent and congestion callbacks (1/4)
This change introduces two new callbacks for applications to better
handle LE notification flow control and transport congestion. The
notification callback is invoked when the remote platform confirms an
indication or when a local notification has been passed to the
controller. No new notifications should be sent until a callback is
received.

Congestion callbacks are triggered when a GATT operation cannot be sent
to the local Bluetooth controller. Repeatedly calling
writeCharacteristic() for example will eventually trigger a congestion
callback. Applications cannot send additional data until a further
callback is received, indicating that the congestion has cleared up.

Change-Id: I613cbf968770921f853a407888bb8308849039f3
2014-06-25 14:00:30 -07:00
Ganesh Ganapathi Batta
f9f4d10c4a Add transport param to Connect APIs
Support for passing preferred transport for GATT connections as part of
Connect APIs

Change-Id: I83ba256574234c0a15a4bff48bcffa2e237c9393
2014-05-06 01:24:05 -07:00
Andre Eisenbach
3331718e7a LE (1/3): Add application ID to connection callback
Bug: 8589393
Change-Id: I1c9d83b988cad71c5652ecf4025fdc6f650fff42
2013-04-16 23:54:28 -07:00
Ganesh Ganapathi Batta
fefb334390 Initial version of BLE support for Bluedroid
Change-Id: Iacf3a56943b31c4fd4f4b833ed675a35cbd47104
2013-02-27 18:14:00 -08:00