1# Advanced Notification Manager
2
3The Advanced Notification Manager enables you to print notifications and set notification parameters. It provides the notification debugging and testing capabilities, for example, printing published notification details, setting the number of notification caches, and enabling the notification functionality.
4
5> **NOTE**
6>
7> Before using this tool, you must obtain the <!--Del-->[<!--DelEnd-->hdc tool<!--Del-->](../../device-dev/subsystems/subsys-toolchain-hdc-guide.md)<!--DelEnd--> and run the hdc shell command.
8>
9> This tool can be used only in the **eng** edition. If it is used in the **user** edition, the message **error: user version cannot use setting** is reported.
10
11
12## help
13
14* **Function**
15
16  Prints help information.
17
18* **Method**
19
20  ```bash
21  anm help
22  ```
23
24## dump
25
26* **Function**
27
28  Prints information about notifications.
29
30* **Method**
31
32  ```bash
33  anm dump [<options>]
34  ```
35
36  The table below describes the available options.
37
38  | Name            | Description                          |
39  | ---------------- | ---------------------------------- |
40  | -A/--active      | Information about all active notifications.            |
41  | -R/--recent      | Information about recent notifications.                |
42  | -D/--distributed | Information about distributed notifications from other devices.  |
43  | -b/--bundle      | Bundle name. Optional.|
44  | -u/--user-id     | User ID. Optional.    |
45  | -h/--help        | Help information.                          |
46
47* **Example**: Print information about active notifications.
48
49  ```bash
50  anm dump -A
51  ```
52  ![anm-dump-A](figures/anm-dump-A.png)
53
54## Setting
55
56* **Function**
57
58  Sets notification parameters.
59* **Method**
60
61  ```bash
62  anm setting [<options>]
63  ```
64
65  The table below describes the available options.
66
67  | Name                    | Description                            |
68  | ------------------------ | ------------------------------------ |
69  | -c/--recent-count        | Maximum number of recent notifications stored in the memory.|
70  | -e/--enable-notification | Whether to enable the notification capability.                    |
71  | -h/--help                | Help information.                            |
72
73* **Example**: Set the maximum number of recent notifications stored in the memory to 100.
74
75  ```bash
76  anm setting -c 100
77  ```
78