Skip to content
Snippets Groups Projects
OneM2M_Pixits.ttcn 2.43 KiB
Newer Older
/**
 *  Copyright Notification
 *  No part of this document may be reproduced, in an electronic retrieval system or otherwise, except as authorized by written permission.
 *  The copyright and the foregoing restriction extend to reproduction in all media.
 *  © 2016, oneM2M Partners Type 1 (ARIB, ATIS, CCSA, ETSI, TIA, TSDSI, TTA, TTC).
 *  All rights reserved.
 *  
 *  @author     ETSI
 *  @version    $URL: https://forge.etsi.org/svn/oneM2M/trunk/ttcn/OneM2M_Pixits.ttcn $
 *              $Id: OneM2M_Pixits.ttcn 99 2016-06-09 15:04:43Z reinaortega $
 *  @desc       Module containing Pixits for oneM2M
 *
 */
module OneM2M_Pixits {
	
	import from XSD all;
	import from OneM2M_Types all;
	modulepar boolean PX_DELETE_CREATED_RESOURCES 	:= true;
	modulepar charstring PX_RESOURCE_TO_BE_DELETED 	:= "/ae_test";
	
	modulepar XSD.IDREFS PX_RESOURCES_TO_BE_DELETED := {"/ae_test", "/MyAcp"};
	
	modulepar charstring PX_HOST_ADDRESS 			:= "127.0.0.1:8080";
	modulepar charstring PX_XML_NAMESPACE 			:= "om2m=""http://www.onem2m.org/xml/protocols""";
	modulepar charstring PX_CSE_NAME 				:= "in-cse";
	modulepar charstring PX_URI_CSE 				:= "/~/in-cse";
	modulepar boolean PX_UNSTRUCTURED 				:= false;
	modulepar charstring PX_AE_ID_STEM				:= "admin:admin";
	modulepar charstring PX_APP_ID 					:= "myAppId";
	modulepar boolean PX_RUN_POSTAMBLE 				:= true;
	
	modulepar ListOfURIs PX_ACOR 					:= {"*"};
	modulepar AddressingFormat PX_ADDRESSING_FORMAT := e_cseRelative;
	
	modulepar charstring PX_SERIALIZATION			:= "JSON";
	
	modulepar charstring PX_PROTOCOL_BINDING 		:= "HTTP";
	
	modulepar boolean PX_ACP_SUPPORT 				:= true;
	modulepar charstring PX_CSE_ID 					:= "in-cse";
	modulepar boolean PX_FROM_IS_AE_ID 				:= false;
	//@Martin
	//constant parameters for LOC 
	modulepar LocationSource PX_LOCATION_SOURCE				:= int1;//network-defined 
	modulepar charstring PX_LOCATION_TARGET_ID				:= "{LOCATION-TARGET-ID}"; //SUPPOSE TO BE RECEIVED FROM LOCATION SERVER
	modulepar charstring PX_LOCATION_SERVER_ADDRESS			:= "{LOCATION-SERVER-ADDRESS}";
	modulepar charstring PX_LOCATION_UPDATE_PERIOD			:= "PT10M10S" ;//10 Minute 10 Seconds
	modulepar charstring PX_LOCATION_UPDATE_PERIOD_INVALID 	:= "-PT30M10S" ;//duration set to invalid value  (minus value)
	modulepar charstring PX_LOCATION_CONTAINER_NAME			:= "myLoContainer";
	modulepar Labels LABELS := {"VALUE_1"};