Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "OM2M/Configuration"
< OM2M
(→Configure the NSCL) |
|||
Line 1: | Line 1: | ||
− | == Configure the | + | == Configure the Network SCL == |
* Go to the “om2m/nscl” directory. | * Go to the “om2m/nscl” directory. | ||
* Edit the file “configuration/config.ini” to configure the NSCL. You can keep the current configuration for a local demo. | * Edit the file “configuration/config.ini” to configure the NSCL. You can keep the current configuration for a local demo. | ||
Line 26: | Line 26: | ||
|- | |- | ||
| org.eclipse.om2m.guestRequestingEntity|| Default NSCL guest requesting entity. (username / password)|| guest/guest | | org.eclipse.om2m.guestRequestingEntity|| Default NSCL guest requesting entity. (username / password)|| guest/guest | ||
+ | |} | ||
+ | |||
+ | == Configure the Gateway SCL == | ||
+ | * Go to the “om2m/gscl” directory. | ||
+ | * Edit the file “configuration/config.ini” to configure the GSCL. You can keep the current configuration for a local demo. | ||
+ | {{CTable}} | ||
+ | | Parameter|| Description|| Example | ||
+ | |- | ||
+ | | org.eclipse.om2m.sclType|| SCL type|| GSCL | ||
+ | |- | ||
+ | | org.eclipse.om2m.sclBaseAddress|| GSCL ip address|| 127.0.0.1 | ||
+ | |- | ||
+ | | org.eclipse.equinox.http.jetty.http.port|| GSCL listening port|| 8181 | ||
+ | |- | ||
+ | | org.eclipse.om2m.sclBaseContext|| GSCL listening context|| /om2m | ||
+ | |- | ||
+ | | org.eclipse.om2m.dbFile|| GSCL Embedded database file name|| gscl.db4o | ||
+ | |- | ||
+ | | org.eclipse.om2m.sclBaseId|| Gateway SclBase resource id|| gscl | ||
+ | |- | ||
+ | | org.eclipse.om2m.reset|| Reset GSCL database after each restart|| true | ||
+ | |- | ||
+ | | org.eclipse.om2m.sclBaseProtocol.default|| GSCL default communication protocol|| http | ||
+ | |- | ||
+ | | org.eclipse.om2m.maxNrOfInstances|| Maximum number of instances stored in a ContentInstances resource|| 10 | ||
+ | |- | ||
+ | | org.eclipse.om2m.adminRequestingEntity|| Default GSCL admin requesting entity. (username / password)|| admin/admin | ||
+ | |- | ||
+ | | org.eclipse.om2m.guestRequestingEntity|| Default GSCL guest requesting entity. (username / password)|| guest/guest | ||
|} | |} |
Revision as of 10:48, 18 April 2014
Configure the Network SCL
- Go to the “om2m/nscl” directory.
- Edit the file “configuration/config.ini” to configure the NSCL. You can keep the current configuration for a local demo.
Parameter | Description | Example |
org.eclipse.om2m.sclType | SCL type | NSCL |
org.eclipse.om2m.sclBaseAddress | NSCL ip address | 127.0.0.1 |
org.eclipse.equinox.http.jetty.http.port | NSCL listening port | 8080 |
org.eclipse.om2m.sclBaseContext | NSCL listening context | /om2m |
org.eclipse.om2m.dbFile | NSCL Embedded database file name | nscl.db4o |
org.eclipse.om2m.sclBaseId | Network SclBase resource id | nscl |
org.eclipse.om2m.reset | Reset NSCL database after each restart | true |
org.eclipse.om2m.sclBaseProtocol.default | NSCL default communication protocol | http |
org.eclipse.om2m.maxNrOfInstances | Maximum number of instances stored in a ContentInstances resource | 10 |
org.eclipse.om2m.adminRequestingEntity | Default NSCL admin requesting entity. (username / password) | admin/admin |
org.eclipse.om2m.guestRequestingEntity | Default NSCL guest requesting entity. (username / password) | guest/guest |
Configure the Gateway SCL
- Go to the “om2m/gscl” directory.
- Edit the file “configuration/config.ini” to configure the GSCL. You can keep the current configuration for a local demo.
Parameter | Description | Example |
org.eclipse.om2m.sclType | SCL type | GSCL |
org.eclipse.om2m.sclBaseAddress | GSCL ip address | 127.0.0.1 |
org.eclipse.equinox.http.jetty.http.port | GSCL listening port | 8181 |
org.eclipse.om2m.sclBaseContext | GSCL listening context | /om2m |
org.eclipse.om2m.dbFile | GSCL Embedded database file name | gscl.db4o |
org.eclipse.om2m.sclBaseId | Gateway SclBase resource id | gscl |
org.eclipse.om2m.reset | Reset GSCL database after each restart | true |
org.eclipse.om2m.sclBaseProtocol.default | GSCL default communication protocol | http |
org.eclipse.om2m.maxNrOfInstances | Maximum number of instances stored in a ContentInstances resource | 10 |
org.eclipse.om2m.adminRequestingEntity | Default GSCL admin requesting entity. (username / password) | admin/admin |
org.eclipse.om2m.guestRequestingEntity | Default GSCL guest requesting entity. (username / password) | guest/guest |