For the complete documentation index, see llms.txt. This page is also available as Markdown.

Device Info

Endpoint for receiving device hardware and diagnostics information

Receive device information

post

Overview

This endpoint provides detailed hardware specifications, firmware versions, and technical diagnostics regarding the device's health and modem performance.

Important: The endpoint paths shown in this documentation (/measurements, /configuration, /device-info) are examples only.

The actual endpoint URLs are fully configurable in the CoAP Loader's application.yml file

When is it called?

  • During the first communication after sensor boot/reset

  • Periodically (frequency depends on sensor configuration)

  • After firmware updates

What data do you receive?

  • Software information: firmware version, commit ID

  • Runtime diagnostics: uptime, MCU temperature, battery voltage, message statistics

  • Modem information: modem type, network quality parameters (34 values for BC66 modem)

  • Memory statistics: internal memory usage/allocation

  • Error tracking: runtime error codes (if any)

Use cases:

  • Monitor device health and battery status

  • Track firmware versions across your sensor fleet

  • Diagnose connectivity issues using modem parameters

  • Alert on critical conditions (low battery, high temperature, errors)

Request Structure

Method: POST

Endpoint: Configurable in application.yml under the endpointDeviceInfo key. The path /device-info shown here is just an example.

Headers:

  • Content-Type: application/json

  • charset: UTF-8

  • X-Api-Token: "optional api token" (if configured on sensor via CLOUD_TOKEN parameter)

Body: JSON object containing device information fields (see DeviceInfo schema below for complete structure)

Response

Your platform must respond with HTTP status code 2xx (e.g., 200, 201, or 204) with an empty body to confirm receipt.

Note: This endpoint does NOT support returning configuration updates in the response.

Header parameters
X-Api-TokenstringOptional

Optional API token for authentication (if configured)

Example: your_api_token
Content-TypestringRequiredDefault: application/json
charsetstringRequiredDefault: UTF-8
Body
serialNumberstringRequired

Unique serial number of the sensor

Example: 282C024FFFB1
softwareVersionstringRequired

Current firmware version

Example: 1546
commitIdstringRequired

Unique identifier of the specific software build

Example: a1b2c3d4
cloudTokenstringRequired

Unique token used for cloud authentication

Example: token123
memoryStatisticsinteger[]Required

A list of numbers representing internal memory usage/allocation

Example: [1024,2048]
updateTimestampinteger · int64Required

The timestamp of the last firmware or configuration update

Example: 1707830000
updateStatusintegerRequired

Numeric code representing the status of the last update attempt

Example: 0
Responses
post
/device-info

No content

Last updated