/* This software is subject to the license described in the License.txt file included with this software distribution. You may not use this file except in compliance with this license. Copyright (c) Dynastream Innovations Inc. 2013 All rights reserved. */ using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ANT_Managed_Library { /// /// Contains the information returned by a channel status request message /// public struct ANT_ChannelStatus { /// /// Bits 0-1 of the status response /// public ANT_ReferenceLibrary.BasicChannelStatusCode BasicStatus; /// /// Bits 2-3 of the status response. Invalid on AP1. /// public byte networkNumber; /// /// Bits 4-7 of the status response. Not a valid channelType on AP1. /// public ANT_ReferenceLibrary.ChannelType ChannelType; /// /// Creates and fills the ChannelStatus /// /// /// /// public ANT_ChannelStatus(ANT_ReferenceLibrary.BasicChannelStatusCode BasicStatus, byte networkNumber, ANT_ReferenceLibrary.ChannelType ChannelType) { this.BasicStatus = BasicStatus; this.networkNumber = networkNumber; this.ChannelType = ChannelType; } } }