OSDN Git Service

Change security level on demand when reading characteristic value
authorClaudio Takahasi <claudio.takahasi@openbossa.org>
Thu, 30 Dec 2010 21:22:09 +0000 (18:22 -0300)
committerJohan Hedberg <johan.hedberg@nokia.com>
Wed, 5 Jan 2011 12:04:51 +0000 (14:04 +0200)
commit41d3eb82b83717d64e3cc92eaf2f4cd8f29070c0
tree50739d355ef05cf65af7d5092e12ef85dcffc077
parentdbc131f84d46376ac057a47d700121e685282d11
Change security level on demand when reading characteristic value

If a characteristic requires a higher security level, change it on
demand and re-send the GATT Charateristic Value Read. Request will not
be sent until the SMP negotiation finishes. This change doesn't affect
GATT over BR/EDR, since encryption is mandatory for BR/EDR.
attrib/client.c
attrib/gattrib.c
attrib/gattrib.h