cancel
Showing results for 
Search instead for 
Did you mean: 

BlueNRG evt_gatt_attr_notification->attr_value leading zero bytes

aj.sk
Associate III

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?

2 REPLIES 2
rdscliff
Associate II

Could it be the Offset field?

aj.sk
Associate III

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