Dev Asset Collection

All Things That You Need to Build A Video Game
Menu
  • 2D
    • Characters
    • Environments
    • Fonts
    • GUI
    • Textures & Materials
  • 3D
    • Animations
    • Characters
    • Environments
    • GUI
    • Props
    • Vegetation
    • Vehicles
  • Add-Ons
    • Machine Learning
    • Services
  • Audio
    • Ambient
    • Music
    • Sound FX
  • Essentials
    • Tutorial Projects
  • Templates
    • Packs
    • Systems
    • Tutorials
  • Tools
    • AI
    • Animation
    • Audio
    • Camera
    • Game Toolkits
    • GUI
    • Input Management
    • Integration
    • Level Design
    • Localization
    • Modeling
    • Network
    • Painting
    • Particles & Effects
    • Physics
    • Sprite Management
    • Terrain
    • Utilities
    • Version Control
    • Video
    • Visual Scripting
  • VFX
    • Particles
    • Shaders
Home
Tools
Network
Advanced ANT+ – Dev Community

Advanced ANT+ – Dev Community

Tsunami 14 July, 2022
Sending
User Rating 0 (0 votes)

For more detail this asset from the Unity Asset Store: Click Here

Advanced ANT+ v1.041

Download Now

“Sharing is caring”

new in version 1.02
– Connect by device ID directly on android
– Get lists of nearby device ID to unity on android without using the device picker
– Force device disconnect

NOW works on Android !

new in version 1.01
– multiple usb dongle support
– continuous scan example
– sensor prefabs rollover fix
– FE-C set slope % fix

NOW works on Android !

includes ready to use prefabs for Cadence , Heart rate, speed, Power Meter, Speed & Cadence and Fitness Equipment.

The android plugin can use the built-in device selection UI by setting the useAndroidUI boolean to true on the prefabs. On PC and Mac you can connect to the first device found or get a list of found sensors.

If you use multiple prefabs with autoconnect, the java plugin will queue the request and connect to the sensor one by one.

The ant+ Android plugin will let you connect to premade device profiles, you cannot create your own custom Ant devices with it or access anything the plugin is not coded for.

If you need any specific event from a device not implemented yet by the plugin, send me an email and I will add it if possile

Here are the events the android plugin forwards to Unity for each sensor for now:

All sensors :isDisconnected , StateChange , ConnectEvent

Cadence sensor: Receive_calculatedCadence

Speed & Cadence sensor: Receive_calculatedCadence, Receive_calculatedSpeed, Receive_CalculatedAccumulatedDistance

Speed sensor: Receive_calculatedSpeed, Receive_CalculatedAccumulatedDistance

Power Meter sensor: Receive_calculatedPower, Receive_calculatedCadence

Heart Rate sensor: Receive_computedHeartRate

Fitness Equipment: Receive_instantaneousHeartRate, Receive_elapsedTime, Receive_instantaneousSpeed, Receive_cumulativeDistance, Receive_trainer_instantaneousPowe, Receive_trainer_instantaneousCadence SetTrainerResistance(resitance %)
SetTrainerTargetPower(power)
SetTrainerSlope(slope%)
RequestTrainerCapabilities
SetTrainerUserConfiguration( weight…)

Minimum Android version: 5.0.1
Requires Unity 5.5.1 or higher.

Read data from any ANT+ sensor in your unity application

– USB dongle disconnect notification and auto reconnect
– multi bike speed display example
– FE-C bike trainer resistance change demo
– FAQ in readme.txt

Multi channel ready
Background search
For mac OSX, windows 32 and 64 bits

Based on the NET demo, this package includes the ANT_WrappedLib.dll built for win 32 and win 64 and a wrapper bundle for Mac OS.

A demo scene shows how to create a HR sensor to broadcast data, a bike speed display and a background search simultaneously

The FIT library is also included to encode and decode activities.

IMPORTANT

• ant-m or ant usb2 dongle or compatible phone required

• will not work on IOS

• you need to register for free on thisisant.com and become a ANT+ Adopter for devices documentation and network key for use on PC and MAC

USAGE FOR NET LIBRARY

( you can skip that part and just put the prefab on your scene)

1. Init the device AntManager.Instance.Init();

2. Subscribe to device event AntManager.Instance.onDeviceResponse += OnDeviceResponse;

3. Open a channel with device configuration AntManager.Instance.OpenChannel(…);

4. Subscribe to response and data event myChannel.onReceiveData += ReceivedAntData; myChannel.onChannelResponse += OnChannelResponse;

 
 

Prev Article
Next Article

Related Articles

Large File Downloader – Cross Platform – Dev Community
Tsunami 23 October, 2021

Large File Downloader – Cross Platform – Dev Community

Irc Chat – Dev Community
Tsunami 8 September, 2020

Irc Chat – Dev Community

Forum for Combu – Dev Community
Tsunami 5 August, 2020

Forum for Combu – Dev Community

DarkRift Networking 2 – Pro – Dev Community
Tsunami 10 February, 2022

DarkRift Networking 2 – Pro – Dev Community

Leave a Reply Cancel Reply

Recent Posts

  • Impact CFX – Collision Effects System – Dev Community
  • 3D Roguelike RPG Complete Kit for Mobile and PC: TPS, Enemy AI, Puzzle and Props – Dev Community
  • Adventure Creator – Dev Community
  • Lumen: Stylized Light FX 2 – Dev Community
  • OptiTerra (HDRP) – High Performance Terrain Shader – Free Download

Dev Asset Collection

All Things That You Need to Build A Video Game
Copyright © 2026 Dev Asset Collection
Privacy Policy | Disclaimer | DMCA