What are AD records?

AD records are Advertising Data records that are used to build a BLE advertisement. Each data record consists of a Length/Tag/Value type setup and the tags are the data types which are defined by the BT SIG in the Core Specification Supplement (CSS) v7 document: https://www.bluetooth.org/DocMan/handlers/DownloadDoc.ashx?doc_id=421047 The CSS v7 document describes which data types can be used and how each value should be configured and interpreted. The flag/tag value for each data type is defined in the Generic Access Profile in the Assigned Numbers section of the BT SIG website: https://www.bluetooth.com/specifications/assigned-numbers/generic-acces…