Commit: 253f8a7c681ae16710d1384ad700d40cc087e75f
Parent: 911f1b1be00fe0dd32bebe72ace93d1f3834f493
Author: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2011-10-07 19:52:32
Tree: a9df9fa6e02392aebc4eabbf7d8c2b4cf3f004f6

Fix using the attribute struct for encoding ATT pdus The enconding and decoding of ATT pdus should be kept as much free of dependences from other parts of the code as possible, so it can be used in many contexts. In this case, for encoding and decoding notifications and indications we did have to pass an instance of an attribute instead of direct values.

Diffstat

M attrib/att.c | 45 +++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - -
M attrib/att.h | 9 ++++++- - -
M src/attrib-server.c | 6 ++++- -

3 files changed, 35 insertions(+), 25 deletions(-)

View Full Diff | Patch