The following table shows the memory layout used by the SoftDevice to store a system attribute.
Parameter | Size (octets) | Description |
---|---|---|
Handle | 2 | Attribute handle |
Length | 2 | Attribute length |
Data | Length | Attribute data |
The application can obtain an array of system attributes by using sd_ble_gatts_sys_attr_get()
. The array is terminated by a CRC-16-CCITT checksum of the data in the array.