msd property

List<List<int>> get msd

for convenience, raw msd data

  • interprets the first two byte as raw data, as opposed to a manufacturerId

Implementation

List<List<int>> get msd {
  List<List<int>> output = [];
  manufacturerData.forEach((manufacturerId, bytes) {
    int low = manufacturerId & 0xFF;
    int high = (manufacturerId >> 8) & 0xFF;
    output.add([low, high] + bytes);
  });
  return output;
}