PC/SC 지원 Qt NFC
PC/SC 지원은 macOS 및 Windows에서는 네이티브 API를 통해, 그 외 플랫폼에서는 PCSCLite 라이브러리를 통해 제공됩니다. 이 API를 사용하면 유선 및 무선 스마트카드와 저장 카드 모두에 접근할 수 있습니다.
제한 사항
- 현재 API는 개별 리더기/슬롯을 구분하는 기능을 제공하지 않습니다.
- NDEF 액세스는 NFC Type 4 태그에만 제공됩니다.
- 카드에서 트랜잭션을 시작하는 다른 애플리케이션은 Qt 애플리케이션이 Qt NFC API를 사용하는 것을 차단할 수 있습니다.
- QNearFieldTarget::sendCommandPC/SC 타깃과 함께 사용되는 ()는 QNearFieldTarget::disconnect()가 호출될 때까지 활성 상태로 유지되는 트랜잭션을 시작합니다. 이 트랜잭션은 다른 애플리케이션이 이 타깃에 액세스하는 것을 차단합니다.
- 백엔드는 새로운 태그를 폴링하고 있으므로, 새로운 태그가 보고되기까지 전체 폴링 간격만큼 지연이 발생할 수 있습니다. 기본 폴링 간격은 100밀리초입니다. 환경 변수
QT_NFC_POLL_INTERVAL_MS을 밀리초 단위의 정수 값으로 설정하여 조정할 수 있습니다.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.