diff options
author | Anderson Lizardo <anderson.lizardo@openbossa.org> | 2012-01-12 16:56:53 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-01-12 23:13:51 +0200 |
commit | e90b0050b8a93187d40f195aa83aa6b45884d32c (patch) | |
tree | a139602509eb1e7713b01d5f2e576139c493dbfa /proximity | |
parent | 623577103727cf441f6c83fe908348d10fa84121 (diff) |
proximity: Fix Alert Level characteristic
According to PXP IAS specification (Table 3.2), the Alert Level
characteristic property has only "Write without response" as mandatory
and the rest is excluded.
Diffstat (limited to 'proximity')
-rw-r--r-- | proximity/reporter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proximity/reporter.c b/proximity/reporter.c index d8cc58fe1..a139c7cb4 100644 --- a/proximity/reporter.c +++ b/proximity/reporter.c @@ -168,7 +168,7 @@ static void register_immediate_alert(void) /* Alert level characteristic */ bt_uuid16_create(&uuid, GATT_CHARAC_UUID); - atval[0] = ATT_CHAR_PROPER_READ | ATT_CHAR_PROPER_WRITE; + atval[0] = ATT_CHAR_PROPER_WRITE_WITHOUT_RESP; att_put_u16(h + 1, &atval[1]); att_put_u16(ALERT_LEVEL_CHR_UUID, &atval[3]); /* FIXME: Provide the adapter in next function */ |