Skip to content
This repository was archived by the owner on Dec 8, 2024. It is now read-only.
This repository was archived by the owner on Dec 8, 2024. It is now read-only.

Message structure for wireless transfer #9

@bergos

Description

@bergos

A structure like in the JSON-LD playground link should be the output at the gateway. The actual data transferred should look like this:

{"temperature": 20.1}

The semantics is added by using the context given during the linking of the device.

There is currently no ontology at that namespace. It's just a dummy and should be later adapted to vocabs like iot.schema.org. This is also just a basic idea. The structure may change during development.

https://json-ld.org/playground/#startTab=tab-expanded&json-ld=%7B%22%40context%22%3A%7B%22%40vocab%22%3A%22https%3A%2F%2Fns.bergnet.org%2Fdark-horse%2F%22%7D%2C%22%40id%22%3A%22mqtt%3A%2F%2Fexample.org%2Froom-a%2Ftemperature-sensor%22%2C%22%40type%22%3A%22Measurement%22%2C%22temperature%22%3A20.1%7D

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions