Skip to content
/ senml Public
forked from absmach/senml

RFC 8428 Sensor Measurement Lists (SenML) implementation

License

Notifications You must be signed in to change notification settings

insighio/senml

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SenML

coverage go report card license

This repository contains a lightweight implementation of RFC 8428 Sensor Measurement Lists (SenML)

Codec

The following formats are supported:

  • JSON
  • XML
  • CBOR

Normalization

Normalized (resolved) SenML Pack consists of resolved SenML Records. A SenML Record is referred to as "resolved" if it does not contain any base values, i.e., labels starting with the character "b", except for Base Version fields, and has no relative times.*

Validation

Valid SenML Record is the record with valid all the required fields and exactly one value field. Base values, if present, must be valid, as well. The Pack is valid if all the Records are valid and have the same Base Version. All SenML Records in a Pack must have the same version number. This is typically done by adding a Base Version field to only the first Record in the Pack or by using the default value.*

About

RFC 8428 Sensor Measurement Lists (SenML) implementation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%