BlueNRG evt_gatt_attr_notification->attr_value leading zero bytes
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-07 01:18 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-18 09:31 PM
Could it be the Offset field?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-03-19 12:08 AM
If there is an offset field then it might well be it yes... will check