Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handoff (aka Continuity) #18

Open
kevinSuttle opened this issue Oct 7, 2015 · 2 comments
Open

Handoff (aka Continuity) #18

kevinSuttle opened this issue Oct 7, 2015 · 2 comments

Comments

@kevinSuttle
Copy link
Owner

general

The one thing I've found is that you can at least see if it's supported on your Mac.
system_profiler SPBluetoothDataType | grep LMP (via LifeHacker)

@derhuerst
Copy link

I took the approch from here and simplified it.

uuid=$(/usr/sbin/system_profiler SPHardwareDataType | grep "Hardware UUID" | cut -c22-57)
defaults write ~/Library/Preferences/ByHost/com.apple.coreservices.useractivityd.$uuid.plist ActivityReceivingAllowed 0
defaults write ~/Library/Preferences/ByHost/com.apple.coreservices.useractivityd.$uuid.plist ActivityAdvertisingAllowed 0

However, the cut hack isn't really robust, we should find a more flexible solution.

@derhuerst
Copy link

A more robust solution, taken from here.

uuid=$(system_profiler SPHardwareDataType | awk '/UUID/ { print $3; }')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants