ANT, ANT+, ANT-FS library and ANT-USB driver written in Go

go-ant

ANT, ANT+, ANT-FS library and ANT-USB driver written in Go

Instalation

  1. Install with:
go get -u github.com/purpl3F0x/go-ant
  1. Import to project
import "github.com/purpl3F0x/go-ant"

Example

	dev := ant.GetUsbDevice(0x0FCF, 0x1008)
	Ant := ant.MakeAnt(dev)
	Ant.Start()
	Ant.ResetSystem()
	Ant.SetNetworkKey(0, ant.AntPlusNetworkKey())
	Ant.AssignChannel(0, ant.PARAMETER_RX_NOT_TX, 0)
	Ant.SetChannelId(0, 0, 0, 0)
	Ant.SetChannelRFFreq(0, 57)
	Ant.SetChannelPeriod(0, 8192)
	Ant.OpenRxScanMode()

License

Copyright (c) 2021 Stavros Avramidis (@purpl3F0x). All rights reserved.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.
Owner
Stavros Avramidis
Never Settle and Keep Running | Electrical Engineering @ NTUA
Stavros Avramidis
Similar Resources

Simple CRUD API written in Go, built using AWS SAM tool and using the AWS' infrastructure.

Simple CRUD API written in Go, built using AWS SAM tool and using the AWS' infrastructure.

tutor-pet API Simple CRUD API written in Go, built using AWS SAM tool and using the AWS' infrastructure. Macro architecture: Code architecture: Pre-Re

Aug 17, 2022

Unofficially kenall (ケンオール) client written by Go

go-kenall About Unofficially kenall (ケンオール) client written by Go.

Jun 26, 2022

Go Wechaty is a Conversational SDK for Chatbot Makers Written in Go

Go Wechaty is a Conversational SDK for Chatbot Makers Written in Go

go-wechaty Connecting Chatbots Wechaty is a RPA SDK for Wechat Individual Account that can help you create a chatbot in 6 lines of Go. Voice of the De

Dec 30, 2022

A small, fast, reliable pastemyst API wrapper written in Golang

A small, fast, reliable pastemyst API wrapper written in Golang. Official pastemyst API docs found here.

Dec 12, 2022

Go written SDK for Notion.so API

go-notion Go written Notion SDK. Note: The Notion API is in beta phase Supported APIs It supports all APIs for Notion API (as for 2021-05-15). Blocks

Dec 10, 2021

Pterodactyl API wrapper written in Golang

WARNING That repository isn't available for production environment. Many endpoints aren't yet implemented. Be careful if you are using that module. pt

Oct 4, 2022

NEAR client written in Go

near-api-go A NEAR client written in Go The goal of this project is to provide a fully featured NEAR cleint in Go. There is support for most NEAR RPC

Nov 10, 2022

Inofficial SDK for gameanalytics written in Golang

gameanalytics-go gameanalytics-go is an inofficial sdk for gameanalytics which is written in go. It currently can send the following events: Business

Sep 3, 2022

This is the new api repository for Feel the Movies. Written in Go, totally open source.

This is the new api repository for Feel the Movies. Written in Go, totally open source.

This is the new API repository for Feel the Movies. Written in Go, totally open source. App Currently available for Android only. I have plans for an

Sep 18, 2022
Ant Chain COMMERCIALEXTERNAL SDK for Go

English | 简体中文 Ant Chain COMMERCIALEXTERNAL SDK for Go Requirements It's necessa

Dec 24, 2021
Account - Ant Chain ACCOUNT SDK for Go

English | 简体中文 Ant Chain ACCOUNT SDK for Go Requirements It's necessary for you

Jan 13, 2022
Metrics package helps to create ydb-go-sdk traces with monitoring internal state of driver

metrics metrics package helps to create ydb-go-sdk traces with monitoring internal state of driver Usage import ( "fmt" "sync/mutex" "time

Jan 7, 2023
Rewritten glusterfs csi driver to use with heketi API
Rewritten glusterfs csi driver to use with heketi API

Glusterfs-Heketi CSI driver The CSI (Container Storage Interface) is a universal way to provide storage for the applications. This version of the plug

Dec 8, 2022
Golang database/sql driver for AWS Athena

go-athena go-athena is a simple Golang database/sql driver for Amazon Athena. import ( "database/sql" _ "github.com/akrennmair/go-athena" ) f

Nov 18, 2022
Support for Usagi API developed by @DanielaGC. The library is written in Go Lang

?? Usagi API - Wrapper This library is simple and easy to use and was developed entirely for Usagi API written in Go Lang. ??‍?? Example package main

Oct 18, 2021
A API scanner written in GOLANG to scan files recursively and look for API keys and IDs.

GO FIND APIS _____ ____ ______ _____ _ _ _____ _____ _____ _____ / ____|/ __ \ | ____|_ _| \ | | __ \ /\ | __ \_

Oct 25, 2021
Rest API to get KVB departures - Written in Go with hexagonal architecture and tracing via OpenTelemetry and Jaeger

KVB API Rest API to get upcoming departures per KVB train station Implemented in Go with hexagonal architecture and tracing via OpenTelemetry and Jaeg

May 7, 2022
lambda-go-api-proxy makes it easy to port APIs written with Go frameworks such as Gin to AWS Lambda and Amazon API Gateway.

aws-lambda-go-api-proxy makes it easy to run Golang APIs written with frameworks such as Gin with AWS Lambda and Amazon API Gateway.

Jan 6, 2023
A very simple local client-server calculator project built using Cobra and socket programming, written in Go.

Golculator Introduction A very simple local client-server calculator project built using Cobra and socket programming, written in Go. Setup and run Fi

Apr 3, 2022