Skip to content

Commit

Permalink
SI version 2.0 has released
Browse files Browse the repository at this point in the history
  • Loading branch information
hubiss committed Feb 10, 2017
1 parent 67a84b9 commit 8fcf742
Show file tree
Hide file tree
Showing 844 changed files with 161,241 additions and 0 deletions.
Binary file added si-onem2m-src/.DS_Store
Binary file not shown.
41 changes: 41 additions & 0 deletions si-onem2m-src/Californium.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#Californium CoAP Properties file
#Thu Jul 28 13:04:39 KST 2016
HTTP_SERVER_SOCKET_BUFFER_SIZE=8192
UDP_CONNECTOR_OUT_CAPACITY=2147483647
CONGESTION_CONTROL_ALGORITHM=Cocoa
USE_CONGESTION_CONTROL=false
ACK_TIMEOUT=2000
NOTIFICATION_CHECK_INTERVAL_COUNT=100
MAX_MESSAGE_SIZE=1024
DEDUPLICATOR=DEDUPLICATOR_MARK_AND_SWEEP
COAP_PORT=5683
ACK_TIMEOUT_SCALE=2.0
PREFERRED_BLOCK_SIZE=512
NETWORK_STAGE_RECEIVER_THREAD_COUNT=1
PROTOCOL_STAGE_THREAD_COUNT=4
MAX_TRANSMIT_WAIT=93000
UDP_CONNECTOR_RECEIVE_BUFFER=0
EXCHANGE_LIFETIME=247000
HTTP_SERVER_SOCKET_TIMEOUT=100000
CROP_ROTATION_PERIOD=2000
UDP_CONNECTOR_DATAGRAM_SIZE=2048
MAX_RETRANSMIT=4
NOTIFICATION_CHECK_INTERVAL=86400000
LEISURE=5000
HTTP_CACHE_RESPONSE_MAX_AGE=86400
BLOCKWISE_STATUS_LIFETIME=600000
UDP_CONNECTOR_SEND_BUFFER=0
HEALTH_STATUS_PRINT_LEVEL=FINEST
NETWORK_STAGE_SENDER_THREAD_COUNT=1
NON_LIFETIME=145000
TOKEN_SIZE_LIMIT=8
HTTP_PORT=8080
MARK_AND_SWEEP_INTERVAL=10000
HEALTH_STATUS_INTERVAL=60
ACK_RANDOM_FACTOR=1.5
NSTART=1
USE_RANDOM_MID_START=true
HTTP_CACHE_SIZE=32
PROBING_RATE=1.0
NOTIFICATION_REREGISTRATION_BACKOFF=2000
COAP_SECURE_PORT=5684
13 changes: 13 additions & 0 deletions si-onem2m-src/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Manifest-Version: 1.0
Main-Class: net.herit.iot.onem2m.incse.InCse
Class-Path: common-lib_db.jar common-lib_http.jar common-message.jar onem2m-core.jar onem2m-resource.jar
./libs/netty-all-4.0.31.Final.jar
./libs/slf4j-api-1.7.12.jar
./libs/mongo-java-driver-3.0.2.jar
./libs/org.eclipse.persistence.antlr_3.2.0.v201302191141.jar
./libs/org.eclipse.persistence.core_2.4.3.v20150713-6e43db3.jar
./libs/org.eclipse.persistence.asm_3.3.1.v201302191223.jar
./libs/org.eclipse.persistence.moxy_2.4.3.v20150713-6e43db3.jar
./libs/joda-time-2.3.jar
./libs/logback-classic-1.1.3.jar
./libs/logback-core-1.1.3.jar
Binary file added si-onem2m-src/certs/keyStore.jks
Binary file not shown.
Binary file added si-onem2m-src/certs/trustStore.jks
Binary file not shown.
Empty file.
130 changes: 130 additions & 0 deletions si-onem2m-src/incse.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
<?xml version="1.0" encoding="UTF-8"?>
<incse>
<database>
<host>localhost</host>
<port>27017</port>
<dbname>IITP-IOT</dbname>
<user></user>
<password></password>
</database>

<binding>
<!-- default binding: http -->
<http>
<!-- <supported>yes</supported> -->
<port>8080</port>
<sec-port>8443</sec-port> <!-- https port -->
<rest-port>8081</rest-port>
<netty>
<boss-threadPool-size>0</boss-threadPool-size>
<worker-threadPool-size>1024</worker-threadPool-size>
</netty>
</http>

<mqtt>
<supported>no</supported> <!-- yes or no -->
<keepalive>1200</keepalive> <!-- seconds -->
<!--
<broker>tcp://iot.eclipse.org:1883</broker>
<broker>ssl://iot.eclipse.org:8883</broker>
-->

<broker>tcp://10.10.0.22:1883</broker>

</mqtt>

<coap>
<supported>yes</supported> <!-- yes or no -->
<port>5683</port>
<sec-port>4433</sec-port> <!-- dtls port -->
</coap>

<websocket>
<supported>no</supported>
<port>8887</port>
</websocket>
</binding>

<cse>
<host>10.10.0.18</host>
<baseName>herit-cse</baseName>
<resourceId>herit-in</resourceId>
<poa>http://10.10.0.18:8080</poa>

<default-resource-expiration-time>3</default-resource-expiration-time> <!-- days -->
<allowed-subgroup-depth>3</allowed-subgroup-depth>
<!--
<host>221.163.165.156</host>
<baseName>herit-cse</baseName>
<resourceId>herit-in</resourceId>
<poa>http://221.163.165.156:8080</poa>
-->
</cse>
<cmdh>
<commandTimeout>10</commandTimeout>
<commandExpireTimerInterval>1</commandExpireTimerInterval>
</cmdh>
<semanticEngine>
<protocol>http</protocol>
<host>10.10.224.241</host>
<port>80</port>
</semanticEngine>

<remoteCSEs>
<!--
<remoteCSE>
<cseId>herit-cse</cseId>
<cseName>herit-in</cseName>
<cseHost>10.10.0.18</cseHost>
<maxTPS>1</maxTPS>
<poa>http://10.10.0.18:8080</poa>
</remoteCSE>
<remoteCSE>
<cseId>/inEtri</cseId>
<cseName>base</cseName>
<cseHost>129.254.85.251</cseHost>
<maxTPS>1</maxTPS>
<poa>http://129.254.85.251:18080</poa>
</remoteCSE>
<remoteCSE>
<cseId>herit-mn1</cseId>
<cseName>herit-cse</cseName>
<cseHost>mn1.onem2m.herit.net</cseHost>
<maxTPS>1</maxTPS>
</remoteCSE>
<remoteCSE>
<cseId>herit-mn2</cseId>
<cseName>herit-cse</cseName>
<cseHost>mn1.onem2m.herit.net</cseHost>
<maxTPS>1</maxTPS>
</remoteCSE>
<remoteCSE>
<cseId>herit-mn3</cseId>
<cseName>herit-cse</cseName>
<cseHost>mn1.onem2m.herit.net</cseHost>
<maxTPS>1</maxTPS>
</remoteCSE>
-->
</remoteCSEs>
<dms>
<hitdm>
<address>http://10.101.101.107:8888</address>
</hitdm>
</dms>
<qos>
<maxPollingSessionNo>-1</maxPollingSessionNo>
<maxAENo>64</maxAENo>
<maxCSENo>300</maxCSENo>
</qos>

<resourcePolicy>
<maxCIPerContainer>50</maxCIPerContainer>
</resourcePolicy>


</incse>

Loading

0 comments on commit 8fcf742

Please sign in to comment.