FAQ: How to register LWM2M devices to a group as bulk registration?

It is possible to assign a device to a group during bulk registration. The name of the device group needs to be passed in a CSV column called “path”.
The following CSV shows you how to assign one device to a group, and not another one:

ID,IDTYPE,CREDENTIALS,NAME,TYPE,SHELL,com_cumulocity_model_Agent,endpoint id,lwm2m server uri,securityMode,registrationLifetime,c8y_GenericUi,bindingMode,path
someclient2,c8y_Id,hexbabe1,someclient2,c8y_lwm2m,1,1,someclient2,coap://13.211.2.225:5683,NO_SEC,43,{},UQ,
someclient3,c8y_Id,hexbabe2,someclient3,c8y_lwm2m,1,1,someclient3,coap://13.211.2.225:5683,NO_SEC,143,{},U,examplegroup

Result: someclient3 will be added to examplegroup.

Find more Cumulocity IoT FAQs here:
http://techcommunity.softwareag.com/web/guest/pwiki/-/wiki/Main/Cumulocity+IoT+FAQs

Check out the Cumulocity IoT Tips & tricks here:
http://techcommunity.softwareag.com/web/guest/pwiki/-/wiki/Main/Cumulocity+IoT+Tips+and+Tricks

Hello!

Having trouble with Cumulocity IOT platform .

Can’t add LwM2M device to Cumulocity platform.

Best I can get is from:

http://tech.forums.softwareag.com/techjforum/posts/list/70185.page

where navigated to some documentation.

https://cumulocity.com/guides/users-guide/optional-services/#lwm2m

And stuck till uploading file on Error MIME type of file not supported.

Your example “Full bulk registration - template” also throws that same error.

Can you please navigate me some information how I can add lwm2m client with PSK credentials?

You could add quick navigation to documentations with F1 key from sections (for me, its not working). Also add dummy LwM2M file examples, quick upload to server for tests. Its easier to change endpoint or psk in software, not to create csv file from documentations in the beginning.

Please help!

This does not answer why I got error “MIME type of file not supported” and file extension is .csv