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 is advertising MSD in both an advertising packet AND the scan response, 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)

Note: Unfortunately, iOS does not allow access to the raw bytes of the scan record. If this was the case, all parsing would be performed Dart-side.

Android

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

Clone this wiki locally