         
         // decode and validate bytes
         test(testPDUs)
+        let mockData = split(pdu: testPDUs.map { $0.1 })
         
         try await connect(
             serverOptions: GATTPeripheralOptions(

                XCTAssertEqual(services.count, 0)
                let clientMTU = try await central.maximumTransmissionUnit(for: peripheral)
                XCTAssertEqual(clientMTU, finalMTU)
            }
        )

                
        //XCTAssertEqual(peripheral.connections.values.first?.maximumUpdateValueLength, Int(finalMTU.rawValue) - 3)
        //XCTAssertEqual(central.connections.values.first?.maximumUpdateValueLength, Int(finalMTU.rawValue) - 3)
        
        // validate GATT PDUs
        //let mockData = split(pdu: testPDUs.map { $0.1 })
        
        //XCTAssertEqual(serverSocket.cache, mockData.server)
        //XCTAssertEqual(clientSocket.cache, mockData.client)
    }
    
    func testServiceDiscovery() async throws {


import Foundation
import XCTest
import Bluetooth
import BluetoothHCI
@testable import BluetoothGATT
@testable import GATT

final class GATTTests: XCTestCase {
