File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -135,13 +135,20 @@ Complete the following steps:
135
135
136
136
1. Reboot your Raspberry Pi after installing `pi-bluetooth`.
137
137
138
- #### Enable experimental Bluetooth support in BlueZ
138
+ #### Enable experimental Bluetooth support and disable battery plugin in BlueZ
139
139
140
140
The Matter application on Linux uses BlueZ to communicate with the Bluetooth
141
141
controller. The BlueZ version that comes with Ubuntu 22.04 does not support all
142
142
the features required by the Matter application by default. To enable these
143
143
features, you need to enable experimental Bluetooth support in BlueZ.
144
144
145
+ Also disable the battery plugin from BlueZ, because iOS devices advertises a
146
+ battery service via BLE, which requires pairing if accessed. BlueZ includes a
147
+ battery plugin by default which tries to connect to the battery service. The
148
+ authentication fails, because in this case no BLE pairing has been done. If the
149
+ BlueZ battery plugin is not disabled, the BLE connection will be terminated
150
+ during the Matter commissioning process.
151
+
145
152
1. Edit the `bluetooth.service` unit by running the following command:
146
153
147
154
```sh
@@ -153,7 +160,7 @@ features, you need to enable experimental Bluetooth support in BlueZ.
153
160
```ini
154
161
[Service]
155
162
ExecStart=
156
- ExecStart=/usr/lib/bluetooth/bluetoothd -E
163
+ ExecStart=/usr/lib/bluetooth/bluetoothd -E -P battery
157
164
```
158
165
159
166
1. Restart the Bluetooth service by running the following command:
You can’t perform that action at this time.
0 commit comments