|
|
|
Re: How to connect a sensor node to om2m using http? [message #1776682 is a reply to message #1776651] |
Mon, 20 November 2017 10:49 |
Dorian Kurzaj Messages: 16 Registered: May 2016 |
Junior Member |
|
|
Glad to hear it helped you! :)
Well, as far as I know, I think when you have reached this limit, the oldest data is automatically deleted and the new data can be registered in OM2M. Otherwise, you can delete the data you don't want anymore by yourself. You just have to execute a DELETE HTTP request on this resource.
e.g.:
URL http://127.0.0.1:8080/~/mn-cse/mn-name/MY_SENSOR/DATA/cin_12345
Method DELETE
Header X-M2M-Origin : admin:admin
This request should delete the Content Instance : cin_12345 of the device MY_SENSOR registered on mn-cse. So you can run this kind of request when you need to.
Regards,
Dorian Kurzaj
[Updated on: Mon, 20 November 2017 10:55] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03922 seconds