package main import ( "fmt" "os/exec" "github.com/google/gousb" ) func oldMain() { var vendorId gousb.ID = 0x0fcf var productId gousb.ID = 0x1008 var deviceNumber uint32 = 3001 listenForAntDevice(vendorId, productId, deviceNumber) fmt.Println("channel closed") } func main() { exec.Command("hciconfig", "hci0", "down").Run() exec.Command("hciconfig", "hci0", "up").Run() ExposeBluetooth() }