             
         case let .unprovisionedDevice(beacon):
             
-            return Data([GAPBeaconType.unprovisionedDevice.rawValue]) + beacon.data
+            return beacon.data
             
         case let .secureNetwork(beacon):
             
-            return Data([GAPBeaconType.secureNetwork.rawValue]) + beacon.data
+            return beacon.data
             
         }
     }

 */
public enum GAPMeshBeacon: GAPData {
    
    internal static let typeLength = 1
    
    public static let dataType: GAPDataType = .meshBeacon
    

    
    public init?(data: Data) {
        
        guard data.count == type(of: self).length,
            let type = GAPLEDeviceAddressType(rawValue: data[6])
            else { return nil }
        
        let address = Address(bytes: (data[0], data[1], data[2], data[3], data[4], data[5]))
