UNPKG

@hello.nrfcloud.com/proto-map

Version:

Documents the communication protocol between devices, the hello.nrfcloud.com/map backend and web application

484 lines 34 kB
import { type LWM2MObjectInfo, ResourceType } from "./LWM2MObjectInfo.js"; import { LwM2MObjectID } from "./LwM2MObjectID.js"; /** * Contains the ID of the resource that defines the timestamp for each LwM2M object definition */ export const definitions: Record<LwM2MObjectID, LWM2MObjectInfo> = { /** * Geolocation (14201) * * Describes the geo location of a device */ [LwM2MObjectID.Geolocation_14201]: { ObjectID: LwM2MObjectID.Geolocation_14201, ObjectVersion: "1.0", Name: "Geolocation", Description: "Describes the geo location of a device", Resources: { /** * Latitude (Float) * * The decimal notation of latitude in degrees, e.g. -43.5723 [World Geodetic System 1984]. * * Minimum: -90 * Maximum: 90 */ 0: { ResourceID: 0, Name: "Latitude", Mandatory: true, Type: ResourceType.Float, Multiple: false, Description: "The decimal notation of latitude in degrees, e.g. -43.5723 [World Geodetic System 1984].", RangeEnumeration: { min: -90, max: 90 }, Units: "\u00B0" }, /** * Longitude (Float) * * The decimal notation of longitude in degrees, e.g. 153.21760 [World Geodetic System 1984]. * * Minimum: -180 * Maximum: 180 */ 1: { ResourceID: 1, Name: "Longitude", Mandatory: true, Type: ResourceType.Float, Multiple: false, Description: "The decimal notation of longitude in degrees, e.g. 153.21760 [World Geodetic System 1984].", RangeEnumeration: { min: -180, max: 180 }, Units: "\u00B0" }, /** * Altitude (Float) * * The decimal notation of altitude in meters above sea level. */ 2: { ResourceID: 2, Name: "Altitude", Mandatory: false, Type: ResourceType.Float, Multiple: false, Description: "The decimal notation of altitude in meters above sea level.", Units: "m" }, /** * Radius (Float) * * The value in this resource indicates the radius of a circular area in meters. The circular area is used to describe uncertainty about a point for coordinates in a two-dimensional coordinate reference systems (CRS). The center point of a circular area is specified by using the Latitude and the Longitude Resources. */ 3: { ResourceID: 3, Name: "Radius", Mandatory: false, Type: ResourceType.Float, Multiple: false, Description: "The value in this resource indicates the radius of a circular area in meters. The circular area is used to describe uncertainty about a point for coordinates in a two-dimensional coordinate reference systems (CRS). The center point of a circular area is specified by using the Latitude and the Longitude Resources.", Units: "m" }, /** * Speed (Float) * * Speed is the time rate of change in position. */ 4: { ResourceID: 4, Name: "Speed", Mandatory: false, Type: ResourceType.Float, Multiple: false, Description: "Speed is the time rate of change in position.", Units: "m/s" }, /** * Heading (Float) * * The angle of movement in degrees. * * Minimum: 0 * Maximum: 360 */ 5: { ResourceID: 5, Name: "Heading", Mandatory: false, Type: ResourceType.Float, Multiple: false, Description: "The angle of movement in degrees.", RangeEnumeration: { min: 0, max: 360 }, Units: "\u00B0" }, /** * Source (String) * * The source of the geo location, e.g. GNSS, SCELL, MCELL, WIFI. */ 6: { ResourceID: 6, Name: "Source", Mandatory: true, Type: ResourceType.String, Multiple: false, Description: "The source of the geo location, e.g. GNSS, SCELL, MCELL, WIFI." }, /** * Timestamp (Time) * * The timestamp of when the location measurement was performed. * * Time resources in LwM2M are represented as a signed integer representing the number of seconds since Jan 1, 1970 in the UTC time zone. */ 99: { ResourceID: 99, Name: "Timestamp", Mandatory: true, Type: ResourceType.Time, Multiple: false, Description: "The timestamp of when the location measurement was performed." } } }, /** * Battery and Power (14202) * * Information about the battery and power status of the device. */ [LwM2MObjectID.BatteryAndPower_14202]: { ObjectID: LwM2MObjectID.BatteryAndPower_14202, ObjectVersion: "1.0", Name: "Battery and Power", Description: "Information about the battery and power status of the device.", Resources: { /** * State of charge (Integer) * * State of charge in percent. Examples: 23, 1, 100. * * Minimum: 0 * Maximum: 100 */ 0: { ResourceID: 0, Name: "State of charge", Mandatory: false, Type: ResourceType.Integer, Multiple: false, Description: "State of charge in percent. Examples: 23, 1, 100.", RangeEnumeration: { min: 0, max: 100 }, Units: "%" }, /** * Voltage (Float) * * Battery voltage in Volt. Examples: 2.754, 3.3. */ 1: { ResourceID: 1, Name: "Voltage", Mandatory: false, Type: ResourceType.Float, Multiple: false, Description: "Battery voltage in Volt. Examples: 2.754, 3.3.", Units: "V" }, /** * Charge current (Float) * * Charge current in mA. Examples: 429, -244. */ 2: { ResourceID: 2, Name: "Charge current", Mandatory: false, Type: ResourceType.Float, Multiple: false, Description: "Charge current in mA. Examples: 429, -244.", Units: "mA" }, /** * Battery temperature (Float) * * Battery temperature in degree Celsius. Examples: 21.7, 23.123. */ 3: { ResourceID: 3, Name: "Battery temperature", Mandatory: false, Type: ResourceType.Float, Multiple: false, Description: "Battery temperature in degree Celsius. Examples: 21.7, 23.123.", Units: "\u00B0C" }, /** * Time to full (Integer) * * Time to full in seconds. Examples: 4652. */ 4: { ResourceID: 4, Name: "Time to full", Mandatory: false, Type: ResourceType.Integer, Multiple: false, Description: "Time to full in seconds. Examples: 4652.", Units: "s" }, /** * Time to empty (Integer) * * Time to empty in seconds. Examples: 4652. */ 5: { ResourceID: 5, Name: "Time to empty", Mandatory: false, Type: ResourceType.Integer, Multiple: false, Description: "Time to empty in seconds. Examples: 4652.", Units: "s" }, /** * Timestamp (Time) * * The timestamp of when the measurement was performed. * * Time resources in LwM2M are represented as a signed integer representing the number of seconds since Jan 1, 1970 in the UTC time zone. */ 99: { ResourceID: 99, Name: "Timestamp", Mandatory: true, Type: ResourceType.Time, Multiple: false, Description: "The timestamp of when the measurement was performed." } } }, /** * Connection information (14203) * * Details about the device's connection. */ [LwM2MObjectID.ConnectionInformation_14203]: { ObjectID: LwM2MObjectID.ConnectionInformation_14203, ObjectVersion: "1.0", Name: "Connection information", Description: "Details about the device's connection.", Resources: { /** * Network mode (String) * * Examples: LTE-M, NB-IoT. */ 0: { ResourceID: 0, Name: "Network mode", Mandatory: false, Type: ResourceType.String, Multiple: false, Description: "Examples: LTE-M, NB-IoT." }, /** * Band (Integer) * * E-UTRA Absolute Radio Frequency Channel Number (EARFCN) of the current cell where the EARFCN is as defined in 3GPP TS 36.101. LTE carrier channel number for unique identification of LTE band and carrier frequency. Examples: 262143 */ 1: { ResourceID: 1, Name: "Band", Mandatory: false, Type: ResourceType.Integer, Multiple: false, Description: "E-UTRA Absolute Radio Frequency Channel Number (EARFCN) of the current cell where the EARFCN is as defined in 3GPP TS 36.101. LTE carrier channel number for unique identification of LTE band and carrier frequency. Examples: 262143" }, /** * RSRP (Integer) * * Reference Signal Received Power (RSRP). The average power level in dBm received from a single reference signal in an LTE (Long-term Evolution) network. Typically this value ranges from -140 to -40 dBm. Examples: -97, -104. * * Minimum: -160 * Maximum: -40 */ 2: { ResourceID: 2, Name: "RSRP", Mandatory: false, Type: ResourceType.Integer, Multiple: false, Description: "Reference Signal Received Power (RSRP). The average power level in dBm received from a single reference signal in an LTE (Long-term Evolution) network. Typically this value ranges from -140 to -40 dBm. Examples: -97, -104.", RangeEnumeration: { min: -160, max: -40 }, Units: "dBm" }, /** * Area (Integer) * * Area code. Examples: 12 */ 3: { ResourceID: 3, Name: "Area", Mandatory: false, Type: ResourceType.Integer, Multiple: false, Description: "Area code. Examples: 12" }, /** * Cell (Integer) * * The cell ID the User Equipment (UE) is camped on. 4-byte Evolved Terrestrial Radio Access Network (E-UTRAN) cell ID. Examples: 33703719 */ 4: { ResourceID: 4, Name: "Cell", Mandatory: false, Type: ResourceType.Integer, Multiple: false, Description: "The cell ID the User Equipment (UE) is camped on. 4-byte Evolved Terrestrial Radio Access Network (E-UTRAN) cell ID. Examples: 33703719" }, /** * Mobile country code and mobile network code (Integer) * * Examples: 24202, 310410 */ 5: { ResourceID: 5, Name: "Mobile country code and mobile network code", Mandatory: false, Type: ResourceType.Integer, Multiple: false, Description: "Examples: 24202, 310410" }, /** * IP address (String) * * Examples: 10.81.183.99, 2001:0db8:85a3:0000:0000:8a2e:0370:7334, 2001:db8:85a3::8a2e:370:7334 */ 6: { ResourceID: 6, Name: "IP address", Mandatory: false, Type: ResourceType.String, Multiple: false, Description: "Examples: 10.81.183.99, 2001:0db8:85a3:0000:0000:8a2e:0370:7334, 2001:db8:85a3::8a2e:370:7334" }, /** * Energy Estimate (Integer) * * The %CONEVAL AT command returns amongst other data the energy estimate: Relative estimated energy consumption of data transmission compared to nominal consumption. A higher value means smaller energy consumption. 5: Difficulties in setting up connections. Maximum number of repetitions might be needed for data. 6: Poor conditions. Setting up a connection might require retries and a higher number of repetitions for data. 7: Normal conditions for cIoT device. No repetitions for data or only a few repetitions in the worst case. 8: Good conditions. Possibly very good conditions for small amounts of data. 9: Very good conditions. Efficient data transfer estimated also for larger amounts of data. Examples: 5, 7 * * Minimum: 5 * Maximum: 9 */ 11: { ResourceID: 11, Name: "Energy Estimate", Mandatory: false, Type: ResourceType.Integer, Multiple: false, Description: "The %CONEVAL AT command returns amongst other data the energy estimate: Relative estimated energy consumption of data transmission compared to nominal consumption. A higher value means smaller energy consumption. 5: Difficulties in setting up connections. Maximum number of repetitions might be needed for data. 6: Poor conditions. Setting up a connection might require retries and a higher number of repetitions for data. 7: Normal conditions for cIoT device. No repetitions for data or only a few repetitions in the worst case. 8: Good conditions. Possibly very good conditions for small amounts of data. 9: Very good conditions. Efficient data transfer estimated also for larger amounts of data. Examples: 5, 7", RangeEnumeration: { min: 5, max: 9 } }, /** * Timestamp (Time) * * The timestamp of when the measurement was performed. * * Time resources in LwM2M are represented as a signed integer representing the number of seconds since Jan 1, 1970 in the UTC time zone. */ 99: { ResourceID: 99, Name: "Timestamp", Mandatory: true, Type: ResourceType.Time, Multiple: false, Description: "The timestamp of when the measurement was performed." } } }, /** * Device information (14204) * * Details about the device's connection. */ [LwM2MObjectID.DeviceInformation_14204]: { ObjectID: LwM2MObjectID.DeviceInformation_14204, ObjectVersion: "1.0", Name: "Device information", Description: "Details about the device's connection.", Resources: { /** * IMEI (String) * * Board IMEI. Examples: 352656106111232. */ 0: { ResourceID: 0, Name: "IMEI", Mandatory: true, Type: ResourceType.String, Multiple: false, Description: "Board IMEI. Examples: 352656106111232." }, /** * SIM ICCID (String) * * Examples: 89450421180216216095. */ 1: { ResourceID: 1, Name: "SIM ICCID", Mandatory: false, Type: ResourceType.String, Multiple: false, Description: "Examples: 89450421180216216095." }, /** * Modem firmware version (String) * * Examples: mfw_nrf9160_1.0.0. */ 2: { ResourceID: 2, Name: "Modem firmware version", Mandatory: true, Type: ResourceType.String, Multiple: false, Description: "Examples: mfw_nrf9160_1.0.0." }, /** * Application firmware version (String) * * Examples: v1.0.0-rc1-327-g6fc8c16b239f. */ 3: { ResourceID: 3, Name: "Application firmware version", Mandatory: true, Type: ResourceType.String, Multiple: false, Description: "Examples: v1.0.0-rc1-327-g6fc8c16b239f." }, /** * Board version (String) * * Examples: thingy91_nrf9160. */ 4: { ResourceID: 4, Name: "Board version", Mandatory: true, Type: ResourceType.String, Multiple: false, Description: "Examples: thingy91_nrf9160." }, /** * Battery model (String) * * Examples: LP302535, LP502540, LP803035. */ 5: { ResourceID: 5, Name: "Battery model", Mandatory: false, Type: ResourceType.String, Multiple: false, Description: "Examples: LP302535, LP502540, LP803035." }, /** * Timestamp (Time) * * The timestamp of when the measurement was performed. * * Time resources in LwM2M are represented as a signed integer representing the number of seconds since Jan 1, 1970 in the UTC time zone. */ 99: { ResourceID: 99, Name: "Timestamp", Mandatory: true, Type: ResourceType.Time, Multiple: false, Description: "The timestamp of when the measurement was performed." } } }, /** * Environment (14205) * * Environment information. */ [LwM2MObjectID.Environment_14205]: { ObjectID: LwM2MObjectID.Environment_14205, ObjectVersion: "1.0", Name: "Environment", Description: "Environment information.", Resources: { /** * Temperature (Float) * * Environmental temperature in degree Celsius. Examples: 23.5, -10.2. */ 0: { ResourceID: 0, Name: "Temperature", Mandatory: false, Type: ResourceType.Float, Multiple: false, Description: "Environmental temperature in degree Celsius. Examples: 23.5, -10.2.", Units: "\u00B0C" }, /** * Humidity (Float) * * Environmental humidity in percent. Examples: 44.2, 72. * * Minimum: 0 * Maximum: 100 */ 1: { ResourceID: 1, Name: "Humidity", Mandatory: false, Type: ResourceType.Float, Multiple: false, Description: "Environmental humidity in percent. Examples: 44.2, 72.", RangeEnumeration: { min: 0, max: 100 }, Units: "%" }, /** * Atmospheric pressure (Float) * * Atmospheric pressure in hectopascal. Examples: 1003.6, 977. */ 2: { ResourceID: 2, Name: "Atmospheric pressure", Mandatory: false, Type: ResourceType.Float, Multiple: false, Description: "Atmospheric pressure in hectopascal. Examples: 1003.6, 977.", Units: "hPa" }, /** * Air Quality Index (Integer) * * The Bosch BME680 sensor calculates an Air Quality Index. See https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bme680-ds001.pdf */ 10: { ResourceID: 10, Name: "Air Quality Index", Mandatory: false, Type: ResourceType.Integer, Multiple: false, Description: "The Bosch BME680 sensor calculates an Air Quality Index. See https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bme680-ds001.pdf" }, /** * Timestamp (Time) * * The timestamp of when the measurement was performed. * * Time resources in LwM2M are represented as a signed integer representing the number of seconds since Jan 1, 1970 in the UTC time zone. */ 99: { ResourceID: 99, Name: "Timestamp", Mandatory: true, Type: ResourceType.Time, Multiple: false, Description: "The timestamp of when the measurement was performed." } } }, /** * Solar charge (14210) * * Measurements from the solar shield. */ [LwM2MObjectID.SolarCharge_14210]: { ObjectID: LwM2MObjectID.SolarCharge_14210, ObjectVersion: "1.0", Name: "Solar charge", Description: "Measurements from the solar shield.", Resources: { /** * Gain (Float) * * The current gain from the solar shield, measured in mA. Example: 3.123, -0.0032. */ 0: { ResourceID: 0, Name: "Gain", Mandatory: true, Type: ResourceType.Float, Multiple: false, Description: "The current gain from the solar shield, measured in mA. Example: 3.123, -0.0032.", Units: "mA" }, /** * Voltage (Float) * * Battery voltage in Volt. Examples: 2.754, 3.3. */ 1: { ResourceID: 1, Name: "Voltage", Mandatory: false, Type: ResourceType.Float, Multiple: false, Description: "Battery voltage in Volt. Examples: 2.754, 3.3.", Units: "V" }, /** * Timestamp (Time) * * The timestamp of when the measurement was performed. * * Time resources in LwM2M are represented as a signed integer representing the number of seconds since Jan 1, 1970 in the UTC time zone. */ 99: { ResourceID: 99, Name: "Timestamp", Mandatory: true, Type: ResourceType.Time, Multiple: false, Description: "The timestamp of when the measurement was performed." } } }, /** * Button press (14220) * * Describes a button press event. The ObjectInstanceID is used to describe which button has been pressed. */ [LwM2MObjectID.ButtonPress_14220]: { ObjectID: LwM2MObjectID.ButtonPress_14220, ObjectVersion: "1.0", Name: "Button press", Description: "Describes a button press event. The ObjectInstanceID is used to describe which button has been pressed.", Resources: { /** * Timestamp (Time) * * The timestamp of when the button was pressed. * * Time resources in LwM2M are represented as a signed integer representing the number of seconds since Jan 1, 1970 in the UTC time zone. */ 99: { ResourceID: 99, Name: "Timestamp", Mandatory: true, Type: ResourceType.Time, Multiple: false, Description: "The timestamp of when the button was pressed." } } }, /** * Sea Water Level (14230) * * Describes observed sea water level. */ [LwM2MObjectID.SeaWaterLevel_14230]: { ObjectID: LwM2MObjectID.SeaWaterLevel_14230, ObjectVersion: "1.0", Name: "Sea Water Level", Description: "Describes observed sea water level.", Resources: { /** * Sea Water Level (Float) * * The observed sea water level relative the the sea level elevation of the sea map. Examples: 134.2, 104.5. */ 0: { ResourceID: 0, Name: "Sea Water Level", Mandatory: true, Type: ResourceType.Float, Multiple: false, Description: "The observed sea water level relative the the sea level elevation of the sea map. Examples: 134.2, 104.5.", Units: "cm" }, /** * Station code (String) * * The code of the observation station. Examples: TRD, SVG. */ 1: { ResourceID: 1, Name: "Station code", Mandatory: true, Type: ResourceType.String, Multiple: false, Description: "The code of the observation station. Examples: TRD, SVG." }, /** * Timestamp (Time) * * The timestamp of when the observation was made. * * Time resources in LwM2M are represented as a signed integer representing the number of seconds since Jan 1, 1970 in the UTC time zone. */ 99: { ResourceID: 99, Name: "Timestamp", Mandatory: true, Type: ResourceType.Time, Multiple: false, Description: "The timestamp of when the observation was made." } } }, /** * RGB LED (14240) * * Describes an RGB LED. Use different instances to address different LEDs. */ [LwM2MObjectID.RGBLED_14240]: { ObjectID: LwM2MObjectID.RGBLED_14240, ObjectVersion: "1.0", Name: "RGB LED", Description: "Describes an RGB LED. Use different instances to address different LEDs.", Resources: { /** * Red (Integer) * * The red brightness level of the LED. * * Minimum: 0 * Maximum: 255 */ 0: { ResourceID: 0, Name: "Red", Mandatory: true, Type: ResourceType.Integer, Multiple: false, Description: "The red brightness level of the LED.", RangeEnumeration: { min: 0, max: 255 } }, /** * Green (Integer) * * The green brightness level of the LED. * * Minimum: 0 * Maximum: 255 */ 1: { ResourceID: 1, Name: "Green", Mandatory: true, Type: ResourceType.Integer, Multiple: false, Description: "The green brightness level of the LED.", RangeEnumeration: { min: 0, max: 255 } }, /** * Blue (Integer) * * The blue brightness level of the LED. * * Minimum: 0 * Maximum: 255 */ 2: { ResourceID: 2, Name: "Blue", Mandatory: true, Type: ResourceType.Integer, Multiple: false, Description: "The blue brightness level of the LED.", RangeEnumeration: { min: 0, max: 255 } }, /** * Timestamp (Time) * * The timestamp of when the LED was changed. * * Time resources in LwM2M are represented as a signed integer representing the number of seconds since Jan 1, 1970 in the UTC time zone. */ 99: { ResourceID: 99, Name: "Timestamp", Mandatory: true, Type: ResourceType.Time, Multiple: false, Description: "The timestamp of when the LED was changed." } } }, /** * Reboot (14250) * * Describes a device reboot. */ [LwM2MObjectID.Reboot_14250]: { ObjectID: LwM2MObjectID.Reboot_14250, ObjectVersion: "1.0", Name: "Reboot", Description: "Describes a device reboot.", Resources: { /** * Reason (Integer) * * A numeric reason code for the reboot. */ 0: { ResourceID: 0, Name: "Reason", Mandatory: false, Type: ResourceType.Integer, Multiple: false, Description: "A numeric reason code for the reboot." }, /** * Timestamp (Time) * * The timestamp of the reboot. * * Time resources in LwM2M are represented as a signed integer representing the number of seconds since Jan 1, 1970 in the UTC time zone. */ 99: { ResourceID: 99, Name: "Timestamp", Mandatory: true, Type: ResourceType.Time, Multiple: false, Description: "The timestamp of the reboot." } } }, /** * Application Configuration (14301) * * Describes application configuration */ [LwM2MObjectID.ApplicationConfiguration_14301]: { ObjectID: LwM2MObjectID.ApplicationConfiguration_14301, ObjectVersion: "1.0", Name: "Application Configuration", Description: "Describes application configuration", Resources: { /** * Update interval (Integer) * * The update interval in seconds. Examples: 10, 3600. * * Minimum: 0 * Maximum: 31622400 */ 0: { ResourceID: 0, Name: "Update interval", Mandatory: true, Type: ResourceType.Integer, Multiple: false, Description: "The update interval in seconds. Examples: 10, 3600.", RangeEnumeration: { min: 0, max: 31622400 } }, /** * GNSS enabled (Boolean) * * Whether to enabled the device's GNSS receiver. */ 1: { ResourceID: 1, Name: "GNSS enabled", Mandatory: true, Type: ResourceType.Boolean, Multiple: false, Description: "Whether to enabled the device's GNSS receiver." }, /** * Timestamp (Time) * * The timestamp of when the configuration was updated. * * Time resources in LwM2M are represented as a signed integer representing the number of seconds since Jan 1, 1970 in the UTC time zone. */ 99: { ResourceID: 99, Name: "Timestamp", Mandatory: true, Type: ResourceType.Time, Multiple: false, Description: "The timestamp of when the configuration was updated." } } }, /** * nRF Cloud Service Info (14401) * * Describes the services supported by the device. */ [LwM2MObjectID.NRFCloudServiceInfo_14401]: { ObjectID: LwM2MObjectID.NRFCloudServiceInfo_14401, ObjectVersion: "1.0", Name: "nRF Cloud Service Info", Description: "Describes the services supported by the device.", Resources: { /** * FOTA (String) * * The types of firmwares the device supports. Examples: "APP", "MODEM". */ 0: { ResourceID: 0, Name: "FOTA", Mandatory: false, Type: ResourceType.String, Multiple: true, Description: "The types of firmwares the device supports. Examples: \"APP\", \"MODEM\"." }, /** * Timestamp (Time) * * The timestamp of when the service info was updated. * * Time resources in LwM2M are represented as a signed integer representing the number of seconds since Jan 1, 1970 in the UTC time zone. */ 99: { ResourceID: 99, Name: "Timestamp", Mandatory: true, Type: ResourceType.Time, Multiple: false, Description: "The timestamp of when the service info was updated." } } }, /** * Connection Quality (14501) * * Information about the connection quality. */ [LwM2MObjectID.ConnectionQuality_14501]: { ObjectID: LwM2MObjectID.ConnectionQuality_14501, ObjectVersion: "1.0", Name: "Connection Quality", Description: "Information about the connection quality.", Resources: { /** * Latency (Integer) * * The latency in milliseconds. Example: 52, 2708. */ 0: { ResourceID: 0, Name: "Latency", Mandatory: false, Type: ResourceType.Integer, Multiple: false, Description: "The latency in milliseconds. Example: 52, 2708.", Units: "ms" }, /** * Packet loss (Integer) * * Packet loss in percent. Examples: 3, 97. * * Minimum: 0 * Maximum: 100 */ 1: { ResourceID: 1, Name: "Packet loss", Mandatory: false, Type: ResourceType.Integer, Multiple: false, Description: "Packet loss in percent. Examples: 3, 97.", RangeEnumeration: { min: 0, max: 100 }, Units: "V" }, /** * Throughput (Integer) * * The throughput in bytes per second. Example: 11, 275. */ 2: { ResourceID: 2, Name: "Throughput", Mandatory: false, Type: ResourceType.Integer, Multiple: false, Description: "The throughput in bytes per second. Example: 11, 275.", Units: "bytes/s" }, /** * Timestamp (Time) * * The timestamp of when the measurement was performed. * * Time resources in LwM2M are represented as a signed integer representing the number of seconds since Jan 1, 1970 in the UTC time zone. */ 99: { ResourceID: 99, Name: "Timestamp", Mandatory: true, Type: ResourceType.Time, Multiple: false, Description: "The timestamp of when the measurement was performed." } } }, /** * Network Neighbor (14502) * * This LwM2M Object describes neighboring devices. */ [LwM2MObjectID.NetworkNeighbor_14502]: { ObjectID: LwM2MObjectID.NetworkNeighbor_14502, ObjectVersion: "1.0", Name: "Network Neighbor", Description: "This LwM2M Object describes neighboring devices.", Resources: { /** * Neighbor ID (Integer) * * This identifier uniquely identifies each neighbor device in the network. Examples: 1523, 862. * * Minimum: 1 * Maximum: 4294967293 */ 0: { ResourceID: 0, Name: "Neighbor ID", Mandatory: true, Type: ResourceType.Integer, Multiple: false, Description: "This identifier uniquely identifies each neighbor device in the network. Examples: 1523, 862.", RangeEnumeration: { min: 1, max: 4294967293 } }, /** * Radio Signal Strength (Integer) * * Indicates the average value of the received signal strength indication from the neighbor device. Examples: -123, -98. * * Minimum: -140 * Maximum: -1 */ 1: { ResourceID: 1, Name: "Radio Signal Strength", Mandatory: false, Type: ResourceType.Integer, Multiple: false, Description: "Indicates the average value of the received signal strength indication from the neighbor device. Examples: -123, -98.", RangeEnumeration: { min: -140, max: -1 }, Units: "dBm" }, /** * Timestamp (Time) * * The timestamp of when the neighbor information was reported. * * Time resources in LwM2M are represented as a signed integer representing the number of seconds since Jan 1, 1970 in the UTC time zone. */ 99: { ResourceID: 99, Name: "Timestamp", Mandatory: true, Type: ResourceType.Time, Multiple: false, Description: "The timestamp of when the neighbor information was reported." } } }, /** * DECT NR+ Connection Profile (14503) * * Connection details of a device connected to a DECT NR+ network. */ [LwM2MObjectID.DECTNR_ConnectionProfile_14503]: { ObjectID: LwM2MObjectID.DECTNR_ConnectionProfile_14503, ObjectVersion: "1.0", Name: "DECT NR+ Connection Profile", Description: "Connection details of a device connected to a DECT NR+ network.", Resources: { /** * Long RD ID (Integer) * * This identifier uniquely identifies this radio device in the DECT NR+ network. Examples: 1523, 862. * * Minimum: 1 * Maximum: 4294967293 */ 0: { ResourceID: 0, Name: "Long RD ID", Mandatory: true, Type: ResourceType.Integer, Multiple: false, Description: "This identifier uniquely identifies this radio device in the DECT NR+ network. Examples: 1523, 862.", RangeEnumeration: { min: 1, max: 4294967293 } }, /** * Network ID (Integer) * * This identifier uniquely identifies the DECT NR+ network that this radio device is in. Examples: 734, 16654. * * Minimum: 1 * Maximum: 4294967293 */ 1: { ResourceID: 1, Name: "Network ID", Mandatory: true, Type: ResourceType.Integer, Multiple: false, Description: "This identifier uniquely identifies the DECT NR+ network that this radio device is in. Examples: 734, 16654.", RangeEnumeration: { min: 1, max: 4294967293 } }, /** * Operational Mode (String) * * Operational mode of this radio device. Examples: FT, PT. */ 2: { ResourceID: 2, Name: "Operational Mode", Mandatory: true, Type: ResourceType.String, Multiple: false, Description: "Operational mode of this radio device. Examples: FT, PT." }, /** * Timestamp (Time) * * The timestamp of when the DECT NR+ connection profile was last reported. * * Time resources in LwM2M are represented as a signed integer representing the number of seconds since Jan 1, 1970 in the UTC time zone. */ 99: { ResourceID: 99, Name: "Timestamp", Mandatory: true, Type: ResourceType.Time, Multiple: false, Description: "The timestamp of when the DECT NR+ connection profile was last reported." } } } };