Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » OM2M » problem when try to add mn(in Raspberry Pi) in my IN(pc)
problem when try to add mn(in Raspberry Pi) in my IN(pc) [message #1735356] Fri, 17 June 2016 15:28 Go to next message
Can LIU is currently offline Can LIUFriend
Messages: 29
Registered: May 2016
Junior Member
Hello experts,

I start working on OM2M for about 2months and my purpose is to use Raspberry Pi 3 as a MN and my computer as an IN.
After a successful build in both of the two devices.
I am trying to add MN in my IN. but it showed up a error (Name is not permitted). Please see the screenshots below.
At the same time, i tried add MN(using the same pc of IN) in my IN, and it works.
Could you guys help me to walk out of this problem, thank you guys very much.
Re: problem when try to add mn(in Raspberry Pi) in my IN(pc) [message #1735359 is a reply to message #1735356] Fri, 17 June 2016 15:39 Go to previous messageGo to next message
Can LIU is currently offline Can LIUFriend
Messages: 29
Registered: May 2016
Junior Member
Sorry, i forgot to add the file of configuration. here it is. (i just keep the keys informations).

configuration of IN:
log4j.configuration=file\:./log4j.configuration
org.eclipse.equinox.http.jetty.http.port=8080
org.eclipse.om2m.dbReset=true
org.eclipse.om2m.cseBaseContext=/
org.eclipse.om2m.globalContext=

org.eclipse.om2m.cseBaseProtocol.default=http
org.eclipse.om2m.cseBaseName=in-name
org.eclipse.om2m.cseBaseAddress= IP de PC
org.eclipse.om2m.dbUrl=jdbc\:h2\:./database/indb
osgi.framework.extensions=
org.eclipse.om2m.webInterfaceContext=/webpage
osgi.bundles.defaultStartLevel=4
org.eclipse.om2m.dbUser=om2m
osgi.framework=file\:plugins/org.eclipse.osgi_3.10.2.v20150203-1939.jar
org.eclipse.om2m.guestRequestingEntity=guest\:guest
org.eclipse.om2m.cseBaseId=in-cse
org.eclipse.om2m.dbDriver=org.h2.Driver
org.eclipse.om2m.adminRequestingEntity=admin\:admin
org.eclipse.om2m.cseType=IN-CSE
org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
eclipse.p2.data.area=@config.dir/../p2
org.eclipse.om2m.resource.idseparator=-
org.eclipse.om2m.coap.port=5683
org.eclipse.om2m.dbPassword=om2m
org.eclipse.om2m.m2mSpId=om2m.org
===============================================================

configuration of MN:

org.eclipse.om2m.remoteCseId=in-cse
log4j.configuration=file\:./log4j.configuration
org.eclipse.equinox.http.jetty.http.port=8282
org.eclipse.om2m.dbReset=true
org.eclipse.om2m.remoteCsePort=8080
org.eclipse.om2m.cseBaseContext=/
org.eclipse.om2m.globalContext=
org.eclipse.om2m.cseBaseProtocol.default=http
org.eclipse.om2m.cseBaseName=mn-name
org.eclipse.om2m.cseBaseAddress=Ip de Raspberry Pi
eclipse.p2.profile=DefaultProfile
org.eclipse.om2m.dbUrl=jdbc\:h2\:./database/mndb
osgi.framework.extensions=
org.eclipse.om2m.webInterfaceContext=/webpage
osgi.bundles.defaultStartLevel=4
org.eclipse.om2m.dbUser=om2m
org.eclipse.om2m.maxNrOfInstances=1000
osgi.framework=file\:plugins/org.eclipse.osgi_3.10.2.v20150203-1939.jar
org.eclipse.om2m.guestRequestingEntity=guest\:guest
org.eclipse.om2m.remoteCseName=in-name
org.eclipse.om2m.cseBaseId=mn-cse
org.eclipse.om2m.remoteCseContext=/
org.eclipse.om2m.dbDriver=org.h2.Driver
org.eclipse.om2m.remoteCseAddress=IP de PC
org.eclipse.om2m.adminRequestingEntity=admin\:admin
org.eclipse.om2m.cseType=MN
org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
org.eclipse.om2m.cseAuthentication=true
eclipse.p2.data.area=@config.dir/../p2
org.eclipse.om2m.coap.port=5684
org.eclipse.om2m.dbPassword=om2m

Re: problem when try to add mn(in Raspberry Pi) in my IN(pc) [message #1735892 is a reply to message #1735356] Thu, 23 June 2016 12:57 Go to previous messageGo to next message
Guillaume Garzone is currently offline Guillaume GarzoneFriend
Messages: 38
Registered: April 2015
Member
Hello,

First of all, I would like to ensure that you use the latest version of our code. Could you please try to pull the master branch of OM2M?
The oneM2M standard published an intermediary release recently and we implemented it. This could solve this error.

Regards,
Guillaume
Re: problem when try to add mn(in Raspberry Pi) in my IN(pc) [message #1735912 is a reply to message #1735892] Thu, 23 June 2016 14:23 Go to previous message
Can LIU is currently offline Can LIUFriend
Messages: 29
Registered: May 2016
Junior Member
Hello, guillaume

Thank you very much, i saw that there is a bug which is already fixed about this error, after build the latest release of OM2M, i solved this error. Smile

Best Regards
Can
Previous Topic:Documentation about the M2M Topics
Next Topic:The rule to name the resource?
Goto Forum:
  


Current Time: Thu Sep 20 11:16:56 GMT 2018

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

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

Back to the top