InTheHand2 MAUI BTLE InTheHand Client Sample. part2 Sample 코드 테스트 한 결과 Connect 이후에 Disconnect를 하고 다시 Connect를 하면 연결이 되지 않고 아래와 같은 예외가 발생했다.{"Cannot access a disposed object."} 발생 원인을 확인한 결과 아래와 같은 이유가 있었다.이 문제는 일반적으로 한 번 연결이 해제된 블루투스 장치 객체(Object)를 다시 사용하려고 할 때 발생합니다.InTheHand.Bluetooth 라이브러리에서는 Gatt.Disconnect()가 호출되면 내부적으로 장치 객체의 일부 리소스가 해제(Dispose)됩니다. 따라서 동일한 객체로 다시 연결을 시도하면 이미 해제된 리소스에 접근하게 되어 예외가 발생하는 것입니다.원인 설명최초 연결: DeviceListViewModel의 T.. 2025. 10. 16. MAUI BTLE InTheHand Client Sample Code https://github.com/inthehand/32feet GitHub - inthehand/32feet: Personal Area Networking for .NET. Open source and professionally supportedPersonal Area Networking for .NET. Open source and professionally supported - inthehand/32feetgithub.comInTheHand 라이브러리 특징API 스타일: IObservable 대신 표준 async/await와 이벤트 핸들러(+=, -=)를 사용합니다. 이는 많은 C# 개발자에게 더 친숙할 수 있습니다.스캔 방식: DiscoverDevices()는 호출 시점에 발견된 장치 목록을 동기.. 2025. 10. 14. 이전 1 다음