Lines Matching +full:kconfig +full:- +full:ext
14 The shell allows the creation of multiple identities, to a maximum that is set by the Kconfig symbol
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`.
28 .. code-block:: console
32 …[DEVICE]: CB:01:1A:2D:6E:AE (random), AD evt type 0, RSSI -78 C:1 S:1 D:0 SR:0 E:0 Prim: LE 1M, S…
33 …[DEVICE]: 20:C2:EE:59:85:5B (random), AD evt type 3, RSSI -62 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S…
34 …[DEVICE]: E3:72:76:87:2F:E8 (random), AD evt type 3, RSSI -74 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S…
35 …[DEVICE]: 1E:19:25:8A:CB:84 (random), AD evt type 3, RSSI -67 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S…
36 …[DEVICE]: 26:42:F3:D5:A0:86 (random), AD evt type 3, RSSI -73 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S…
37 …[DEVICE]: 0C:61:D1:B9:5D:9E (random), AD evt type 3, RSSI -87 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S…
38 …[DEVICE]: 20:C2:EE:59:85:5B (random), AD evt type 3, RSSI -66 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S…
39 …[DEVICE]: 25:3F:7A:EE:0F:55 (random), AD evt type 3, RSSI -83 C:0 S:0 D:0 SR:0 E:0 Prim: LE 1M, S…
45 address and by periodic advertising interval. To apply a filter, use the :code:`bt scan-set-filter`
50 .. code-block:: console
52 uart:~$ bt scan-filter-set name "test shell"
56 .. code-block:: console
58 uart:~$ bt scan-filter-set rssi -40
59 RSSI cutoff set at -40 dB
63 .. code-block:: console
65 uart:~$ bt scan-filter-clear all
80 .. code-block:: console
92 maximum number of connections is defined by :kconfig:option:`CONFIG_BT_MAX_CONN`. You can disconnect
101 Alternatively, you can use the :code:`bt connect-name <name>` command to automatically
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
126 uart:~$ bt adv-create conn-scan
128 uart:~$ bt adv-start
134 .. code-block:: console
136 uart:~$ bt adv-stop
138 uart:~$ bt adv-data dev-name
139 uart:~$ bt adv-start
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
149 uart:~$ bt adv-create conn-scan
151 uart:~$ bt adv-data 1009426C7565746F6F74682D5368656C6C
152 uart:~$ bt adv-start
159 *Bluetooth-Shell*.
162 To visualize those packets, you can add :code:`scan-reports` to the parameters of your advertiser.
170 low duty cycle mode, and the :code:`dir-rpa` parameter is required if the remote device is
171 privacy-enabled and supports address resolution of the target address in directed advertisement.
173 .. code-block:: console
175 uart:~$ bt adv-create conn-scan directed D7:54:03:CE:F3:B4 random low dir-rpa
184 ``ext-adv`` parameter.
186 .. code-block:: console
188 uart:~$ bt adv-create conn-nscan ext-adv name-ad
190 uart:~$ bt adv-start
193 This will create an extended advertiser, that is connectable and non-scannable.
198 Zephyr has support for the Encrypted Advertising Data feature. The :code:`bt encrypted-ad`
199 sub-commands allow managing the advertising data of a given advertiser.
202 encrypted-ad set-keys <session key> <init vector>`. The session key is 16 bytes long and the
205 You can add advertising data by using :code:`bt encrypted-ad add-ad` and :code:`bt encrypted-ad
206 add-ead`. The former will take add one advertising data structure (as defined in the Core
208 encrypted advertising data structure. It's possible to mix encrypted and non-encrypted data, when
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
225 :kconfig:option:`CONFIG_BT_CTLR_ADV_DATA_LEN_MAX` and
226 :kconfig:option:`CONFIG_BT_CTLR_SCAN_DATA_LEN_MAX`.
232 .. group-tab:: Peripheral
234 .. code-block:: console
238 uart:~$ bt adv-create conn-nscan ext-adv
240 … uart:~$ bt encrypted-ad set-keys 9ba22d3824efc70feb800c80294cba38 2e83f3d4d47695b6
242 … 00000000: 9b a2 2d 38 24 ef c7 0f eb 80 0c 80 29 4c ba 38 |..-8$... ....)L.8|
245 uart:~$ bt encrypted-ad add-ad 06097368656C6C
246 uart:~$ bt encrypted-ad add-ead 03ffdead03ffbeef
247 uart:~$ bt encrypted-ad commit-ad
249 uart:~$ bt adv-start
252 .. group-tab:: Central
254 .. code-block:: console
258 uart:~$ bt scan-verbose-output on
259 … uart:~$ bt encrypted-ad set-keys 9ba22d3824efc70feb800c80294cba38 2e83f3d4d47695b6
261 … 00000000: 9b a2 2d 38 24 ef c7 0f eb 80 0c 80 29 4c ba 38 |..-8$... ....)L.8|
264 uart:~$ bt encrypted-ad decrypt-scan on
268 …[DEVICE]: 68:49:30:68:49:30 (random), AD evt type 5, RSSI -59 shell C:1 S:0 D:0 SR:0 E:1 Prim: L…
269 [SCAN DATA START - EXT_ADV]
285 .. code-block:: console
287 uart:~$ bt fal-add 47:38:76:EA:29:36 random
288 uart:~$ bt fal-add 66:C8:80:2A:05:73 random
289 uart:~$ bt fal-connect on
298 .. code-block:: console
300 uart:~$ bt fal-add 65:4B:9E:83:AF:73 random
301 uart:~$ bt fal-add 73:72:82:B4:8F:B9 random
302 uart:~$ bt fal-add 5D:85:50:1C:72:64 random
322 :code:`bt auth-passkey-confirm`.
331 The maximum number of paired devices is set using :kconfig:option:`CONFIG_BT_MAX_PAIRED`. You can