Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » OM2M » Send data from gateway(mn) to server(in)(Send data from gateway(mn) to server(in))
Send data from gateway(mn) to server(in) [message #1783096] Wed, 07 March 2018 20:41 Go to next message
Jairo  Ariza is currently offline Jairo ArizaFriend
Messages: 9
Registered: March 2018
Junior Member
Hello.

I have previously created app with its respective description and container data in a oM2M gateway(mn), and a sensor is posting its readings via MQTT to the data container.

How can I connect the app in the gateway to the server and discover the app, with a get in the server and how I can pull the data with a get from the server.

Thank you.
Re: Send data from gateway(mn) to server(in) [message #1783123 is a reply to message #1783096] Thu, 08 March 2018 07:10 Go to previous messageGo to next message
Muhammad Kamran is currently offline Muhammad KamranFriend
Messages: 18
Registered: November 2017
Junior Member
MN-CSE is connected with IN-CSE?
Re: Send data from gateway(mn) to server(in) [message #1783147 is a reply to message #1783123] Thu, 08 March 2018 14:01 Go to previous messageGo to next message
Jairo  Ariza is currently offline Jairo ArizaFriend
Messages: 9
Registered: March 2018
Junior Member
Yes, I have connected mn-cse (in a Raspberry) to a in-cse(in my laptop) as stated in https://wiki.eclipse.org/OM2M/one/Starting, and now, I want to send the data posted form the IoT device to the mn-cse to the in-cse.
Re: Send data from gateway(mn) to server(in) [message #1783198 is a reply to message #1783147] Fri, 09 March 2018 05:24 Go to previous messageGo to next message
Muhammad Kamran is currently offline Muhammad KamranFriend
Messages: 18
Registered: November 2017
Junior Member
http://localhost:8080/~/MN-CSE/MN-NAME/AE-Name/Container-Name/la
By sending GET request on above URL of in-cse, you shall get latest value of data posted from your IoT device.
Also checkout webpage interface of Om2m in-cse, Click on the "mn-cse" resource to display remote MN-CSE sub-resources and attributes. You can click on the "mn-cse" button of the "link" attribute to connect to the MN-CSE resources tree.
Reference: https://wiki.eclipse.org/OM2M/one/Starting -> MN-CSE startup

Following link will help you out:
https://wiki.eclipse.org/OM2M/one/Web_Interface
Re: Send data from gateway(mn) to server(in) [message #1783818 is a reply to message #1783198] Sun, 18 March 2018 15:39 Go to previous message
Jairo  Ariza is currently offline Jairo ArizaFriend
Messages: 9
Registered: March 2018
Junior Member
Hello.

Thanks for the answer. I have already done this tutorials ( https://wiki.eclipse.org/OM2M/one/Starting and https://wiki.eclipse.org/OM2M/one/Web_Interface). What I want to do is to replicate the data in an app registered in the gateway (like the one implemented in this tutorial https://wiki.eclipse.org/OM2M/one/REST_API) , and this app or many other apps to be discovered in the server and the data to be automatically transmitted (like in a subscription) from the gateway to the server.

Thanks.
Previous Topic:Writing IPU plugins for non ip enabled technologies (Zwave, ZigBee)
Next Topic:Connection Confusion IN-CSE and MN-CSE
Goto Forum:
  


Current Time: Mon Nov 12 17:49:02 GMT 2018

Powered by FUDForum. Page generated in 0.02385 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top