# NFC ## Overview This chapter explains how to operate the NFC reader functions using the `AsReaderNFCDevice` class. It covers connecting to the device, starting and stopping scanning, and receiving scanned data. ## Supported Devices `ASR-0240D` ## Classes and Protocols Used ```{list-table} List of Classes and Protocols :header-rows: 1 :widths: 25 15 60 * - Name - Type - Description * - [`AsReaderNFCDevice`](./9_AsReaderNFCDevice.md) - Class - Main class for controlling the NFC reader * - [`AsReaderNFCDeviceDelegate`](./6_AsReaderNFCProtocol.md) - Protocol - Used for receiving scan results and other events ``` ## Initialization and Connection ```objectivec AsReaderNFCDevice* device = [[AsReaderNFCDevice alloc] init]; device.delegateNFC = self; ``` - `delegateNFC`: Set this to receive NFC read events. ## Start and Stop Scanning ```objectivec [device startScan]; // Start scanning [device stopScan]; // Stop scanning ``` ## Receiving Scan Results ```objectivec - (void)receivedScanData:(NSData *)readData { // readData: NFC data } ``` ※ Implemented as a method of the `AsReaderNFCDeviceDelegate` protocol. ```{toctree} :maxdepth: 1 :hidden: 9_AsReaderNFCDevice.md Delegate <6_AsReaderNFCProtocol.md> ```