NordicSemiconductor / asset-tracker-cloud-coiote-aws-converter-js

Convert the LwM2M JSON encoding written by AVSystem's Coiote AWS integration to nRF Asset Tracker's LwM2M JSON encoding.
https://github.com/NordicSemiconductor/asset-tracker-cloud-coiote-aws-converter-js#readme
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Unknown resource name: Location Assistance #17

Closed MLopezJ closed 10 months ago

MLopezJ commented 1 year ago

When trying to convert Location Assistance, the following error message appears

Error: Unknown resource name: Location Assistance

Executed code:

import { convert } from '@nordicsemiconductor/coiote-aws-converter-js'
import shadow from "./docs/coiote-example.json"
const converted = convert(shadow.state.reported)
console.log(converted)

Location Assistance is a custom Av System object. It is not part of LwM2M registry

MLopezJ commented 1 year ago

Does Location Assistance contain any value used in nRF Asset Tracker application ?

if yes, the schematic should be added in custom-conversion folder.

If no, object should be removed from result instead of rejecting the entire document