> For the complete documentation index, see [llms.txt](https://developer.magtek.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.magtek.com/api-and-command-reference/dynafamily-programmers-manual/commands/0x30nn-generic-pass-through-commands/0x3002-start-stop-polling.md).

# 0x3002 - Start/Stop Polling

After entering the Pass-Through Mode, the host use this command to request the device to start polling for a Type A and Type B PICC until it detects a PICC or times out.  This command automatically turns on the RF Antenna.

After NFC Type A card is detected, the device will stop the polling, activate the card and&#x20;

* Send a notification that identifies the **ISO 14443 Type A** (Supports [<mark style="color:red;">**ISO 14443-4**</mark> <mark style="color:red;">**protocol**</mark>](https://www.iso.org/standard/73599.html)).  See [<mark style="color:red;">**Notification 0x0301 – Pass-Through Mode Information Update**</mark>](https://developer.magtek.com/api-and-command-reference/dynafamily-programmers-manual/notifications/0x03nn-generic-pass-through-mode/0x0301-pass-through-mode-information-update).
* Send another notification with the UID as a payload.

After NFC Type B card is detected, the device will stop the polling, activate the card and

* Send a notification that identifies the **ISO 14443 Type B** (Supports [<mark style="color:red;">**ISO 144443-4 Protoco**</mark>](https://www.iso.org/standard/73599.html)<mark style="color:red;">**l**</mark>).  See [<mark style="color:red;">**Notification 0x0301 - Pass-Through Mode Information Update**</mark>](https://developer.magtek.com/api-and-command-reference/dynafamily-programmers-manual/notifications/0x03nn-generic-pass-through-mode/0x0301-pass-through-mode-information-update)<mark style="color:red;">**.**</mark>&#x20;
* Send another notification with the UID as a payload.

If the card is not supported, the device will send error notification and stop the polling.

## Request Data for Command 0x3002 – Start/Stop Polling

<table data-header-hidden><thead><tr><th></th><th width="54.33331298828125"></th><th></th><th width="62"></th><th width="56.666748046875"></th><th width="80.99993896484375"></th></tr></thead><tbody><tr><td>Tag</td><td>Len</td><td>Value / Description</td><td> Typ</td><td>Req</td><td>Default</td></tr><tr><td>Beginning of any wrappers, at minimum including <strong>Request Message</strong> </td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>3002 = Start/Top Polling</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>81</td><td>01</td><td><p>This parameter defines how long the device to poll for the PICC</p><p>·       0x00 = No timeout</p><p>·       0x01 to 0xFF = 1 to 255 seconds</p></td><td> </td><td>R</td><td></td></tr><tr><td>82</td><td>01</td><td><p>Polling Mode</p><p>·       0x00 = Stop Polling Mode.  This mode can only be used when the device is in polling state.</p><p>·       0x01 = Start Polling Mode</p></td><td> B</td><td>R</td><td></td></tr><tr><td>End of any wrappers, at minimum including <strong>Request Message</strong> </td><td></td><td></td><td></td><td></td><td></td></tr></tbody></table>

## Response Data for Command 0x3002 – Start/Stop Polling <a href="#ref222757634" id="ref222757634"></a>

<table data-header-hidden><thead><tr><th></th><th width="60.272705078125"></th><th width="115.27276611328125"></th><th width="56.18182373046875"></th><th width="69.81829833984375"></th><th width="80.72711181640625"></th></tr></thead><tbody><tr><td>Tag</td><td>Len</td><td>Value / Description</td><td>Typ</td><td>Req</td><td>Default</td></tr><tr><td>Beginning of any wrappers, at minimum including Response Message</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>No parameters.</td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>End of any wrappers, at minimum including Response Message</td><td></td><td></td><td></td><td></td><td></td></tr></tbody></table>

#### Request Example&#x20;

| Example (Hex)                                        |
| ---------------------------------------------------- |
| A 00 81 04 01 A0 30 02 84 08 30 02 81 01 00 82 01 01 |

#### Response Example  <a href="#ref222757634" id="ref222757634"></a>

| Example (Hex)                             |
| ----------------------------------------- |
| AA 00 81 04 82 A0 30 02 82 04 01 00 00 00 |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developer.magtek.com/api-and-command-reference/dynafamily-programmers-manual/commands/0x30nn-generic-pass-through-commands/0x3002-start-stop-polling.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
