Skip to content

Latest commit

 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SensorsPayloadDecoder

SensorsPayloadDecoder is a library to read the payload information from the Bosch parking sensor and the Elsys ERS sensor binary data.

Build status GitHub issues GitHub forks GitHub stars License: MIT Known Vulnerabilities Blogger Patreon PayPal

Available for

  • Net 10.0

Net Framework latest and LTS versions

Basic usage

Both decoders are called statically, there is no instance to create.

using SensorsPayloadDecoder.Bosch;
using SensorsPayloadDecoder.Elsys.ErsEye;

var boschData = new byte[] { 0x01 };
var boschResult = BoschParkingSensorDecoder.DecodePayload(boschData, MessageType.UplinkHeartbeatMessage);

var elsysData = new byte[] { 0x05, 0x01, 0x11, 0x01 };
var elsysResult = ElsysHumidityPayloadDecoder.DecodePayload(elsysData);

Both namespaces contain a type called MessageResult. As long as the results are held in var that does not matter, otherwise the two types need an alias.

Further links

Reference links Bosch parking sensor

Reference links Elsys ERS humidity sensor

Change history

See the Changelog.

About

SensorsPayloadDecoder is a library to read the payload information from the Bosch parking sensor and the Elsys ERS sensor binary data.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages