Commit: ccd0e3783dbfeedd70a94a404580daffac772323
Parent: 1d4f111fae897e5bbee5733955dd2d75c815e659
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-07-24 18:41:47
Tree: 0991e58287d0f9596bad08fa7f182008a3e9d4a7

attrib: Do not use Write Command in gatt_write_char() Previously, if no callback was given to gatt_write_char(), it was assumed that a "Write Without Response" (which uses Write Command) should be used instead of Write Request. This "shortcut" is unnecessary (there is gatt_write_cmd() for the situations where Write Without Response is required) and just duplicates code. This commit also fixes the few places where gatt_write_cmd() should be used.

Diffstat

M attrib/gatt.c | 22 ++++++++++- - - - - - - - - - - -
M attrib/interactive.c | 2 +-
M profiles/input/hog.c | 6 +++- - -
M profiles/scanparam/scan.c | 2 +-

4 files changed, 15 insertions(+), 17 deletions(-)

View Full Diff | Patch