Skip to content

Instantly share code, notes, and snippets.

@carrotsword
Created October 16, 2018 09:16
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 carrotsword/74ce6e3219c9bf33c0ea62a013c76b0b to your computer and use it in GitHub Desktop.
Save carrotsword/74ce6e3219c9bf33c0ea62a013c76b0b to your computer and use it in GitHub Desktop.
switchbot を bluez から操作する
#!/bin/sh
gatttool -b FF:FF:FF:FF:FF:FF -t random --char-write-req -a 0x0016 -n 570102
#!/bin/sh
gatttool -b FF:FF:FF:FF:FF:FF -t random --char-write-req -a 0x0016 -n 570101
#!/bin/sh
gatttool -b FF:FF:FF:FF:FF:FF -t random --char-write-req -a 0x0016 -n 570100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment