toy / blueutil

CLI for bluetooth on OSX: power, discoverable state, list, inquire devices, connect, info, …
https://github.com/toy/blueutil
Other
969 stars 52 forks source link

Connecting to a tethered Bluetooth network #74

Closed shivaprsd closed 1 year ago

shivaprsd commented 1 year ago

Hi, thanks for this utility.

Is it possible to connect to Bluetooth PAN using blueutil? I mean the equivalent of right clicking on a connection and choosing 'Connect to network' in the GUI.

I think networksetup might be the correct tool for this; anyway thought to ask here. 🙂

toy commented 1 year ago

Creating/enablying/connecting to device network is currently out of scope for blueutil. So connecting bluetooth device using blueutil and then probably using networksetup :)

shivaprsd commented 1 year ago

I thought so. However since the GUI is in the Bluetooth Preferences, I thought the API could be among those blueutil uses.

I haven't found a way with networksetup. Most guides online only show how to connect to WiFi. 😕