Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
drasko authored Aug 11, 2024
1 parent 2754be9 commit c06c658
Showing 1 changed file with 2 additions and 29 deletions.
31 changes: 2 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,3 @@
# SenML
# SenML - Migrated to Abstract Machines

[![coverage][cov-badge]][cov-url]
[![go report card][grc-badge]][grc-url]
[![license][license]](LICENSE)

This repository contains a lightweight implementation of [RFC 8428 Sensor Measurement Lists (SenML)](https://tools.ietf.org/html/rfc8428)

## 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.[*](https://tools.ietf.org/html/rfc8428#section-4.6)

## 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.[*](https://tools.ietf.org/html/rfc8428#section-4.4)

[cov-badge]: https://codecov.io/gh/mainflux/senml/branch/master/graph/badge.svg
[cov-url]: https://codecov.io/gh/mainflux/senml
[grc-badge]: https://goreportcard.com/badge/github.com/mainflux/senml
[grc-url]: https://goreportcard.com/report/github.com/mainflux/senml
[license]: https://img.shields.io/badge/license-Apache%20v2.0-blue.svg
Migrated to https://github.com/absmach/senml

0 comments on commit c06c658

Please sign in to comment.