             self.unused = unused
             self.dataStatus = dataStatus
             
-            assert(self.data.count == dataLength)
+            assert(data.count == dataLength, "Invalid data length")
+            assert(unused == 0xFF, "Invalid value for unused byte")
         }
         
         public enum DataStatus: UInt8 {

        
        public static let event = LowEnergyEvent.extendedAdvertisingReport // 0x0D
        
        public static var length: Int = 0
        
        public init?(byteValue: [UInt8]) {
            

        
        public let rssi: RSSI
        
        /// This parameter is intended to be used in a future feature.
        public let unused: UInt8 // This value must be used by the Controller.
        
        public let dataStatus: DataStatus
