#specification #registry #object #version #read #lw-m2m #lwm2m

lwm2m-registry

A simple registry for LwM2M specification files

1 unstable release

new 0.1.0 Jan 15, 2025

#80 in #registry

36 downloads per month

MIT license

23KB
485 lines

This crate provides functionality to read LwM2M object specification files and use the contained information in an application. It also provides some functions to query the loaded specifications.

let mut d = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
d.push("tests/spec_files");
let registry = Registry::init(vec![d]).await.unwrap();
assert!(registry.has_object_id(3, Version::new(1, 1)));

Dependencies

~3–11MB
~118K SLoC