When the charecteristic to be read was the last one of a given range, it
was not being listed.
---
src/attrib-server.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/attrib-server.c b/src/attrib-server.c
index 2e95628..7ee496e 100644
--- a/src/attrib-server.c
+++ b/src/attrib-server.c
@@ -431,7 +431,7 @@ static uint16_t read_by_type(struct gatt_channel *channel, uint16_t start,
if (a->handle < start)
continue;
- if (a->handle >= end)
+ if (a->handle > end)
break;
if (bt_uuid_cmp(&a->uuid, uuid) != 0)
--
1.7.1
Hi Sheldon,
On Tue, Apr 05, 2011, Sheldon Demario wrote:
> When the charecteristic to be read was the last one of a given range,
> it was not being listed.
> ---
> src/attrib-server.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
This one has also been pushed. Thanks.
Johan