Skip to content

Manufacturer Specific Data

Paul DeMarco edited this page Aug 11, 2018 · 6 revisions

Manufacturer Specific Data

From the spec:

The Manufacturer Specific data type is used for manufacturer specific data. The first two data octets shall contain a company identifier code from the Assigned Numbers - Company Identifiers document. The interpretation of any other octets within the data shall be defined by the manufacturer specified by the company identifier

If the device has manufacturer specific data in both the advertising data (AD) and the scan response data (SRD), Android and iOS behave differently:

iOS

As of iOS 9, the two fields are concatenated and provide all the data from the device. (from this post)

Android

As of Android 21, the multiple instances of MSD are parsed separately and can be accessed with ScanRecord#getManufacturerSpecificData()

Due to iOS not allowing access to the raw bytes of the scan record, the library has decided all parsing is to be performed platform side.

Clone this wiki locally