Skip to content

Add support for more IPSO objects. #12

@ofauchon

Description

@ofauchon

Hi. @johanstokking , @calvernaz.

I'm using your library in my Lorawan connected devices (TinyGo based code)

Now, I need more types of measurements (power related : voltage, intensity power) for monitoring power inverters.

I can see these types of objects exists in IPSO object Registry

https://technical.openmobilealliance.org/OMNA/LwM2M/LwM2MRegistry.html
https://github.com/OpenMobileAlliance/lwm2m-registry

  • ID=3316 : Voltage/Volts
  • ID=3317 : Current/Amps
  • ID=3318 : Frequency/Hz
  • ID=3328 : Power/Watt

Do you think I can propose a PR for supporting these extra measurements:

  • AddVoltage()
  • AddCurrent()
  • AddFrequency()
  • AddPower()

Maybe we could also think about a more generic API like:

  • AddCustomMeasurement(IPSO_Object, Value)

Thanks for your help,

Olivier

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions