Last active
January 23, 2017 13:41
-
-
Save ukmadlz/421996fb1439432bc57468cd21f372b1 to your computer and use it in GitHub Desktop.
BLE Scan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DEVICEID=$(python -c 'open("/sys/class/net/eth0/address\").read()') | |
BLESCAN=$(~/ibeacon_scan); | |
curl -X POST -d $BLESCAN https://theinternet/parseble?deviceID=$DEVICEID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get install bluez bluez-hcidump | |
curl http://developer.radiusnetworks.com/ibeacon/idk/ibeacon_scan > ~/ibeacon_scan |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment