sensitpayload

package
v0.0.0-...-43604c7 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2020 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Copyright © 2018 David Sabatie <david.sabatie@notrenet.com>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Index

Constants

This section is empty.

Variables

View Source
var AlertCounter uint64

AlertCounter for door

View Source
var Battery float64

Battery level in V

View Source
var Firmware string

Firmware version

View Source
var FrameType uint64

FrameType ... 0: periodic 1: double click 2: alert 3: mode change

View Source
var Humidity float64

Humidity mesured in %

View Source
var Light float64

Light mesured in Lux

View Source
var Mode uint64

Mode activated 0: alert 1: temperature/humidity 2: light 3: door 4: vibration 5: magnet

View Source
var Temperature float64

Temperature mesured in °C

View Source
var UplinkPeriod uint64

UplinkPeriod is time between 2 messages 0: 10m 1: 1h 2: 6h 3: 1d

Functions

func Decode

func Decode(pc chan sensittypes.CallbackData, o chan []byte)

Decode paylaod

Types

This section is empty.

Jump to

Keyboard shortcuts

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