Git Product home page Git Product logo

experiments's Introduction

Each message sent over the ZMQ bus consists of a topic and a corresponding message identified by the DataId and DataVersion. The suffix of the topic is typically included as a field within the message. Topic is used for ZMQ subscriber filtering, while DataId + DataVersion is used for database mapping and data grouping. The message stored in the database is identical to the ZMQ message (the topic is not stored in the database).

Although only enforced for the mandatory fields below, it is recommended that each "key" in the data field is formatted with CamelCasing, i.e. InterfaceName is preferred over iface_name.

Mandatory fields:

  • The common fields: NodeId, Timestamp, DataId and DataVersion.
  • SequenceNumber: Used for identifying duplicate messages (i.e., when a message is rebroadcasted).

The following tables describe an overview of the dataformat (DataId+DataVersion) of each message and the corresponding topic names.

Current Data Format and Topics

The following information is currently distributed via the ZMQ bus and stored in the database. See also: https://github.com/MONROE-PROJECT/data-exporter

Topic DataId DataVersion Data Fields Description/Further Information Topic: MONROE.META.CONNECTIVITY.iccid DataId: MONROE.META.CONNECTIVITY DataVersion: 1 Data fields: ICCID, InterfaceName, MCCMNC, Mode, RSSI Description / Further information: Interface, connection events, IP

Topic: MONROE.META.DEVICE.MODEM.iccid.UPDATE DataId: MONROE.META.DEVICE.MODEM DataVersion: 1 Data fields: CID, DeviceMode, DeviceSubmode, DeviceState, ECIO, ENODEBID, ICCID, InterfaceName, IMSI, IMSIMCCMNC, IMEI, IPAddress, InternalIPAddress, Operator, LAC, RSRP, Frequency, RSRQ, Band, PCI, NWMCCMNC, RSCP, RSSI

Topic: MONROE.META.DEVICE.MODEM.iccid.MODE DataId: MONROE.META.DEVICE.MODEM DataVersion: 1 Data fields:

Topic: MONROE.META.DEVICE.MODEM.iccid.SIGNAL DataId: MONROE.META.DEVICE.MODEM DataVersion: 1 Data fields: CID, DeviceMode, DeviceSubmode, DeviceState, ECIO, ENODEBID, ICCID, InterfaceName, IMSI, IMSIMCCMNC, IMEI, IPAddress, InternalIPAddress, Operator, LAC, RSRP, Frequency, RSRQ, Band, PCI, NWMCCMNC, RSCP, RSSI

Topic: MONROE.META.DEVICE.MODEM.iccid.LTEBAND DataId: MONROE.META.DEVICE.MODEM DataVersion: 1 Data fields: CID, DeviceMode, DeviceSubmode, DeviceState, ECIO, ENODEBID, ICCID, InterfaceName, IMSI, IMSIMCCMNC, IMEI, IPAddress, InternalIPAddress, Operator, LAC, RSRP, Frequency, RSRQ, Band, PCI, NWMCCMNC, RSCP, RSSI

Topic: MONROE.META.DEVICE.MODEM.iccid.ISPNAME DataId: MONROE.META.DEVICE.MODEM DataVersion: 1 Data fields: CID, DeviceMode, DeviceSubmode, DeviceState, ECIO, ENODEBID, ICCID, InterfaceName, IMSI, IMSIMCCMNC, IMEI, IPAddress, InternalIPAddress, Operator, LAC, RSRP, Frequency, RSRQ, Band, PCI, NWMCCMNC, RSCP, RSSI

Topic: MONROE.META.DEVICE.MODEM.iccid.IPADDR DataId: MONROE.META.DEVICE.MODEM DataVersion: 1 Data fields: CID, DeviceMode, DeviceSubmode, DeviceState, ECIO, ENODEBID, ICCID, InterfaceName, IMSI, IMSIMCCMNC, IMEI, IPAddress, InternalIPAddress, Operator, LAC, RSRP, Frequency, RSRQ, Band, PCI, NWMCCMNC, RSCP, RSSI

Topic: MONROE.META.DEVICE.MODEM.iccid.LOCCHANGE DataId: MONROE.META.DEVICE.MODEM DataVersion: 1 Data fields: CID, DeviceMode, DeviceSubmode, DeviceState, ECIO, ENODEBID, ICCID, InterfaceName, IMSI, IMSIMCCMNC, IMEI, IPAddress, InternalIPAddress, Operator, LAC, RSRP, Frequency, RSRQ, Band, PCI, NWMCCMNC, RSCP, RSSI

Topic: MONROE.META.DEVICE.MODEM.iccid.NWMCCMNCCHANGE DataId: MONROE.META.DEVICE.MODEM DataVersion: 1 Data fields: CID, DeviceMode, DeviceSubmode, DeviceState, ECIO, ENODEBID, ICCID, InterfaceName, IMSI, IMSIMCCMNC, IMEI, IPAddress, InternalIPAddress, Operator, LAC, RSRP, Frequency, RSRQ, Band, PCI, NWMCCMNC, RSCP, RSSI

Topic: MONROE.META.DEVICE.GPS DataId: MONROE.META.DEVICE.GPS DataVersion: 1 Data fields: Longitude, Latitude, Altitude, SatelliteCount, SequenceNumber, NMEA, Timestamp (when values where logged by core component).

Topic: MONROE.META.NODE.SENSOR.sensor_name DataId: MONROE.META.NODE.SENSOR.sensor_name DataVersion: 1 Data fields: see sensor data Description / Further information: Temp sensor update, input voltage, current power draw, (what's available), running experiments, quotas.

Topic: MONROE.META.NODE.EVENT DataId: MONROE.META.NODE.EVENT DataVersion: 1 Data fields: see node events Description / Further information: Power up and other events.

experiments's People

Contributors

jonakarl avatar relet avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.