bds00

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoMessageAvailable

type NoMessageAvailable struct {
}

NoMessageAvailable is a message at the format BDS 0,0

From Spec: If a command to transmit an air-initiated Comm-B message is received while no message is waiting to be transmitted, the reply shall contain all ZEROs in the MB field

func ReadNoMessageAvailable

func ReadNoMessageAvailable(data []byte) (*NoMessageAvailable, error)

ReadNoMessageAvailable reads a message as a NoMessageAvailable

func (NoMessageAvailable) CheckCoherency

func (message NoMessageAvailable) CheckCoherency() error

CheckCoherency checks that the data of the message are somehow coherent, such as for example: no Reserved values, etc.

func (NoMessageAvailable) GetRegister

func (message NoMessageAvailable) GetRegister() register.Register

GetRegister returns the Register the message

func (NoMessageAvailable) ToString

func (message NoMessageAvailable) ToString() string

ToString returns a basic, but readable, representation of the message

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL