Re: Query reagarding unit test-gatt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Gowtham,

On Tue, Apr 7, 2015 at 11:30 AM, Gowtham Anandha Babu
<gowtham.ab@xxxxxxxxxxx> wrote:
> Hi All,
>
> I am currently adding test cases for GATT. I am unable to understand the
> behavior of the following scenario.
>
> When I execute the following test case,
> TP/GAW/CL/BV-08-C  - [Write Characteristic Descriptors - by Client]
>
> bluez$  ./unit/test-gatt -d -p /TP/GAW/CL/BV-08-C
>
>   GATT: > 12 08 00 01 02 03                                ......
>   GATT: < 13
>
> Test Summary
> ------------
> /TP/GAW/CL/BV-08-C                                   Passed       0.002
> seconds
>
> Total: 1, Passed: 1 (100.0%), Failed: 0, Not Run: 0
>
> Here I am able to write it successfully. But in service_db_1 declaration,
> 0x0008 handle is a descriptor with only read permission.
> As per its definition, it should return write not permitted error.
> Is there any bug in gatt-client procedure or test-gatt or is this the
> expected behavior ?

Check the raw pdu, from the client test cases the responses are self
generated so it doesn't actually check what it is in the database, but
we may want to change that.


-- 
Luiz Augusto von Dentz
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux