Skip to main content
aj.sk
Associate III
March 7, 2019
Question

BlueNRG evt_gatt_attr_notification->attr_value leading zero bytes

  • March 7, 2019
  • 2 replies
  • 587 views

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
    March 19, 2019

    Could it be the Offset field?

    aj.sk
    aj.skAuthor
    Associate III
    March 19, 2019

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