> 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/hardware/card-readers/mms-dyna-devices/dynaflex-ii-go/documents/developers-manuals/programmers-manual-commands/commands/device-control/set-notification-subscriptions.md).

# Set Notification Subscriptions

## Command 0x1F02 - Set Notification Subscriptions

The host uses this command to specify which notifications the device should send on each of its available interfaces. By default, the device sends notifications to the host on all interfaces.

{% stepper %}
{% step %}

### Sequence of events

The sequence of events is as follows:

1. The host constructs the command request in the format below.
2. The host sends the command request to the device.
3. The device sends a response in the format below to the host.
4. The device immediately begins routing notifications per the request.
5. If the device restarts or loses power, the device resets its notification subscriptions to defaults, and the host must call this command again to change them.
   {% endstep %}
   {% endstepper %}

## Table - Request Data for Command 0x1F02 - Set Notification Subscriptions

<table><thead><tr><th>Tag</th><th width="72.6666259765625">Len</th><th width="239.6666259765625">Value / Description</th><th width="76.6666259765625">Typ</th><th width="74.66668701171875">Req</th><th width="96.6666259765625">Default</th></tr></thead><tbody><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>1F02 = <strong>Command 0x1F02 - Set Notification Subscriptions</strong></td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>81</td><td>01</td><td><p>Subscribe<br></p><ul><li>0x00 = Unsubscribe</li><li>0x01 = Subscribe</li></ul></td><td>B</td><td>O</td><td>0x01</td></tr><tr><td>82</td><td>01</td><td><p>Notifications Affected<br></p><ul><li>0x00 = Only subscribe or unsubscribe to notification messages in the Notification Message ID List parameter</li><li>0x01 = Subscribe or unsubscribe to all notifications</li></ul></td><td>B</td><td>O</td><td>0x01</td></tr><tr><td>83</td><td>var</td><td>Notification Message ID List List of two-byte Notification Message IDs (MSB first) from section 7 Notifications to be subscribed / unsubscribed by this command. For example, to subscribe to Notification 0x0105 - Transaction Operation Complete on the interface being used to send this command, the host would include 0x0105 as two bytes in the list. The device ignores any Notification Message IDs in the list that do not exist.</td><td>B</td><td>O</td><td>Null</td></tr><tr><td>A4</td><td>var</td><td><p>Interfaces</p><p>List of interfaces this command should change the subscription settings for. If the host does not specify any interfaces here, the command applies only to the interface the host is using to send the command.</p></td><td>B</td><td>)</td><td>Null</td></tr><tr><td>/81</td><td>00</td><td>Apply changes to the USB interface</td><td></td><td>O</td><td></td></tr><tr><td>/82</td><td>00</td><td>Apply changes to the WLAN interface</td><td></td><td>O</td><td></td></tr><tr><td>/83</td><td>00</td><td>Apply changes to the Bluetooth® LE interface</td><td></td><td>O</td><td></td></tr><tr><td>/84</td><td>00</td><td>Apply changes to the UART interface</td><td></td><td>O</td><td></td></tr><tr><td>End of any wrappers, at minimum including Request Message </td><td></td><td></td><td></td><td></td><td></td></tr></tbody></table>

## Table - Response Data for Command 0x1F02 - Set Notification Subscriptions

<table><thead><tr><th>Tag</th><th width="74">Len</th><th>Value / Description</th><th width="77">Typ</th><th width="74.6666259765625">Req</th><th width="98">Default</th></tr></thead><tbody><tr><td>Beginning of any wrappers, at minimum including <strong>Response Message</strong> </td><td></td><td></td><td></td><td></td><td></td></tr><tr><td>1F02 = <strong>Command 0x1F02 - Set Notification Subscriptions</strong></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 <strong>Response Message</strong> </td><td></td><td></td><td></td><td></td><td></td></tr></tbody></table>

## Table - Request Example

{% code title="Example (Hex)" %}

```
AA00 810401551F02 8402 1F02
```

{% endcode %}

## Table - Response Example&#x20;

{% code title="Example (Hex)" %}

```
AA00 810482551F02 820400000000 8402 1F02
```

{% endcode %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.magtek.com/hardware/card-readers/mms-dyna-devices/dynaflex-ii-go/documents/developers-manuals/programmers-manual-commands/commands/device-control/set-notification-subscriptions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
