Skip to content

Instantly share code, notes, and snippets.

@r0kk3rz
Last active July 24, 2017 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r0kk3rz/aedce8eedb014b084e47acab56f7547a to your computer and use it in GitHub Desktop.
Save r0kk3rz/aedce8eedb014b084e47acab56f7547a to your computer and use it in GitHub Desktop.
MAC_ADDR=`cat /data/etc/bluetooth_bdaddr`
echo "0" > /sys/class/rfkill/rfkill0/state
echo "1" > /sys/class/rfkill/rfkill0/state
echo " " > /dev/ttyHS0
hciattach /dev/ttyHS0 bcm43xx 115200 flow dbaddr $MAC_ADDR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment