はじめに Raspberry Pi ZeroとMacBook間でBluetooth通信を行う際に起きた問題と解決方法を記載する connectが失敗する pairは成功したが、connectが以下のように失敗する。 Attempting to connect to Failed to connect: org.bluez.Error.Failed Dec 02 13:08:34 bluetoothd[351]: Sap driver initialization failed. Dec 02 13:08:34 bluetoothd[351]: sap-server: Operation not permitted (1) Dec 02 13:08:35 bluetoothd[351]: Failed to set privacy: Rejected (0x0b) Dec 31 13:50:
![bluetoothctlのpairは成功するが、connectが失敗する](https://cdn-ak-scissors.b.st-hatena.com/image/square/2840b8192c21d868348cbaa7c2c91d9c5b102773/height=288;version=1;width=512/https%3A%2F%2Fres.cloudinary.com%2Fzenn%2Fimage%2Fupload%2Fs--NcHk7D1r--%2Fc_fit%252Cg_north_west%252Cl_text%3Anotosansjp-medium.otf_55%3Abluetoothctl%2525E3%252581%2525AEpair%2525E3%252581%2525AF%2525E6%252588%252590%2525E5%25258A%25259F%2525E3%252581%252599%2525E3%252582%25258B%2525E3%252581%25258C%2525E3%252580%252581connect%2525E3%252581%25258C%2525E5%2525A4%2525B1%2525E6%252595%252597%2525E3%252581%252599%2525E3%252582%25258B%252Cw_1010%252Cx_90%252Cy_100%2Fg_south_west%252Cl_text%3Anotosansjp-medium.otf_37%3Aizszzz%252Cx_203%252Cy_121%2Fg_south_west%252Ch_90%252Cl_fetch%3AaHR0cHM6Ly9zdG9yYWdlLmdvb2dsZWFwaXMuY29tL3plbm4tdXNlci11cGxvYWQvYXZhdGFyL2FjZmZmOGM0MjMuanBlZw%3D%3D%252Cr_max%252Cw_90%252Cx_87%252Cy_95%2Fv1627283836%2Fdefault%2Fog-base-w1200-v2.png)