Skip to content

Instantly share code, notes, and snippets.

@ukmadlz
Last active January 23, 2017 13:41
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 ukmadlz/421996fb1439432bc57468cd21f372b1 to your computer and use it in GitHub Desktop.
Save ukmadlz/421996fb1439432bc57468cd21f372b1 to your computer and use it in GitHub Desktop.
BLE Scan
#!/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
#!/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