Skip to main content
aj.sk
Associate III
Mar 7, 2019 9:18 AM UTC
Question

BlueNRG evt_gatt_attr_notification->attr_value leading zero bytes

I cannot find any related information for this.

It seems like evt_gatt_attr_notification->attr_value always has 2 bytes leading zeros.

This means if a write a char value with Attribute_Val_Length = 0x02 and Attribute_Val = 0xCAFE I get a attr_value of e.g. 0x04FF1D010C01081800020000FECA

Where are these two bytes between the correct event_data_length and the attr_value coming from?

    This topic has been closed for replies.

    2 replies

    rdscliff
    Associate III
    Mar 19, 2019 4:31 AM UTC

    Could it be the Offset field?

    aj.sk
    aj.skAuthor
    Associate III
    Mar 19, 2019 7:08 AM UTC

    If there is an offset field then it might well be it yes... will check