Created
November 15, 2014 13:04
-
-
Save vjeantet/d1b8c141cccaa7167a92 to your computer and use it in GitHub Desktop.
Go iBeacon
This file contains hidden or 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
package main | |
import ( | |
"log" | |
"github.com/vjeantet/beacon" | |
) | |
func main() { | |
b, err := beacon.NewBeacon("87DD5976-9E6B-4EFF-A88F-17FF3BEF774D", 1, 1) // uuid, major, minor | |
if err != nil { | |
log.Fatal(err) | |
} | |
log.Fatal(b.StartAdvertising()) | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment