Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » OM2M » 'X-M2M-Origin' header in OM2M(Where can I find 'X-M2M-Origin' header in OM2M?)
'X-M2M-Origin' header in OM2M [message #1867077] Fri, 14 June 2024 07:26 Go to next message
Rohit Kulkarni is currently offline Rohit KulkarniFriend
Messages: 1
Registered: June 2024
Junior Member
Hello,
I am trying to develop an IoT device which will be talking to an oneM2M IN-CSE. I need to implement oneM2M over MQTT. The topic for MQTT is as follows:
/oneM2M/req/<originator>/<target-id>/<serialization-format>
The <originator> is present in 'X-M2M-Origin' header according to the article below:
https://wiki.eclipse.org/OM2M/one/MQTT_Binding
Where can I find this X-M2M-Orign header and the originator?
Re: 'X-M2M-Origin' header in OM2M [message #1867083 is a reply to message #1867077] Fri, 14 June 2024 08:07 Go to previous message
Samir Medjiah is currently offline Samir MedjiahFriend
Messages: 2
Registered: June 2014
Junior Member
Dear Rohit ,

The oneM2M requests that your IoT device will be sending need to have a known "Originator". Typically, it's the name of the AE that represents your device under the CSE's Resource Tree. This name is checked against the control access policies (this implies that an ACP for this AE has been created first).

For example, with default settings, OM2M declares an ACP with full privileges for the originator "admin:admin" (MUST BE modified before going in production).

To sum up; the originator is the name that identifies the sender of the oneM2M requests. For any name that you will want to use, an ACP for this "name" must be created first (with the appropriate privileges)

Hope that will help.

Previous Topic:om2m MQTT Binding Procedure
Goto Forum:
  


Current Time: Mon Oct 07 23:57:10 GMT 2024

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

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

Back to the top