message

package
v0.0.0-...-4d64c08 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	// Header is the MSM Header
	Header *header.Header

	// Satellites is a list of the satellites for which signals
	// were observed in an MSM7 message.
	Satellites []satellite.Cell

	// Signals is a list of sublists, one sublist per satellite,
	// of signals at different frequencies observed by the base
	// station from the satellites in the Satellite list.
	Signals [][]signal.Cell
	// contains filtered or unexported fields
}

Message is a broken-out version of an MSM7 message.

func GetMessage

func GetMessage(bitStream []byte, logLevel slog.Level) (*Message, error)

GetMSM7Message presents an MSM7 (type 1077, 1087 etc) as broken out fields.

func New

func New(
	header *header.Header,
	satellites []satellite.Cell,
	signals [][]signal.Cell,
	logLevel slog.Level,
) *Message

New creates an MSM7 Message.

func (*Message) DisplaySatelliteCells

func (message *Message) DisplaySatelliteCells() string

DisplaySatelliteCells returns a text version of the satellite cells in the type 7 Multiple Signal Message (MSM7).

func (*Message) DisplaySignalCells

func (message *Message) DisplaySignalCells() string

DisplaySignalCells returns a text version of the signal data from the signal cells in a type 7 multiple signal message.

func (*Message) String

func (message *Message) String() string

String return a text version of the MSM7 Message.

Jump to

Keyboard shortcuts

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