Lines Matching full:code
15 :kconfig:option:`CONFIG_BT_ID_MAX`. To create a new identity, use :code:`bt id-create` command. You
16 can then use it by selecting it with its ID :code:`bt id-select <id>`. Finally, you can list all the
17 available identities with :code:`id-show`.
22 Start scanning by using the :code:`bt scan on` command. Depending on the environment you're in, you
23 may see a lot of lines printed on the shell. To stop the scan, run :code:`bt scan off`, the
28 .. code-block:: console
45 address and by periodic advertising interval. To apply a filter, use the :code:`bt scan-set-filter`
50 .. code-block:: console
56 .. code-block:: console
63 .. code-block:: console
67 You can use the command :code:`bt scan on` to create an *active* scanner, meaning that the scanner
69 can create a *passive scanner* by using the :code:`bt scan passive` command, so the scanner will not
76 :code:`bt connect` command with the address and the type as arguments.
80 .. code-block:: console
91 You can list the active connections of the shell using the :code:`bt connections` command. The shell
94 :code:`bt disconnect <address: XX:XX:XX:XX:XX:XX> <type: (public|random)>` command.
99 simply running the :code:`bt connect` command.
101 Alternatively, you can use the :code:`bt connect-name <name>` command to automatically
107 Begin advertising by using the :code:`bt advertise on` command. This will use the default parameters
109 identity address instead by running the :code:`bt advertise on identity` command. To stop
110 advertising use the :code:`bt advertise off` command.
113 :code:`bt adv-create` command. Parameters for the advertiser can be passed either at the creation of
114 it or by using the :code:`bt adv-param` command. To begin advertising with this newly created
115 advertiser, use the :code:`bt adv-start` command, and then the :code:`bt adv-stop` command to stop
119 to four options: :code:`conn-scan`, :code:`conn-nscan`, :code:`nconn-scan` and :code:`nconn-nscan`.
124 .. code-block:: console
134 .. code-block:: console
143 using :code:`name <custom name>` instead of :code:`dev-name`. It is also possible to set the
144 advertising data manually with the :code:`bt adv-data` command. The following example shows how
147 .. code-block:: console
162 To visualize those packets, you can add :code:`scan-reports` to the parameters of your advertiser.
169 after the parameter :code:`directed`. The :code:`low` parameter indicates that we want to use the
170 low duty cycle mode, and the :code:`dir-rpa` parameter is required if the remote device is
173 .. code-block:: console
186 .. code-block:: console
198 Zephyr has support for the Encrypted Advertising Data feature. The :code:`bt encrypted-ad`
201 To encrypt the advertising data, key materials need to be provided, that can be done with :code:`bt
205 You can add advertising data by using :code:`bt encrypted-ad add-ad` and :code:`bt encrypted-ad
209 done adding advertising data, :code:`bt encrypted-ad commit-ad` can be used to apply the change to
211 previously. It's possible to clear the advertising data by using :code:`bt encrypted-ad clear-ad`.
215 :code:`bt encrypted-ad decrypt-scan on`.
219 To see the advertising data in the scan report :code:`bt scan-verbose-output` need to be
234 .. code-block:: console
254 .. code-block:: console
285 .. code-block:: console
294 The Filter Accept List can also be used for scanning or advertising by using the option :code:`fal`.
298 .. code-block:: console
318 To enable security, use the :code:`bt security <level>` command. For levels requiring authentication
320 :code:`bt auth all` command. After that, when you will set the security level, you will be asked to
322 :code:`bt auth-passkey-confirm`.
328 can make the shell not bondable using :code:`bt bondable off`. You can list all the devices you are
329 paired with using the command :code:`bt bonds`.
332 remove a paired device using :code:`bt clear <address: XX:XX:XX:XX:XX:XX> <type: (public|random)>`
333 or remove all paired devices with the command :code:`bt clear all`.