util

package
v0.0.0-...-7f53359 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalcRSSI

func CalcRSSI(data []byte, offset int) float32

CalcRSSI converts the data sent by the repeater to floating point at the correct offset

func ParseUint16

func ParseUint16(data []byte, offset int) uint16

ParseUint16 gets a uint16 from an array

func ParseUint24

func ParseUint24(array []byte, offset int) uint32

ParseUint24 gets a uint32 consisting of 24-bits from an array

func ParseUint32

func ParseUint32(data []byte, offset int) uint32

ParseUint32 gets a uint32 from an array

Types

This section is empty.

Jump to

Keyboard shortcuts

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