
Security News
Critical Security Vulnerability in React Server Components
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.
@hello.nrfcloud.com/proto-lwm2m
Advanced tools
Documents the LwM2M communication protocol between devices, the hello.nrfcloud.com backend and the web application
hello.nrfcloud.com LwM2M Protocols Documents the LwM2M communication protocol between devices, the
hello.nrfcloud.com backend and the web application.
The lwm2m folder contains the LwM2M objects that devices publish.
LwM2M object definitions are shared between models and can be re-used. Some
objects provide special behavior (for example object
14201 (Geolocation) will place the device's location on
the map).
Devices publish LwM2M objects using SenML directly, which needs to map to the defined LwM2M objects (example).
The SenML payload will be [expanded](./senml/senMLtoLwM2M.spec.ts] to fully qualified LwM2M object representations which can then be processed further, e.g. stored in a database.
This allows the hello.nrfcloud.com web application to visualize this data in a
meaningful way to users without the need for custom implementation.
LWM2MVersion must be 1.114200 to 15000
(non-inclusively).urn:oma:lwm2m:x:.ObjectVersion must be appended if it is not 1.0, which is the default.Time property.Multiple instance.Optional.Single instance. Multiple could be useful in some cases,
e.g. IP addresses, but until it is really needed, we do not support it.RangeEnumeration is only supported for Float and Integer and must be
specified as <min>..<max>, where min must be smaller than max and both
must be a number.Objlnk resource type is not supportedThe conformity to the rules is checked using the script
./lwm2m/check-lwm2m-rules.ts.
bn and n fields are combined to form the unique identifier for a resource
in the form of /<object ID>/<object instance ID>/<resource ID>/0. The
resource instance ID 0 is always appended, because multiple resource
instances are not supported right now.blv to specify the object version, 1.0 is the
default and should not be specified.bt and are
mapped to the LwM2M object's timestamp property and must not be send as a
property.Optionally, a set of JSONata expression can be defined per model which allows to convert from the data format that is published by the devices to the SenML data format used to describe LwM2M objects (example mapping.
PCA20035+solarREADME.md must be provided that
describes the modelMatch Expression the must evaluate to true for the
Transform Expression to be applied to the input messageInput Example and a Result Example must be supplied to validate the
expressionThe conformity to the rules is checked using the script
./models/check-model-rules.ts.
npm i --save-exact @hello.nrfcloud.com/proto-lwm2m
Install the dependencies:
npm ci
Install xmllint.
npm test
npx tsx generator/lwm2m.ts
npx tsx generator/models.ts
npx tsx generator/types.ts
FAQs
Documents the LwM2M communication protocol between devices, the hello.nrfcloud.com backend and the web application
We found that @hello.nrfcloud.com/proto-lwm2m demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.

Research
/Security News
We spotted a wave of auto-generated “elf-*” npm packages published every two minutes from new accounts, with simple malware variants and early takedowns underway.

Security News
TypeScript 6.0 will be the last JavaScript-based major release, as the project shifts to the TypeScript 7 native toolchain with major build speedups.